'-----------------------
#org 0x1EC3C1
lockall
checkgender
compare LASTRESULT 0x0
if 0x1 goto 0x81EC3DA
compare LASTRESULT 0x1
if 0x1 goto 0x81EC434
end
'-----------------------
#org 0x1EC3DA
msgbox 0x81EC7A6 '"MAY: Let's see[.] The POKéMON found..."
callstd 0x4
closeonkeypress
playsong 0x19F 0x1
applymovement 0x2 0x827259E
waitmovement 0x0
applymovement 0x2 0x8272598
waitmovement 0x0
applymovement 0x2 0x827259A
waitmovement 0x0
msgbox 0x81EC7DE '"Oh, hi, [player]\v\h05!\p[.]Oh, I s..."
callstd 0x4
copyvar 0x8000 0x4023
compare 0x8000 0x0
if 0x1 goto 0x81EC48E
compare 0x8000 0x1
if 0x1 goto 0x81EC49E
compare 0x8000 0x2
if 0x1 goto 0x81EC4AE
end
'-----------------------
#org 0x1EC434
msgbox 0x81EC989 '"BRENDAN: Okay, so it's this one and..."
callstd 0x4
closeonkeypress
playsong 0x1A5 0x1
applymovement 0x2 0x827259E
waitmovement 0x0
applymovement 0x2 0x8272598
waitmovement 0x0
applymovement 0x2 0x827259A
waitmovement 0x0
msgbox 0x81EC9CE '"Hey, it's [player]!\p[.]Oh, yeah, D..."
callstd 0x4
copyvar 0x8000 0x4023
compare 0x8000 0x0
if 0x1 goto 0x81EC4BE
compare 0x8000 0x1
if 0x1 goto 0x81EC4CE
compare 0x8000 0x2
if 0x1 goto 0x81EC4DE
end
'-----------------------
#org 0x1EC48E
trainerbattle 0x3 0x214 0x0 0x81EC881
goto 0x81EC4EE
end
'-----------------------
#org 0x1EC49E
trainerbattle 0x3 0x217 0x0 0x81EC881
goto 0x81EC4EE
end
'-----------------------
#org 0x1EC4AE
trainerbattle 0x3 0x211 0x0 0x81EC881
goto 0x81EC4EE
end
'-----------------------
#org 0x1EC4BE
trainerbattle 0x3 0x20B 0x0 0x81ECA59
goto 0x81EC4FC
end
'-----------------------
#org 0x1EC4CE
trainerbattle 0x3 0x20E 0x0 0x81ECA59
goto 0x81EC4FC
end
'-----------------------
#org 0x1EC4DE
trainerbattle 0x3 0x208 0x0 0x81ECA59
goto 0x81EC4FC
end
'-----------------------
#org 0x1EC4EE
msgbox 0x81EC8AE '"MAY: I think I know why my dad has\..."
callstd 0x4
goto 0x81EC50A
end
'-----------------------
#org 0x1EC4FC
msgbox 0x81ECA79 '"BRENDAN: I think I get it.\nI think..."
callstd 0x4
goto 0x81EC50A
end
'-----------------------
#org 0x1EC50A
closeonkeypress
copyvar 0x8000 PLAYERFACING
compare 0x8000 0x1
if 0x1 goto 0x81EC585
compare 0x8000 0x2
if 0x1 goto 0x81EC53D
compare 0x8000 0x3
if 0x1 goto 0x81EC561
compare 0x8000 0x4
if 0x1 goto 0x81EC561
end
'-----------------------
#org 0x1EC585
applymovement 0x2 0x81EC5CE
waitmovement 0x0
sound 0xA
applymovement 0x2 0x81EC5D0
waitmovement 0x0
goto 0x81EC5A2
end
'-----------------------
#org 0x1EC53D
applymovement MOVE_PLAYER 0x81EC5C8
applymovement 0x2 0x81EC5BE
waitmovement 0x0
sound 0xA
applymovement 0x2 0x81EC5C1
waitmovement 0x0
goto 0x81EC5A2
end
'-----------------------
#org 0x1EC561
applymovement MOVE_PLAYER 0x81EC5D6
applymovement 0x2 0x81EC5CE
waitmovement 0x0
sound 0xA
applymovement 0x2 0x81EC5D0
waitmovement 0x0
goto 0x81EC5A2
end
'-----------------------
#org 0x1EC5A2
hidesprite 0x2
setvar 0x4084 0x4
clearflag 0x379
setflag 0x82
setvar 0x40C7 0x1
clearflag 0x3D3
playsong2 0x0
fadedefault
releaseall
end
'-----------
' Movements
'-----------
#org 0x27259E
#raw 3E 'Face Player
#raw FE 'End of Movements
#org 0x272598
#raw 56 'Exclamation Mark (!)
#raw FE 'End of Movements
#org 0x27259A
#raw 14 'Delay5
#raw 14 'Delay5
#raw 14 'Delay5
#raw FE 'End of Movements
#org 0x1EC5CE
#raw 8 'Step Down (Normal)
#raw FE 'End of Movements
#org 0x1EC5D0
#raw C 'Jump2 Down
#raw 14 'Delay5
#raw 8 'Step Down (Normal)
#raw 8 'Step Down (Normal)
#raw 8 'Step Down (Normal)
#raw FE 'End of Movements
#org 0x1EC5C8
#raw 14 'Delay5
#raw 12 'Delay3
#raw 27 'Step on the Spot Left (Fastest)
#raw 14 'Delay5
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements
#org 0x1EC5BE
#raw A 'Step Left (Normal)
#raw 8 'Step Down (Normal)
#raw FE 'End of Movements
#org 0x1EC5C1
#raw C 'Jump2 Down
#raw 14 'Delay5
#raw 8 'Step Down (Normal)
#raw 8 'Step Down (Normal)
#raw 8 'Step Down (Normal)
#raw 8 'Step Down (Normal)
#raw FE 'End of Movements
#org 0x1EC5D6
#raw 14 'Delay5
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements
'---------
' Strings
'---------
#org 0x1EC7A6
= MAY: Let's see[.] The POKéMON found\non ROUTE 103 include[.]
#org 0x1EC7DE
= Oh, hi, [player]\v\h05!\p[.]Oh, I see, my dad gave you\na POKéMON as a gift.\pSince we're here, let's have a quick\nbattle!\pI'll give you a taste of what being\na TRAINER is like.
#org 0x1EC989
= BRENDAN: Okay, so it's this one and\nthat one that live on ROUTE 103[.]
#org 0x1EC9CE
= Hey, it's [player]!\p[.]Oh, yeah, Dad gave you a POKéMON.\pSince we're here, how about a little\nbattle?\pI'll teach you what being a TRAINER's\nabout!
#org 0x1EC881
= Wow! That's great!\n[player]\v\h05, you're pretty good!
#org 0x1ECA59
= Huh, [player], you're not too shabby.
#org 0x1EC8AE
= MAY: I think I know why my dad has\nan eye out for you now.\pI mean, you just got that POKéMON,\nbut it already likes you.\pYou might be able to befriend any\nkind of POKéMON easily.\pWell, it's time to head back to\nthe LAB.
#org 0x1ECA79
= BRENDAN: I think I get it.\nI think I know why my dad has his eye\lout for you now.\pLook, your POKéMON already likes you,\neven though you just got it.\p[player], I get the feeling that you\ncould befriend any POKéMON with ease.\pWe should head back to the LAB.