You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Comment, remove, or revise many unreferenced labels
This commit is contained in:
@@ -107,8 +107,8 @@ Gen2ToGen1LinkComms:
|
||||
ld de, wLinkData
|
||||
ld bc, $1a2
|
||||
call Link_CopyOTData
|
||||
ld de, wPlayerTrademonSpecies
|
||||
ld hl, wTimeCapsulePartyMon1Species
|
||||
ld de, wPlayerTrademon
|
||||
ld hl, wTimeCapsulePlayerData
|
||||
ld c, 2
|
||||
.loop
|
||||
ld a, [de]
|
||||
@@ -162,7 +162,7 @@ Gen2ToGen1LinkComms:
|
||||
|
||||
.done_party
|
||||
ld [de], a
|
||||
ld hl, wTimeCapsulePartyMon1Species
|
||||
ld hl, wTimeCapsulePlayerData
|
||||
call Function2868a
|
||||
ld a, LOW(wOTPartyMonOT)
|
||||
ld [wUnusedD102], a
|
||||
@@ -253,8 +253,8 @@ Gen2ToGen2LinkComms:
|
||||
ld de, wLinkData
|
||||
ld bc, $1b9
|
||||
call Link_CopyOTData
|
||||
ld de, wPlayerTrademonSpecies
|
||||
ld hl, wLinkPlayerPartyMon1Species
|
||||
ld de, wPlayerTrademon
|
||||
ld hl, wLinkPlayerData
|
||||
ld c, 2
|
||||
.loop1
|
||||
ld a, [de]
|
||||
@@ -584,7 +584,7 @@ FixDataForLinkTransfer:
|
||||
ld [hli], a
|
||||
dec b
|
||||
jr nz, .loop3
|
||||
ld hl, wTimeCapsulePartyMon1 - 1 + PARTY_LENGTH
|
||||
ld hl, wTimeCapsulePlayerData - 1 + PARTY_LENGTH
|
||||
ld de, wc612
|
||||
lb bc, 0, 0
|
||||
.loop4
|
||||
|
@@ -15,7 +15,7 @@ Function16d42e:
|
||||
call CopyBytes
|
||||
ret
|
||||
|
||||
Function16d43b:
|
||||
Function16d43b: ; unreferenced
|
||||
call LoadStandardMenuHeader
|
||||
call ClearBGPalettes
|
||||
call ClearTilemap
|
||||
|
@@ -1148,7 +1148,7 @@ MysteryGift_CopyReceivedDecosToPC:
|
||||
.skip
|
||||
inc c
|
||||
ld a, c
|
||||
cp TrophyIDs - DecorationIDs
|
||||
cp NUM_NON_TROPHY_DECOS
|
||||
jr c, .loop
|
||||
jp CloseSRAM
|
||||
|
||||
|
@@ -2,23 +2,23 @@ PrepMysteryGiftDataToSend:
|
||||
ld de, wMysteryGiftStaging
|
||||
ld a, $1 + GS_VERSION
|
||||
ld [de], a
|
||||
inc de ; wc801
|
||||
inc de ; wMysteryGiftStaging+1
|
||||
ld a, BANK(sGameData)
|
||||
call OpenSRAM
|
||||
ld hl, sPlayerData + wPlayerID - wPlayerData
|
||||
ld a, [hli]
|
||||
ld [de], a
|
||||
ld b, a
|
||||
inc de ; wc802
|
||||
inc de ; wMysteryGiftStaging+2
|
||||
ld a, [hl]
|
||||
ld [de], a
|
||||
ld c, a
|
||||
inc de ; wc803
|
||||
inc de ; wMysteryGiftStaging+3
|
||||
push bc
|
||||
ld hl, sPlayerData + wPlayerName - wPlayerData
|
||||
ld bc, NAME_LENGTH
|
||||
call CopyBytes
|
||||
push de ; wc80e
|
||||
push de ; wMysteryGiftStaging+14
|
||||
ld hl, sPokemonData + wPokedexCaught - wPokemonData
|
||||
ld b, wEndPokedexCaught - wPokedexCaught
|
||||
call CountSetBits
|
||||
@@ -26,21 +26,21 @@ PrepMysteryGiftDataToSend:
|
||||
pop bc
|
||||
ld a, [wNumSetBits]
|
||||
ld [de], a
|
||||
inc de ; wc80f
|
||||
inc de ; wMysteryGiftStaging+15
|
||||
call CloseSRAM
|
||||
call Random
|
||||
and 1
|
||||
ld [de], a
|
||||
inc de ; wc810
|
||||
inc de ; wMysteryGiftStaging+16
|
||||
call .RandomSample
|
||||
ld [de], a
|
||||
inc de ; wc811
|
||||
inc de ; wMysteryGiftStaging+17
|
||||
ld a, c
|
||||
ld c, b
|
||||
ld b, a
|
||||
call .RandomSample
|
||||
ld [de], a
|
||||
inc de ; wc812
|
||||
inc de ; wMysteryGiftStaging+18
|
||||
ld a, BANK(sBackupMysteryGiftItem)
|
||||
call OpenSRAM
|
||||
ld a, [sBackupMysteryGiftItem]
|
||||
|
Reference in New Issue
Block a user