'---------------
#org 0x169B16
lock
faceplayer
setvar 0x4001 0x0
setvar 0x4002 0x1
setvar 0x4003 0x4
setvar 0x4004 0x7
compare 0x4055 0x3
if 0x4 goto 0x8169D4F
compare 0x4055 0x2
if 0x1 goto 0x8169B4C
msgbox 0x8190F9C MSG_KEEPOPEN '"Dies hier sind POKéBÄLLE.\nSie ent..."
release
end
'---------------
#org 0x169D4F
msgbox 0x8190FCD MSG_KEEPOPEN '"Das ist PROF. EICHs letztes\nPOKéM..."
release
end
'---------------
#org 0x169B4C
applymovement 0x4 0x81AA421
waitmovement 0x0
showpokepic 0x4002 0xA 0x3
textcolor 0x0
compare 0x4001 0x0
if 0x1 goto 0x8169B7F
compare 0x4001 0x1
if 0x1 goto 0x8169B9E
compare 0x4001 0x2
if 0x1 goto 0x8169BBD
end
'---------------
#org 0x169B7F
msgbox 0x81907B3 MSG_YESNO '"Ah! BISASAM soll es sein!\nEs ist ..."
compare LASTRESULT 0x1
if 0x1 goto 0x8169BDF
compare LASTRESULT 0x0
if 0x1 goto 0x8169BDC
end
'---------------
#org 0x169B9E
msgbox 0x819074E MSG_YESNO '"Ah! SCHIGGY soll es sein!\nEs ist ..."
compare LASTRESULT 0x1
if 0x1 goto 0x8169BDF
compare LASTRESULT 0x0
if 0x1 goto 0x8169BDC
end
'---------------
#org 0x169BBD
msgbox 0x81906EB MSG_YESNO '"Ah! GLUMANDA soll es sein!\nTraini..."
compare LASTRESULT 0x1
if 0x1 goto 0x8169BDF
compare LASTRESULT 0x0
if 0x1 goto 0x8169BDC
end
'---------------
#org 0x169BDF
hidepokepic
hidesprite LASTTALKED
msgbox 0x819081D MSG_KEEPOPEN '"Dieses POKéMON ist wirklich\nenerg..."
call 0x81A9526
setflag 0x828
setflag 0x291
givepokemon 0x4002 0x5 0x0 0x0 0x0 0x0
copyvar 0x4031 0x4001
bufferpokemon 0x0 0x4002
preparemsg 0x8190849 '"[player] erhält\n[buffer1]!"
waitmsg
fanfare 0x13E
waitfanfare
msgbox 0x81A83AE MSG_YESNO '"Möchtest du [buffer1] einen\nSpitz..."
compare LASTRESULT 0x1
if 0x1 goto 0x8169C37
compare LASTRESULT 0x0
if 0x1 goto 0x8169C47
end
'---------------
#org 0x169BDC
hidepokepic
release
end
'---------------
#org 0x1A9526
copyvar 0x8012 0x8013
return
'---------------
#org 0x169C37
setvar 0x8004 0x0
call 0x81AA31D
goto 0x8169C47
'---------------
#org 0x169C47
closeonkeypress
compare 0x4001 0x0
if 0x1 goto 0x8169C6A
compare 0x4001 0x1
if 0x1 goto 0x8169C8A
compare 0x4001 0x2
if 0x1 goto 0x8169C7A
end
'---------------
#org 0x1AA31D
fadescreen 0x1
special 0x9E
waitstate
return
'---------------
#org 0x169C6A
applymovement 0x8 0x8169CCD
waitmovement 0x0
goto 0x8169C9A
'---------------
#org 0x169C8A
applymovement 0x8 0x8169CDD
waitmovement 0x0
goto 0x8169C9A
'---------------
#org 0x169C7A
applymovement 0x8 0x8169CD6
waitmovement 0x0
goto 0x8169C9A
'---------------
#org 0x169C9A
textcolor 0x0
msgbox 0x819027A MSG_KEEPOPEN '"[rival]: Ich nehme dieses hier."
hidesprite 0x4004
textcolor 0x3
bufferpokemon 0x0 0x4003
preparemsg 0x8190295 '"[rival] erhält\n[buffer1]!"
waitmsg
fanfare 0x13E
waitfanfare
setvar 0x4055 0x3
checkflag 0x83E
if 0x1 call 0x8169CC7
release
end
'---------------
#org 0x169CC7
setvar 0x4070 0x1
return
'---------
' Strings
'---------
#org 0x190F9C
= Dies hier sind POKéBÄLLE.\nSie enthalten POKéMON!
#org 0x190FCD
= Das ist PROF. EICHs letztes\nPOKéMON!
#org 0x1907B3
= Ah! BISASAM soll es sein!\nEs ist leicht zu trainieren!\p[player], du möchtest also das\nPFLANZEN-POKéMON BISASAM?
#org 0x19074E
= Ah! SCHIGGY soll es sein!\nEs ist das Training wert!\p[player], du möchtest also das\nWASSER-POKéMON SCHIGGY?
#org 0x1906EB
= Ah! GLUMANDA soll es sein!\nTrainiere es geduldig!\p[player], du möchtest also das\nFEUER-POKéMON GLUMANDA?
#org 0x19081D
= Dieses POKéMON ist wirklich\nenergiegeladen!
#org 0x190849
= [player] erhält\n[buffer1]!
#org 0x1A83AE
= Möchtest du [buffer1] einen\nSpitznamen geben?
#org 0x19027A
= [rival]: Ich nehme dieses hier.
#org 0x190295
= [rival] erhält\n[buffer1]!
'-----------
' Movements
'-----------
#org 0x1AA421
#raw 0x3 'Face Right
#raw 0xFE 'End of Movements
#org 0x169CCD
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements
#org 0x169CDD
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x2E 'Face Up (Delayed)
#raw 0xFE 'End of Movements
#org 0x169CD6
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x2E 'Face Up (Delayed)
#raw 0xFE 'End of Movements