View Single Post
Old January 16th, 2009 (7:50 AM).
Andryandrew Andryandrew is offline
Italian Asm Hacker
Join Date: Mar 2007
Age: 23
Nature: Timid
Posts: 117
Originally Posted by Teruri View Post
Game: Fire Red
Type: Map Script (the one you set in a-map) guess it's called level script here
Editor: XSE
#org 0x8011E6
checkflag 0x3E9
if 0x1 goto 0x88011F1

#org 0x8011F1
movesprite 0x4 0x9 0xE
spritebehave 0x4 0x3
movesprite 0x1 0xA 0xC
spritebehave 0x1 0x3
movesprite 0x2 0x21 0xA
spritebehave 0x2 0x3
movesprite 0x3 0x22 0xA
spritebehave 0x3 0x3

What this should do is: after a certain event move the 4 person's blocking the road to certain spots on the map. However: the sprites won't move.
If I add setflag after the movesprite and enter the flag number in a map (like you do with hidesprite), the sprites dissapears.

What should I do to make the sprite move?
I'm not sure but for my experience i notice that applymovement and movesprite won't work if the people are in a range of two tiles over the screen

Sorry for my bad English... I'm Italian
Anybody that is a GBA ASM hacker is cool!
I'm a GBA ASM hacker --> I'm cool :D

Made Day-Night Routine! You can find the thread HERE