View Single Post
Old January 18th, 2012 (5:21 PM).
Alignment's Avatar
Alignment Alignment is offline
Revered with the stars
Join Date: Mar 2010
Gender: Male
Nature: Lonely
Posts: 308
Originally Posted by JonathonPetruk View Post
could i get some help with this script.
im using fire red rom, XSE and amap

#dynamic 0x2DD100

#org @start
checkflag 0x1209
if 0x1 goto @done
applymovement 0x04 @move
msgbox @talk 0x6ile
setflag 0x1209

#org @move
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

#org @talk
= Gary rushed off so quick i\ncouldn't give him his pokedex!\lCould you please go get Gary for\lme?

#org @dex
= Thank you! Gary, you rushed off so\nfast i couldn't give you your'e\lpokedex!

#org @done
checkflag 0x1207
if 0x1 goto @dex
if 0x1 setflag 0x829

a little explanation.. after you get ur first pokemon and after the battle u try to go out and oak comes down telling you to go get gary. so i step on the tile and nothing happens. i want to make it so that after you get gary from this place you go back to oaks lab and he gives you the pokedex. help please
After applymovement you need waitmovement. Other than that there doesn't seem to be any other errors, most likely you have the script var value/number messed up in A-map. Double check that.

My question is kinda silly, but after I set a tile through a script how do I make it update the map immediately. So far I have
fadescreen 0x1
setmaptile 0x14 0x1A 0x358 0x0
fadescreen 0x0
but that didn't work out :/