- 100
- Posts
- 2
- Years
- Seen Sep 5, 2023
Hi, everyone. I am completely new to this, but I'm making a Pokémon hack and tried to follow the massive XSE tutorial to, using applymovement, make a boat ride, but I can't get it to work. Can anyone explain how I would go about it?
I will edit this because I keep getting different issues. NOW, the issue is that I am apparently on the boat, but the boat itself isn't moving. And the captain isn't moving with the boat, or for that matter hiding.
Thanks in advance!
Code:
#dynamic 0x800100
#org @start
lock
faceplayer
msgbox @1 0x6
compare 0x800D 0x1
if 0x1 goto @check
msgbox @2 0x6
release
end
#org @check
checkitem 0x16F 0x1
compare 0x800D 0x1
if 0x4 goto @ticket
msgbox @3 0x6
release
end
#org @1
= Hi! Would you like to take the \nboat to CRESCENT HARBOR?
#org @2
= Okay! I'll be here when you \nchange your mind.
#org @3
= Oops! You don't have a ticket! \nMaybe you forgot it at home.
#org @ticket
msgbox @4 0x4
closeonkeypress
hidesprite 0xFF
hidesprite 0x03
playsong 0x130 0x0
applymovement 0xFF @trip
applymovement 0x02 @boat
applymovement 0x03 @trip
waitmovement 0xFF
waitmovement 0x02
waitmovement 0x03
showsprite 0xFF
showsprite 0x03
release
end
#org @4
= Very well then! All aboard!
#org @trip
#raw 0x11
#raw 0x20
#raw 0x10
#raw 0xFE
#org @boat
#raw 0x18
#raw 0x20
#raw 0xFE
I will edit this because I keep getting different issues. NOW, the issue is that I am apparently on the boat, but the boat itself isn't moving. And the captain isn't moving with the boat, or for that matter hiding.
Thanks in advance!
Last edited: