diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-08 15:30:23 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-08 15:30:23 -0400 |
commit | 6ca82e5c86279258bfd4b21195d4521f26082fd4 (patch) | |
tree | d4dbd62a91bf73f491b2bfbd3d801251e410b94e /macros/scripts/gfx_anims.asm | |
parent | 9e4a00af4523cdfacbb6b245679e2e60fbc6b375 (diff) |
Eliminate enum: use const instead, with case-by-case parallel const implementations
Diffstat (limited to 'macros/scripts/gfx_anims.asm')
-rw-r--r-- | macros/scripts/gfx_anims.asm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/macros/scripts/gfx_anims.asm b/macros/scripts/gfx_anims.asm index a6241a0d8..ded61b87f 100644 --- a/macros/scripts/gfx_anims.asm +++ b/macros/scripts/gfx_anims.asm @@ -12,41 +12,41 @@ endc db x ENDM - enum_start $fc + const_def $fc - enum delanim_command ; $fc + 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 - enum dowait_command ; $fd + const dowait_command ; $fd dowait: MACRO db dowait_command db \1 ; frames ENDM - enum dorestart_command ; $fe + const dorestart_command ; $fe dorestart: MACRO db dorestart_command ENDM - enum endanim_command ; $ff + const endanim_command ; $ff endanim: MACRO db endanim_command ENDM ; Used for pic animations -__enum__ = $fd +const_value = $fd - enum dorepeat_command ; $fd + const dorepeat_command ; $fd dorepeat: MACRO db dorepeat_command db \1 ; command offset to jump to ENDM - enum setrepeat_command ; $fe + const setrepeat_command ; $fe setrepeat: MACRO db setrepeat_command db \1 ; amount of times to repeat |