mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
3648afda16
New MACRO and DEF syntax
25 lines
479 B
NASM
25 lines
479 B
NASM
MACRO unown_set
|
|
rept _NARG
|
|
db UNOWN_\1
|
|
shift
|
|
endr
|
|
db -1
|
|
ENDM
|
|
|
|
UnlockedUnownLetterSets:
|
|
; entries correspond to wUnlockedUnowns bits
|
|
dw .Set_A_K ; ENGINE_UNLOCKED_UNOWNS_A_TO_K
|
|
dw .Set_L_R ; ENGINE_UNLOCKED_UNOWNS_L_TO_R
|
|
dw .Set_S_W ; ENGINE_UNLOCKED_UNOWNS_S_TO_W
|
|
dw .Set_X_Z ; ENGINE_UNLOCKED_UNOWNS_X_TO_Z
|
|
.End
|
|
|
|
.Set_A_K:
|
|
unown_set A, B, C, D, E, F, G, H, I, J, K
|
|
.Set_L_R:
|
|
unown_set L, M, N, O, P, Q, R
|
|
.Set_S_W:
|
|
unown_set S, T, U, V, W
|
|
.Set_X_Z:
|
|
unown_set X, Y, Z
|