summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-10-27 13:22:32 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-10-27 23:08:46 -0400
commit599046c89283997efac417c445d0bdcf75fd373c (patch)
tree96739c05bfcb374ebf26fa5833a11a49bc59a7a5 /wram.asm
parent6e142eb5b365659ec9e13360b663037cbfa615af (diff)
Identify remaining Mystery Gift labels and constants
Source: https://projectpokemon.org/home/forums/topic/43930-mystery-gift-reverse-engineering-of-ir-protocol/
Diffstat (limited to 'wram.asm')
-rw-r--r--wram.asm17
1 files changed, 6 insertions, 11 deletions
diff --git a/wram.asm b/wram.asm
index 3d2f43bd..0c45e405 100644
--- a/wram.asm
+++ b/wram.asm
@@ -569,20 +569,15 @@ ENDU
NEXTU
; mystery gift data
-UNION
-wMysteryGiftPartyTemp:: ds (1 + 1 + NUM_MOVES) * PARTY_LENGTH
-
-NEXTU
wMysteryGiftStaging:: ds 80
-ENDU
-wMysteryGiftTrainerData:: ds (1 + 1 + NUM_MOVES) * PARTY_LENGTH + 2
-wMysteryGiftTrainerDataEnd::
+wMysteryGiftTrainer:: ds 1 + (1 + 1 + NUM_MOVES) * PARTY_LENGTH + 1
+wMysteryGiftTrainerEnd::
ds 138
wMysteryGiftPartnerData::
-wc800:: db
+wMysteryGiftGameVersion:: db
wMysteryGiftPartnerID:: dw
wMysteryGiftPartnerName:: ds NAME_LENGTH
wMysteryGiftPartnerDexCaught:: db
@@ -636,9 +631,9 @@ wCreditsBlankFrame2bppEnd::
NEXTU
; mystery gift data
-wc900:: db
-wc901:: db
-wc902:: db
+wUnusedMysteryGiftStagedDataLength:: db
+wMysteryGiftMessageCount:: db
+wMysteryGiftStagedDataLength:: db
NEXTU
; link