Identify some more WRAM labels

This commit is contained in:
Rangi
2019-04-19 11:35:27 -04:00
parent d5f5e6d5db
commit 45e3f6aca9
13 changed files with 47 additions and 38 deletions

View File

@@ -585,7 +585,7 @@ FixDataForLinkTransfer:
ld [hli], a
dec b
jr nz, .loop3
ld hl, wTimeCapsulePartyMon1 - 1 + 6
ld hl, wTimeCapsulePartyMon1 - 1 + PARTY_LENGTH
ld de, wc612
lb bc, 0, 0
.loop4

View File

@@ -1836,7 +1836,7 @@ Function5000: ; unscripted?
ret
GetMovementByte:
ld hl, wMovementDataPointer
ld hl, wMovementDataBank
call _GetMovementByte
ret

View File

@@ -137,7 +137,7 @@ ScriptCommandTable:
dw Script_opentext ; 47
dw Script_refreshscreen ; 48
dw Script_closetext ; 49
dw Script_loadbytec2cf ; 4a
dw Script_writeunusedbytebuffer ; 4a
dw Script_farwritetext ; 4b
dw Script_writetext ; 4c
dw Script_repeattext ; 4d
@@ -2636,12 +2636,12 @@ Script_refreshscreen:
call GetScriptByte
ret
Script_loadbytec2cf:
Script_writeunusedbytebuffer:
; script command 0x4a
; parameters: byte
call GetScriptByte
ld [wc2cf], a
ld [wUnusedScriptByteBuffer], a
ret
db closetext_command ; unused

View File

@@ -1,6 +1,6 @@
HandleNewMap:
call ClearUnusedC7E8
call ClearUnusedMapBuffer
call ResetMapBufferEventFlags
call ResetFlashIfOutOfCave
call GetCurrentMapSceneID

View File

@@ -254,7 +254,7 @@ HatchEggs:
ld [wCurSpecies], a
call GetPokemonName
xor a
ld [wd26b], a
ld [wUnusedEggHatchFlag], a
call GetBaseData
ld a, [wCurPartyMon]
ld hl, wPartyMon1
@@ -325,8 +325,8 @@ HatchEggs:
pop de
jr c, .nonickname
ld a, $1
ld [wd26b], a
ld a, TRUE
ld [wUnusedEggHatchFlag], a
xor a
ld [wMonType], a
push de