diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2017-11-26 13:26:58 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2017-11-26 13:26:58 +0100 |
commit | 9886eeb5d8b0a19e31537fbc3e1245f20577d513 (patch) | |
tree | 2159af378a65ef3972554274366f1d070cdebbaf /asm/macros/battle_script.inc | |
parent | cc572f7c00b7a07161b5298868bcb495b7c87b61 (diff) |
fix, rename, label battle labels and battlescripts
Diffstat (limited to 'asm/macros/battle_script.inc')
-rw-r--r-- | asm/macros/battle_script.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/asm/macros/battle_script.inc b/asm/macros/battle_script.inc index 07d0bacdf..b1961c4a9 100644 --- a/asm/macros/battle_script.inc +++ b/asm/macros/battle_script.inc @@ -1231,6 +1231,11 @@ chosenstatusanimation \bank 0x1 \status .endm + .macro sethword dst, value + setbyte \dst, \value & 0xFF + setbyte \dst + 1, (\value >> 8) & 0xFF + .endm + .macro setword dst, value setbyte \dst, \value & 0xFF setbyte \dst + 1, (\value >> 8) & 0xFF @@ -1242,6 +1247,10 @@ copyarray \dst, \src, 0x1 .endm + .macro copyhword dst, src + copyarray \dst, \src, 0x2 + .endm + .macro copyword dst, src copyarray \dst, \src, 0x4 .endm |