diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2019-04-21 21:54:29 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2019-04-21 21:54:29 -0400 |
commit | 1d28c9820f3435b458bc73712f6c5902715efaa7 (patch) | |
tree | f59c01912801610ff8bd80dbcb440e64b35ccc3f /berry_fix/payload/asm/macros/field_effect_script.inc | |
parent | 29dc2b2284e61f37b973f9b68dbf7f1db7e01d13 (diff) |
Payload is now independent of agbsdk
Are you happy now @luckytyphlosion? Kappa
Diffstat (limited to 'berry_fix/payload/asm/macros/field_effect_script.inc')
-rw-r--r-- | berry_fix/payload/asm/macros/field_effect_script.inc | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/berry_fix/payload/asm/macros/field_effect_script.inc b/berry_fix/payload/asm/macros/field_effect_script.inc new file mode 100644 index 000000000..d5895b0ef --- /dev/null +++ b/berry_fix/payload/asm/macros/field_effect_script.inc @@ -0,0 +1,42 @@ + .macro loadtiles address + .byte 0 + .4byte \address + .endm + + .macro loadfadedpal address + .byte 1 + .4byte \address + .endm + + .macro loadpal address + .byte 2 + .4byte \address + .endm + + .macro callnative address + .byte 3 + .4byte \address + .endm + + .macro end + .byte 4 + .endm + + .macro loadgfx_callnative tiles_address, palette_address, function_address + .byte 5 + .4byte \tiles_address + .4byte \palette_address + .4byte \function_address + .endm + + .macro loadtiles_callnative tiles_address, function_address + .byte 6 + .4byte \tiles_address + .4byte \function_address + .endm + + .macro loadfadedpal_callnative palette_address, function_address + .byte 7 + .4byte \palette_address + .4byte \function_address + .endm |