diff options
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 |