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 /engine | |
parent | 9e4a00af4523cdfacbb6b245679e2e60fbc6b375 (diff) |
Eliminate enum: use const instead, with case-by-case parallel const implementations
Diffstat (limited to 'engine')
-rw-r--r-- | engine/battle_anims/anim_commands.asm | 2 | ||||
-rw-r--r-- | engine/movie/trade_animation.asm | 2 | ||||
-rw-r--r-- | engine/overworld/movement.asm | 2 | ||||
-rw-r--r-- | engine/overworld/scripting.asm | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle_anims/anim_commands.asm b/engine/battle_anims/anim_commands.asm index f6c50b72f..76a85a76a 100644 --- a/engine/battle_anims/anim_commands.asm +++ b/engine/battle_anims/anim_commands.asm @@ -326,7 +326,7 @@ RunBattleAnimCommand: jp hl BattleAnimCommands:: -; entries correspond to macros/scripts/battle_anims.asm enumeration +; entries correspond to anim_* constants (see macros/scripts/battle_anims.asm) dw BattleAnimCmd_Obj dw BattleAnimCmd_1GFX dw BattleAnimCmd_2GFX diff --git a/engine/movie/trade_animation.asm b/engine/movie/trade_animation.asm index 32ab0fa8c..8e6c5a587 100644 --- a/engine/movie/trade_animation.asm +++ b/engine/movie/trade_animation.asm @@ -231,7 +231,7 @@ DoTradeAnimation: jumptable .JumpTable, wJumptableIndex .JumpTable: -; entries correspond to macros/scripts/trade_anims.asm enumeration +; entries correspond to tradeanim_* constants (see macros/scripts/trade_anims.asm) dw TradeAnim_AdvanceScriptPointer ; 00 dw TradeAnim_ShowGivemonData ; 01 dw TradeAnim_ShowGetmonData ; 02 diff --git a/engine/overworld/movement.asm b/engine/overworld/movement.asm index bc978ef0c..d4296576e 100644 --- a/engine/overworld/movement.asm +++ b/engine/overworld/movement.asm @@ -1,5 +1,5 @@ MovementPointers: -; entries correspond to macros/scripts/movement.asm enumeration +; entries correspond to movement_* constants (see macros/scripts/movement.asm) dw Movement_turn_head_down ; 00 dw Movement_turn_head_up ; 01 dw Movement_turn_head_left ; 02 diff --git a/engine/overworld/scripting.asm b/engine/overworld/scripting.asm index 5104ba92b..708dedf50 100644 --- a/engine/overworld/scripting.asm +++ b/engine/overworld/scripting.asm @@ -62,7 +62,7 @@ RunScriptCommand: ret ScriptCommandTable: -; entries correspond to macros/scripts/events.asm enumeration +; entries correspond to *_command constants (see macros/scripts/events.asm) dw Script_scall ; 00 dw Script_farscall ; 01 dw Script_memcall ; 02 |