- 9
- Posts
- 13
- Years
- UK
- Seen Mar 16, 2018
My script can be found in the spoiler below. The problem is that once the player stands on the script tile the THUD text appears but then nothing else happens. Thanks in advance!
Movement character codes
0x2 is the professor
0x3 is a pokeball
0x4 is the professors assistant
0xff should be the character (or have i gotten that wrong?)
'---------------
#org 0x80173F
checkflag 0x828
if 0x1 goto 0x88017DA
applymovement 0x2 0x88017DC
waitmovement 0x0
msgbox 0x88017E6 MSG_FACE '"[black_fr]THUD!!!!"
applymovement MOVE_PLAYER 0x88017F4
waitmovement 0x0
lock
applymovement 0x3 0x8801802
waitmovement 0x0
applymovement 0x2 0x88017F6
waitmovement 0x0
hidesprite 0x2
givepokemon 0x85 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x8801804 MSG_NORMAL '"[player] picked up the Pok?ball!\p..."
waitfanfare
closeonkeypress
setflag 0x828
hidesprite 0x3
msgbox 0x8801834 MSG_YESNO '"[black_fr]Would you like to give E..."
compare LASTRESULT 0x1
if 0x1 call 0x88017D3
applymovement 0x4 0x88017DC
waitmovement 0x0
msgbox 0x8801862 MSG_FACE '"[blue_fr]Assistant: Sorry about th..."
applymovement 0x4 0x88019F6
hidesprite 0x4
setflag 0x828
release
end
'---------------
#org 0x8017DA
end
'---------------
#org 0x8017D3
call 0x81A74EB
return
'---------------
#org 0x1A74EB
fadescreen 0x1
special 0x9E
waitstate
return
'---------
' Strings
'---------
#org 0x8017E6
= [black_fr]THUD!!!!
#org 0x801804
= [player] picked up the Pok?ball!\p[player] obtained EEVEE!
#org 0x801834
= [black_fr]Would you like to give EEVEE a\nnickname?
#org 0x801862
= [blue_fr]Assistant: Sorry about that!\nProfessor Thornberry is on an\lurgent call in Herba City.\p[black_fr][player]: I saw he was in a\nrush, he dropped this Pok?ball!\p[blue_fr]Assistant: That contains the\nEEVEE he recently received from\lBILL, would you be able to take it\lto him?\p[black_fr][player]: Sure, Herba City here\nI come!\p[blue_fr]Assistant: If you need\nanything make sure to come and see\lme at the Professors lab at the\lnorth of the town!
'-----------
' Movements
'-----------
#org 0x8017DC
#raw 0x3 'Face Right
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0xFE 'End of Movements
#org 0x8017F4
#raw 0x2 'Face Left
#org 0x801802
#raw 0x61 'Show
#org 0x8017F6
#raw 0x0 'Face Down
#raw 0x1D 'Step Down (Fast)
#raw 0x3 'Face Right
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0xFE 'End of Movements
#org 0x8019F6
#raw 0x2 'Face Left
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
Movement character codes
0x2 is the professor
0x3 is a pokeball
0x4 is the professors assistant
0xff should be the character (or have i gotten that wrong?)
Spoiler:
'---------------
#org 0x80173F
checkflag 0x828
if 0x1 goto 0x88017DA
applymovement 0x2 0x88017DC
waitmovement 0x0
msgbox 0x88017E6 MSG_FACE '"[black_fr]THUD!!!!"
applymovement MOVE_PLAYER 0x88017F4
waitmovement 0x0
lock
applymovement 0x3 0x8801802
waitmovement 0x0
applymovement 0x2 0x88017F6
waitmovement 0x0
hidesprite 0x2
givepokemon 0x85 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x8801804 MSG_NORMAL '"[player] picked up the Pok?ball!\p..."
waitfanfare
closeonkeypress
setflag 0x828
hidesprite 0x3
msgbox 0x8801834 MSG_YESNO '"[black_fr]Would you like to give E..."
compare LASTRESULT 0x1
if 0x1 call 0x88017D3
applymovement 0x4 0x88017DC
waitmovement 0x0
msgbox 0x8801862 MSG_FACE '"[blue_fr]Assistant: Sorry about th..."
applymovement 0x4 0x88019F6
hidesprite 0x4
setflag 0x828
release
end
'---------------
#org 0x8017DA
end
'---------------
#org 0x8017D3
call 0x81A74EB
return
'---------------
#org 0x1A74EB
fadescreen 0x1
special 0x9E
waitstate
return
'---------
' Strings
'---------
#org 0x8017E6
= [black_fr]THUD!!!!
#org 0x801804
= [player] picked up the Pok?ball!\p[player] obtained EEVEE!
#org 0x801834
= [black_fr]Would you like to give EEVEE a\nnickname?
#org 0x801862
= [blue_fr]Assistant: Sorry about that!\nProfessor Thornberry is on an\lurgent call in Herba City.\p[black_fr][player]: I saw he was in a\nrush, he dropped this Pok?ball!\p[blue_fr]Assistant: That contains the\nEEVEE he recently received from\lBILL, would you be able to take it\lto him?\p[black_fr][player]: Sure, Herba City here\nI come!\p[blue_fr]Assistant: If you need\nanything make sure to come and see\lme at the Professors lab at the\lnorth of the town!
'-----------
' Movements
'-----------
#org 0x8017DC
#raw 0x3 'Face Right
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0xFE 'End of Movements
#org 0x8017F4
#raw 0x2 'Face Left
#org 0x801802
#raw 0x61 'Show
#org 0x8017F6
#raw 0x0 'Face Down
#raw 0x1D 'Step Down (Fast)
#raw 0x3 'Face Right
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0xFE 'End of Movements
#org 0x8019F6
#raw 0x2 'Face Left
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
Last edited: