mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Unionize wSwitchMonBuffer
This commit is contained in:
parent
c8e9a82190
commit
2fc7d17851
11
ram/wram.asm
11
ram/wram.asm
@ -2002,8 +2002,15 @@ wSwitchItemBuffer:: ds 2 ; may store 1 or 2 bytes
|
||||
SECTION UNION "Miscellaneous WRAM 1", WRAMX
|
||||
|
||||
; switching pokemon in party
|
||||
; may store NAME_LENGTH, PARTYMON_STRUCT_LENGTH, or MAIL_STRUCT_LENGTH bytes
|
||||
wSwitchMonBuffer:: ds 48
|
||||
; may store a name, partymon, or mail
|
||||
wSwitchMonBuffer::
|
||||
UNION
|
||||
ds NAME_LENGTH
|
||||
NEXTU
|
||||
ds PARTYMON_STRUCT_LENGTH
|
||||
NEXTU
|
||||
ds MAIL_STRUCT_LENGTH
|
||||
ENDU
|
||||
|
||||
|
||||
SECTION UNION "Miscellaneous WRAM 1", WRAMX
|
||||
|
Loading…
Reference in New Issue
Block a user