mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07: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
|
SECTION UNION "Miscellaneous WRAM 1", WRAMX
|
||||||
|
|
||||||
; switching pokemon in party
|
; switching pokemon in party
|
||||||
; may store NAME_LENGTH, PARTYMON_STRUCT_LENGTH, or MAIL_STRUCT_LENGTH bytes
|
; may store a name, partymon, or mail
|
||||||
wSwitchMonBuffer:: ds 48
|
wSwitchMonBuffer::
|
||||||
|
UNION
|
||||||
|
ds NAME_LENGTH
|
||||||
|
NEXTU
|
||||||
|
ds PARTYMON_STRUCT_LENGTH
|
||||||
|
NEXTU
|
||||||
|
ds MAIL_STRUCT_LENGTH
|
||||||
|
ENDU
|
||||||
|
|
||||||
|
|
||||||
SECTION UNION "Miscellaneous WRAM 1", WRAMX
|
SECTION UNION "Miscellaneous WRAM 1", WRAMX
|
||||||
|
Loading…
Reference in New Issue
Block a user