mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Use existing bigdw macro
This commit is contained in:
parent
3241c9cfaa
commit
f9cf53ecba
@ -713,27 +713,25 @@ INCLUDE "gfx/overworld/trainer_battle_nite.pal"
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
PokeBallTransition:
|
PokeBallTransition:
|
||||||
transition_row: MACRO
|
; 16x16 overlay of a Poke Ball
|
||||||
db HIGH(\1), LOW(\1)
|
|
||||||
ENDM
|
|
||||||
pusho
|
pusho
|
||||||
opt b.X ; . = 0, X = 1
|
opt b.X ; . = 0, X = 1
|
||||||
transition_row %......XXXX......
|
bigdw %......XXXX......
|
||||||
transition_row %....XXXXXXXX....
|
bigdw %....XXXXXXXX....
|
||||||
transition_row %..XXXX....XXXX..
|
bigdw %..XXXX....XXXX..
|
||||||
transition_row %..XX........XX..
|
bigdw %..XX........XX..
|
||||||
transition_row %.XX..........XX.
|
bigdw %.XX..........XX.
|
||||||
transition_row %.XX...XXXX...XX.
|
bigdw %.XX...XXXX...XX.
|
||||||
transition_row %XX...XX..XX...XX
|
bigdw %XX...XX..XX...XX
|
||||||
transition_row %XXXXXX....XXXXXX
|
bigdw %XXXXXX....XXXXXX
|
||||||
transition_row %XXXXXX....XXXXXX
|
bigdw %XXXXXX....XXXXXX
|
||||||
transition_row %XX...XX..XX...XX
|
bigdw %XX...XX..XX...XX
|
||||||
transition_row %.XX...XXXX...XX.
|
bigdw %.XX...XXXX...XX.
|
||||||
transition_row %.XX..........XX.
|
bigdw %.XX..........XX.
|
||||||
transition_row %..XX........XX..
|
bigdw %..XX........XX..
|
||||||
transition_row %..XXXX....XXXX..
|
bigdw %..XXXX....XXXX..
|
||||||
transition_row %....XXXXXXXX....
|
bigdw %....XXXXXXXX....
|
||||||
transition_row %......XXXX......
|
bigdw %......XXXX......
|
||||||
popo
|
popo
|
||||||
|
|
||||||
WipeLYOverrides:
|
WipeLYOverrides:
|
||||||
|
@ -64,7 +64,7 @@ dd: MACRO ; four-byte (big-endian)
|
|||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
bigdw: MACRO ; big-endian word
|
bigdw: MACRO ; big-endian word
|
||||||
dx 2, \1
|
dx 2, \1 ; db HIGH(\1), LOW(\1)
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
dba: MACRO ; dbw bank, address
|
dba: MACRO ; dbw bank, address
|
||||||
|
Loading…
Reference in New Issue
Block a user