Identify link.asm WRAM labels based on ax6's research notes <https://pastebin.com/NTxjzKGQ>
This commit is contained in:
115
wram.asm
115
wram.asm
@@ -683,7 +683,12 @@ wPuzzlePieces:: ds 6 * 6
|
||||
wUnownPuzzleEnd::
|
||||
|
||||
NEXTU
|
||||
wMobileTransferData:: ds $1e0
|
||||
; link patch lists
|
||||
wPlayerPatchLists:: ds 200
|
||||
wOTPatchLists:: ds 200
|
||||
|
||||
NEXTU
|
||||
wMobileTransferData:: ds 480
|
||||
|
||||
NEXTU
|
||||
|
||||
@@ -702,11 +707,6 @@ NEXTU
|
||||
; hall of fame temp struct
|
||||
wHallOfFameTemp:: hall_of_fame wHallOfFameTemp
|
||||
|
||||
NEXTU
|
||||
; link engine data
|
||||
wLink_c608:: ds 10
|
||||
wc612:: ds 10
|
||||
|
||||
NEXTU
|
||||
; odd egg
|
||||
wOddEgg:: party_struct wOddEgg
|
||||
@@ -796,7 +796,6 @@ wPokegearRadioMusicPlaying:: db
|
||||
|
||||
NEXTU
|
||||
; trade
|
||||
wTrademons::
|
||||
wPlayerTrademon:: trademon wPlayerTrademon
|
||||
wOTTrademon:: trademon wOTTrademon
|
||||
wTradeAnimAddress:: dw
|
||||
@@ -967,29 +966,7 @@ wDebugOriginalColors:: ds 256 * 4
|
||||
|
||||
NEXTU
|
||||
; raw link data
|
||||
wLinkData:: ds 271
|
||||
wc90f:: ds 229
|
||||
wc9f4:: ds 5
|
||||
wc9f9:: ds 198
|
||||
wcabf:: ds 79
|
||||
wcb0e:: ds 5
|
||||
wcb13:: ds 113
|
||||
wcb84:: ds 100
|
||||
wcbe8:: dw
|
||||
wLinkOTPartyMonTypes:: ds 2 * PARTY_LENGTH
|
||||
ds 84
|
||||
wcc4a:: ds 22
|
||||
wcc60:: ds 1
|
||||
wcc61:: ds 1
|
||||
wcc62:: ds 2
|
||||
wcc64:: ds 1
|
||||
wcc65:: ds 57
|
||||
wcc9e:: ds 22
|
||||
wccb4:: ds 1
|
||||
wccb5:: ds 3
|
||||
wccb8:: ds 1
|
||||
wccb9:: ds 1
|
||||
wccba:: ds 90
|
||||
wLinkData:: ds 1300
|
||||
wLinkDataEnd::
|
||||
|
||||
NEXTU
|
||||
@@ -1000,18 +977,6 @@ wLinkPartySpecies:: ds PARTY_LENGTH
|
||||
wLinkPartyEnd:: db ; older code doesn't check PartyCount
|
||||
|
||||
UNION
|
||||
; time capsule party data
|
||||
wTimeCapsulePlayerData::
|
||||
wTimeCapsulePartyMon1:: red_party_struct wTimeCapsulePartyMon1
|
||||
wTimeCapsulePartyMon2:: red_party_struct wTimeCapsulePartyMon2
|
||||
wTimeCapsulePartyMon3:: red_party_struct wTimeCapsulePartyMon3
|
||||
wTimeCapsulePartyMon4:: red_party_struct wTimeCapsulePartyMon4
|
||||
wTimeCapsulePartyMon5:: red_party_struct wTimeCapsulePartyMon5
|
||||
wTimeCapsulePartyMon6:: red_party_struct wTimeCapsulePartyMon6
|
||||
wTimeCapsulePartyMonOTNames:: ds PARTY_LENGTH * NAME_LENGTH
|
||||
wTimeCapsulePartyMonNicks:: ds PARTY_LENGTH * MON_NAME_LENGTH
|
||||
|
||||
NEXTU
|
||||
; link player data
|
||||
wLinkPlayerData::
|
||||
wLinkPlayerPartyMon1:: party_struct wLinkPlayerPartyMon1
|
||||
@@ -1020,10 +985,56 @@ wLinkPlayerPartyMon3:: party_struct wLinkPlayerPartyMon3
|
||||
wLinkPlayerPartyMon4:: party_struct wLinkPlayerPartyMon4
|
||||
wLinkPlayerPartyMon5:: party_struct wLinkPlayerPartyMon5
|
||||
wLinkPlayerPartyMon6:: party_struct wLinkPlayerPartyMon6
|
||||
wLinkPlayerPartyMonOTNames:: ds PARTY_LENGTH * NAME_LENGTH
|
||||
wLinkPlayerPartyMonNicks:: ds PARTY_LENGTH * MON_NAME_LENGTH
|
||||
wLinkPlayerPartyMonOTNames:: ds NAME_LENGTH * PARTY_LENGTH
|
||||
wLinkPlayerPartyMonNicks:: ds MON_NAME_LENGTH * PARTY_LENGTH
|
||||
|
||||
NEXTU
|
||||
; time capsule party data
|
||||
wTimeCapsulePlayerData::
|
||||
wTimeCapsulePartyMon1:: red_party_struct wTimeCapsulePartyMon1
|
||||
wTimeCapsulePartyMon2:: red_party_struct wTimeCapsulePartyMon2
|
||||
wTimeCapsulePartyMon3:: red_party_struct wTimeCapsulePartyMon3
|
||||
wTimeCapsulePartyMon4:: red_party_struct wTimeCapsulePartyMon4
|
||||
wTimeCapsulePartyMon5:: red_party_struct wTimeCapsulePartyMon5
|
||||
wTimeCapsulePartyMon6:: red_party_struct wTimeCapsulePartyMon6
|
||||
wTimeCapsulePartyMonOTNames:: ds NAME_LENGTH * PARTY_LENGTH
|
||||
wTimeCapsulePartyMonNicks:: ds MON_NAME_LENGTH * PARTY_LENGTH
|
||||
|
||||
NEXTU
|
||||
; link patch lists
|
||||
wLinkPatchList1:: ds SERIAL_PATCH_LIST_LENGTH
|
||||
wLinkPatchList2:: ds SERIAL_PATCH_LIST_LENGTH
|
||||
ENDU
|
||||
|
||||
NEXTU
|
||||
; link data prep
|
||||
ds 1000
|
||||
wCurLinkOTPartyMonTypePtr:: dw
|
||||
wLinkOTPartyMonTypes:: ds 2 * PARTY_LENGTH
|
||||
|
||||
NEXTU
|
||||
; link mail data
|
||||
ds 500
|
||||
wLinkPlayerMail::
|
||||
wLinkPlayerMailPreamble:: ds SERIAL_MAIL_PREAMBLE_LENGTH
|
||||
wLinkPlayerMailMessages:: ds (MAIL_MSG_LENGTH + 1) * PARTY_LENGTH
|
||||
wLinkPlayerMailMetadata:: ds (MAIL_STRUCT_LENGTH - (MAIL_MSG_LENGTH + 1)) * PARTY_LENGTH
|
||||
wLinkPlayerMailPatchSet:: ds 103
|
||||
wLinkPlayerMailEnd::
|
||||
ds 10
|
||||
wLinkOTMail::
|
||||
wLinkOTMailMessages:: ds (MAIL_MSG_LENGTH + 1) * PARTY_LENGTH
|
||||
wLinkOTMailMetadata:: ds (MAIL_STRUCT_LENGTH - (MAIL_MSG_LENGTH + 1)) * PARTY_LENGTH
|
||||
wOTPlayerMailPatchSet:: ds 103 + SERIAL_MAIL_PREAMBLE_LENGTH
|
||||
wLinkOTMailEnd::
|
||||
ds 10
|
||||
|
||||
NEXTU
|
||||
; received link mail data
|
||||
ds 500
|
||||
wLinkReceivedMail:: ds MAIL_STRUCT_LENGTH * PARTY_LENGTH
|
||||
wLinkReceivedMailEnd:: db
|
||||
|
||||
NEXTU
|
||||
; mystery gift data
|
||||
wMysteryGiftStaging:: ds 80
|
||||
@@ -1099,7 +1110,18 @@ wc822:: ds 525
|
||||
wMobileSDK_ReceivePacketBufferAlt:: ds 11
|
||||
wMobileSDK_ReceivedBytes:: dw
|
||||
wMobileSDK_ReceivePacketBuffer:: ds 267
|
||||
wMobileSDK_PacketBuffer:: ds 461
|
||||
wMobileSDK_PacketBuffer:: ds 281
|
||||
wcc60:: ds 1
|
||||
wcc61:: ds 1
|
||||
wcc62:: ds 2
|
||||
wcc64:: ds 1
|
||||
wcc65:: ds 57
|
||||
ds 22
|
||||
wccb4:: ds 1
|
||||
wccb5:: ds 3
|
||||
wccb8:: ds 1
|
||||
wccb9:: ds 1
|
||||
wccba:: ds 90
|
||||
|
||||
if DEF(_DEBUG)
|
||||
NEXTU
|
||||
@@ -1337,7 +1359,7 @@ wOtherPlayerLinkMode:: db
|
||||
wOtherPlayerLinkAction:: db
|
||||
ds 3
|
||||
wPlayerLinkAction:: db
|
||||
wcf57:: db
|
||||
wUnusedLinkAction:: db
|
||||
ds 3
|
||||
wLinkTimeoutFrames:: dw
|
||||
wLinkByteTimeout:: dw
|
||||
@@ -2512,6 +2534,7 @@ wUnusedEggHatchFlag:: db
|
||||
|
||||
NEXTU
|
||||
; enemy party
|
||||
wOTPartyData::
|
||||
wOTPlayerName:: ds NAME_LENGTH
|
||||
wOTPlayerID:: dw
|
||||
ds 8
|
||||
|
Reference in New Issue
Block a user