From d53881a0d43a3592ead913241fd37b89f7c15a06 Mon Sep 17 00:00:00 2001 From: surskitty Date: Mon, 15 Jan 2018 21:39:07 -0500 Subject: [PATCH] Picnicker Erin labels --- maps/Route46.asm | 72 ++++++++++++++++++++++++------------------------ 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/maps/Route46.asm b/maps/Route46.asm index 36dad82d3..48eaf36b1 100644 --- a/maps/Route46.asm +++ b/maps/Route46.asm @@ -32,29 +32,29 @@ TrainerPicnickerErin1: end_if_just_battled opentext checkflag ENGINE_ERIN - iftrue UnknownScript_0x1a96da + iftrue ErinWantsBattle checkcellnum PHONE_PICNICKER_ERIN - iftrue UnknownScript_0x1a975b + iftrue NumberAcceptedF checkevent EVENT_ERIN_ASKED_FOR_PHONE_NUMBER - iftrue UnknownScript_0x1a96c3 - writetext UnknownText_0x1a98c6 + iftrue .AskedAlready + writetext PicnickerErinAfterBattleText buttonsound setevent EVENT_ERIN_ASKED_FOR_PHONE_NUMBER - scall UnknownScript_0x1a974f - jump UnknownScript_0x1a96c6 + scall AskNumber1F + jump .AskForNumber -UnknownScript_0x1a96c3: - scall UnknownScript_0x1a9753 -UnknownScript_0x1a96c6: +.AskedAlready: + scall AskNumber2F +.AskForNumber: askforphonenumber PHONE_PICNICKER_ERIN - if_equal $1, UnknownScript_0x1a9763 - if_equal $2, UnknownScript_0x1a975f + if_equal $1, PhoneFullF + if_equal $2, NumberDeclinedF trainertotext PICNICKER, ERIN1, $0 - scall UnknownScript_0x1a9757 - jump UnknownScript_0x1a975b + scall RegisteredNumberF + jump NumberAcceptedF -UnknownScript_0x1a96da: - scall UnknownScript_0x1a9767 +ErinWantsBattle: + scall RematchF winlosstext PicnickerErin1BeatenText, 0 copybytetovar wErinFightCount if_equal 2, .Fight2 @@ -88,62 +88,62 @@ UnknownScript_0x1a96da: reloadmapafterbattle clearflag ENGINE_ERIN checkevent EVENT_ERIN_CALCIUM - iftrue UnknownScript_0x1a973b + iftrue .HasCalcium checkevent EVENT_GOT_CALCIUM_FROM_ERIN - iftrue UnknownScript_0x1a973a - scall UnknownScript_0x1a9772 + iftrue .GotCalciumAlready + scall RematchGiftF verbosegiveitem CALCIUM - iffalse UnknownScript_0x1a976b + iffalse ErinNoRoomForCalcium setevent EVENT_GOT_CALCIUM_FROM_ERIN - jump UnknownScript_0x1a975b + jump NumberAcceptedF -UnknownScript_0x1a973a: +.GotCalciumAlready: end -UnknownScript_0x1a973b: +.HasCalcium: opentext - writetext UnknownText_0x1a9927 + writetext PicnickerErin2BeatenText waitbutton verbosegiveitem CALCIUM - iffalse UnknownScript_0x1a976b + iffalse ErinNoRoomForCalcium clearevent EVENT_ERIN_CALCIUM setevent EVENT_GOT_CALCIUM_FROM_ERIN - jump UnknownScript_0x1a975b + jump NumberAcceptedF -UnknownScript_0x1a974f: +AskNumber1F: jumpstd asknumber1f end -UnknownScript_0x1a9753: +AskNumber2F: jumpstd asknumber2f end -UnknownScript_0x1a9757: +RegisteredNumberF: jumpstd registerednumberf end -UnknownScript_0x1a975b: +NumberAcceptedF: jumpstd numberacceptedf end -UnknownScript_0x1a975f: +NumberDeclinedF: jumpstd numberdeclinedf end -UnknownScript_0x1a9763: +PhoneFullF: jumpstd phonefullf end -UnknownScript_0x1a9767: +RematchF: jumpstd rematchf end -UnknownScript_0x1a976b: +ErinNoRoomForCalcium: setevent EVENT_ERIN_CALCIUM jumpstd packfullf end -UnknownScript_0x1a9772: +RematchGiftF: jumpstd rematchgiftf end @@ -219,7 +219,7 @@ PicnickerErin1BeatenText: text "Oh, rats!" done -UnknownText_0x1a98c6: +PicnickerErinAfterBattleText: text "I've been to many" line "GYMS, but the GYM" @@ -230,7 +230,7 @@ UnknownText_0x1a98c6: line "pretty flowers!" done -UnknownText_0x1a9927: +PicnickerErin2BeatenText: text "Aww… I keep losing" line "all the time!"