mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Comments distinguish "move effects" and "effect commands"
Effect command enums are used like constants, not macros
This commit is contained in:
parent
4afc2f01ef
commit
720cdc72b2
@ -1,6 +1,7 @@
|
||||
dw 0 ; padding
|
||||
|
||||
BattleCommandPointers: ; 3fd28
|
||||
; entries correspond to constants/effect_command_constants.asm
|
||||
dw BattleCommand_CheckTurn ; 34084
|
||||
dw BattleCommand_CheckObedience ; 343db
|
||||
dw BattleCommand_UsedMoveText ; 34541
|
||||
|
@ -1,3 +1,4 @@
|
||||
; entries correspond to EFFECT_* constants
|
||||
dw NormalHit
|
||||
dw DoSleep
|
||||
dw PoisonHit
|
||||
|
@ -7,6 +7,7 @@ INCLUDE "constants/wram_constants.asm"
|
||||
INCLUDE "constants/pokemon_constants.asm"
|
||||
INCLUDE "constants/type_constants.asm"
|
||||
INCLUDE "constants/move_constants.asm"
|
||||
INCLUDE "constants/effect_command_constants.asm"
|
||||
INCLUDE "constants/battle_constants.asm"
|
||||
INCLUDE "constants/map_dimension_constants.asm"
|
||||
INCLUDE "constants/map_constants.asm"
|
||||
|
@ -1,10 +1,11 @@
|
||||
; BattleCommandPointers indexes (see battle/effect_commands.asm)
|
||||
|
||||
command: macro
|
||||
enum \1_command
|
||||
\1 equs "db \1_command"
|
||||
endm
|
||||
|
||||
enum_start 1
|
||||
|
||||
command checkturn ; 01
|
||||
command checkobedience ; 02
|
||||
command usedmovetext ; 03
|
@ -1,11 +1,9 @@
|
||||
INCLUDE "macros/enum.asm"
|
||||
INCLUDE "macros/basestats.asm"
|
||||
|
||||
INCLUDE "macros/event.asm"
|
||||
INCLUDE "macros/sound.asm"
|
||||
INCLUDE "macros/text.asm"
|
||||
INCLUDE "macros/charmap.asm"
|
||||
INCLUDE "macros/move_effect.asm"
|
||||
INCLUDE "macros/move_anim.asm"
|
||||
INCLUDE "macros/movement.asm"
|
||||
INCLUDE "macros/map.asm"
|
||||
|
Loading…
Reference in New Issue
Block a user