ref: d53881a0d43a3592ead913241fd37b89f7c15a06
parent: e8d651b79af1bed30c75022a06b314d3145f26b2
author: surskitty <surskitty@gmail.com>
date: Mon Jan 15 16:39:07 EST 2018
Picnicker Erin labels
--- a/maps/Route46.asm
+++ b/maps/Route46.asm
@@ -32,29 +32,29 @@
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 @@
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 @@
text "Oh, rats!"
done
-UnknownText_0x1a98c6:
+PicnickerErinAfterBattleText:
text "I've been to many"
line "GYMS, but the GYM"
@@ -230,7 +230,7 @@
line "pretty flowers!"
done
-UnknownText_0x1a9927:
+PicnickerErin2BeatenText:
text "Aww… I keep losing"
line "all the time!"