I have a question.
I made this code to stop the player from continuing without a pokedex in pokemon Ruby.
This happens when he is standing on a certain tile. I've changed the var number to 4050 in a-map and I tried the unknown to 300, but there only fit 2 numbers, but when I look at other script tiles with applymovement, they use var value 0003, so I did that too, but my script will not activate on the tile. Here is my code:
Code:
#dynamic 0x800000
#org @start
checkflag 0x801
if 0x1 goto @done
msgbox @1 0x6
applymovement 0x07 @move1
waitmovement 0x0
msgbox @2 0x6
applymovement 0xFF @move2
applymovement 0x07 @move3
waitmovement 0x0
msgbox @3 0x6
applymovement 0x07 @move4
waitmovement 0x0
release
end
#org @done
release
end
#org @move1
#raw 0x0A
#raw 0x0A
#raw 0xFE
#org @move2
#raw 0x09
#raw 0x00
#raw 0xFE
#org @move3
#raw 0x0A
#raw 0x01
#raw 0xFE
#org @move4
#raw 0x0B
#raw 0x0B
#raw 0x0B
#raw 0x02
#raw 0xFE
#org @1
= Waaaaaaaaaaiiiiit!!!!!
#org @2
= You cannot go there
#org @3
= Get a pokedex first
If anyone could help me, that'd be great