View Single Post
  #212    
Old January 8th, 2009 (10:21 AM).
Andryandrew Andryandrew is offline
Italian Asm Hacker
 
Join Date: Mar 2007
Age: 22
Gender:
Nature: Timid
Posts: 117

Quote originally posted by Mortar:
Hey, I have a problem.

I'm trying to make a script work once you enter a map. But when it's done it, it'll start doing it again, and again...

This is the script:

Spoiler:
Code:
#dynamic 0x2E7195

#org @jaques applymovement 0x01 @lookup msgbox @comehere 0x2 applymovement 0xFF @walkdown waitmovement 0x0 applymovement 0x01 @faceright msgbox @taughtrock 0x2 applymovement 0xFF @stepleft applymovement 0x01 @stepdown waitmovement 0x0 msgbox @moverock 0x2 applymovement 0x01 @stepback applymovement 0xFF @stepright waitmovement 0x0 msgbox @meetprof 0x2 applymovement 0x01 @faceleft waitmovement 0x0 setvar 0x5000 0x1 end

#org @lookup #raw 0x01 0xFE

#org @walkdown #raw 0x10 0x10 0x02 0xFE

#org @faceright #raw 0x03 0xFE

#org @stepleft #raw 0x12 0xFE

#org @stepdown #raw 0x10 0x01 0xFE

#org @stepback #raw 0x11 0x03 0xFE

#org @stepright #raw 0x13 0x02 0xFE

#org @faceleft #raw 0x02 0xFE

#org @comehere = \c\h01\h08JAQUES: Hey, \v\h01! Come here!

#org @taughtrock = \c\h01\h08Look, I taught my rock how to move!

#org @moverock = \c\h01\h08Come on, rock! Move!\p...\pAw... It won't move...

#org @meetprof = \c\h01\h08Anyway, PROF. ROAD told me to tell\nyou to go over to his lab.\pHe said it's important.

Can anyone help me out?
Thanks in advance.

I've corrected it, now works xd

You should instert a setvar at the end of the script that has the value you've set in A.Map +1, so:
if in A.Map you set var: 5000 value 0000 in the script you just insert setvar 0x5000 0x1

__________________

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