mirror of
https://github.com/thornAvery/jep-hack.git
synced 2025-10-16 04:04:39 +13:00

Taken from https://github.com/pret/pokecrystal/wiki/Add-a-new-Unown-form There's some embedded palette errors that need fixing.
29 lines
883 B
NASM
29 lines
883 B
NASM
MACRO unown_set
|
|
rept _NARG
|
|
db UNOWN_\1
|
|
shift
|
|
endr
|
|
db -1
|
|
ENDM
|
|
|
|
UnlockedUnownLetterSets:
|
|
; entries correspond to UNLOCKED_UNOWNS_* constants
|
|
table_width 2, UnlockedUnownLetterSets
|
|
dw .Set_A_K ; UNLOCKED_UNOWNS_A_TO_K_F
|
|
dw .Set_L_R ; UNLOCKED_UNOWNS_L_TO_R_F
|
|
dw .Set_S_W ; UNLOCKED_UNOWNS_S_TO_W_F
|
|
dw .Set_X_Z ; UNLOCKED_UNOWNS_X_TO_Z_F
|
|
dw .Set_Exclamation_Question ; UNLOCKED_UNOWNS_EXCLAMATION_QUESTION
|
|
assert_table_length NUM_UNLOCKED_UNOWN_SETS
|
|
|
|
.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
|
|
.Set_Exclamation_Question ; I'm not the biggest fan of this - could easily just put them with XYZ, but it seems in HGSS it was made more awkward, so let's do it this way. Could also be used to place them somewhere else - Tanoby Ruins?
|
|
unown_set EXCLAMATION, QUESTION
|