diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-27 13:22:27 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-27 23:09:06 -0400 |
commit | 446f1846b1c614ab1538d1ce11aa2781c22717f2 (patch) | |
tree | 86577424070c79a01431300c391c2ebd29afe487 /wram.asm | |
parent | 2738858985dbcff55c2ec237ac6075b4263f3120 (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.asm | 44 |
1 files changed, 20 insertions, 24 deletions
@@ -1000,29 +1000,11 @@ ENDU NEXTU ; mystery gift data -UNION -wMysteryGiftPartyTemp:: ds (1 + 1 + NUM_MOVES) * PARTY_LENGTH - -NEXTU wMysteryGiftStaging:: ds 80 -NEXTU - ds 7 -wc807:: ds 1 - ds 10 -wMobileSDK_PacketChecksum:: dw - ds 4 -wMobileSDK_AdapterType:: db - ds 5 -wMobileSDK_SendCommandID:: db - ds 2 -wc821:: ds 1 -wc822:: ds 46 -ENDU - UNION -wMysteryGiftTrainerData:: ds (1 + 1 + NUM_MOVES) * PARTY_LENGTH + 2 -wMysteryGiftTrainerDataEnd:: +wMysteryGiftTrainer:: ds 1 + (1 + 1 + NUM_MOVES) * PARTY_LENGTH + 1 +wMysteryGiftTrainerEnd:: NEXTU wMysteryGiftCardHolderName:: ds PLAYER_NAME_LENGTH @@ -1031,7 +1013,7 @@ ENDU ds 138 wMysteryGiftPartnerData:: -wc900:: db +wMysteryGiftGameVersion:: db wMysteryGiftPartnerID:: dw wMysteryGiftPartnerName:: ds NAME_LENGTH wMysteryGiftPartnerDexCaught:: db @@ -1069,9 +1051,9 @@ wCreditsBlankFrame2bppEnd:: NEXTU ; mystery gift data -wca00:: db -wca01:: db -wca02:: db +wUnusedMysteryGiftStagedDataLength:: db +wMysteryGiftMessageCount:: db +wMysteryGiftStagedDataLength:: db NEXTU ; link data @@ -1108,6 +1090,20 @@ wccb8:: ds 1 wccb9:: ds 1 wccba:: ds 102 +NEXTU +; mobile + ds 7 +wc807:: ds 1 + ds 10 +wMobileSDK_PacketChecksum:: dw + ds 4 +wMobileSDK_AdapterType:: db + ds 5 +wMobileSDK_SendCommandID:: db + ds 2 +wc821:: ds 1 +wc822:: ds 46 + if DEF(_DEBUG) NEXTU ; debug room |