summaryrefslogtreecommitdiff
path: root/macros/scripts/gfx_anims.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/scripts/gfx_anims.asm')
-rw-r--r--macros/scripts/gfx_anims.asm40
1 files changed, 20 insertions, 20 deletions
diff --git a/macros/scripts/gfx_anims.asm b/macros/scripts/gfx_anims.asm
index ded61b87f..61c18fa8b 100644
--- a/macros/scripts/gfx_anims.asm
+++ b/macros/scripts/gfx_anims.asm
@@ -12,12 +12,16 @@ endc
db x
ENDM
- const_def $fc
+ const_def -1, -1
- const delanim_command ; $fc
-delanim: MACRO
-; Removes the object from the screen, as opposed to `endanim` which just stops all motion
- db delanim_command
+ const endanim_command ; $ff
+endanim: MACRO
+ db endanim_command
+ENDM
+
+ const dorestart_command ; $fe
+dorestart: MACRO
+ db dorestart_command
ENDM
const dowait_command ; $fd
@@ -26,28 +30,24 @@ dowait: MACRO
db \1 ; frames
ENDM
- const dorestart_command ; $fe
-dorestart: MACRO
- db dorestart_command
-ENDM
-
- const endanim_command ; $ff
-endanim: MACRO
- db endanim_command
+ const delanim_command ; $fc
+delanim: MACRO
+; Removes the object from the screen, as opposed to `endanim` which just stops all motion
+ db delanim_command
ENDM
; Used for pic animations
-const_value = $fd
-
- const dorepeat_command ; $fd
-dorepeat: MACRO
- db dorepeat_command
- db \1 ; command offset to jump to
-ENDM
+ const_def -2, -1
const setrepeat_command ; $fe
setrepeat: MACRO
db setrepeat_command
db \1 ; amount of times to repeat
ENDM
+
+ const dorepeat_command ; $fd
+dorepeat: MACRO
+ db dorepeat_command
+ db \1 ; command offset to jump to
+ENDM