#org 0x87415F4
'-----------------------------------
lock
checkflag 0x255
if true jump 0x874169D ' Flag is set
msgbox 0x874172F ' Whoa... look what is...
callstd MSG_LOCK ' Built-in lock command
applymovement PLAYER 0x874178B ' say_!! run_left run_...
applymovement 0x1 0x8741791 ' walk_left walk_left ...
applymovement 0x4 0x8741794 ' walk_left walk_left ...
msgbox 0x8741798 ' Grunt: Come here lit...
callstd MSG_LOCK ' Built-in lock command
applymovement PLAYER 0x8741801 ' run_left run_left ru...
applymovement 0x1 0x8741805 ' look_right end
msgbox 0x8741807 ' Hey you, stop hurtin...
callstd MSG_LOCK ' Built-in lock command
trainerbattle 0x0 0x15F 0x0 0x874169F 0x87416B3
msgbox 0x87416C3 ' You haven't seen the...
callstd MSG_LOCK ' Built-in lock command
applymovement 0x1 0x87418CF ' run_up run_up run_up...
disappear 0x1
setflag 0x255
applymovement 0x4 0x87418DA ' walk_right walk_righ...
msgbox 0x87418DD ' It looks like this P...
callstd MSG_LOCK ' Built-in lock command
disappear 0x4
setflag 0x256
countpokemon
compare LASTRESULT 0x6
if == jump 0x87416ED ' Equal To
addpokemon PIDGEY 5 NONE 0x0 0x0 0x0
storepokemon 0x0 PIDGEY
message 0x8741721 ' You got a \v\h02!
fanfare 0x101
showmsg
waitfanfare
waitbutton
release
end
#org 0x874169D
'-----------------------------------
release
end
#org 0x87416ED
'-----------------------------------
msgbox 0x87416F7 ' You don't have enoug...
callstd MSG_NOCLOSE ' Non-closing message
release
' Release commands close any open messages
end
#org 0x874172F
= Whoa... look what is going on!\nThat man is trying to hurt that\lPokemon. I must go and help!
#org 0x8741798
= Grunt: Come here little Pokemon,\nI'm not going to hurt you. The\lboss wants you to be happy. Come\lhere...
#org 0x8741807
= Hey you, stop hurting that\nPokemon!\lGrunt: Well what do we have here,\la little runt and his Pokemon. My\lboss told me to get a Pokemon, so\lI'm going to get one. There is\lnothing you can do to stop me!
#org 0x874169F
= I will crush you!!!
#org 0x87416B3
= You crushed me[.]
#org 0x87416C3
= You haven't seen the last of me!
#org 0x87418DD
= It looks like this Pokemon wants\nto come with you. Well, I did save\lit, so welcome aboard.
#org 0x8741721
= You got a \v\h02!
#org 0x87416F7
= You don't have enough room in your party.
#org 0x874178B
M say_!! run_left run_left run_left run_left end
#org 0x8741791
M walk_left walk_left end
#org 0x8741794
M walk_left walk_left look_right end
#org 0x8741801
M run_left run_left run_left end
#org 0x8741805
M look_right end
#org 0x87418CF
M run_up run_up run_up run_up run_up run_left run_left run_left run_left run_left end
#org 0x87418DA
M walk_right walk_right end