Remove more address comments
This commit is contained in:
@@ -32,12 +32,12 @@ BattleCommand_Present:
|
||||
.next
|
||||
ld a, [hli]
|
||||
cp -1
|
||||
jr z, .heal_effect ; 378a4 $11
|
||||
jr z, .heal_effect
|
||||
cp b
|
||||
jr nc, .got_power ; 378a7 $4
|
||||
jr nc, .got_power
|
||||
inc c
|
||||
inc hl
|
||||
jr .next ; 378ab $f4
|
||||
jr .next
|
||||
|
||||
.got_power
|
||||
ld a, c
|
||||
@@ -56,12 +56,12 @@ BattleCommand_Present:
|
||||
ld hl, AICheckPlayerMaxHP
|
||||
ld a, [hBattleTurn]
|
||||
and a
|
||||
jr z, .got_hp_fn_pointer ; 378c9 $3
|
||||
jr z, .got_hp_fn_pointer
|
||||
ld hl, AICheckEnemyMaxHP
|
||||
.got_hp_fn_pointer
|
||||
ld a, BANK(AICheckPlayerMaxHP)
|
||||
rst FarCall
|
||||
jr c, .already_fully_healed ; 378d1 $20
|
||||
jr c, .already_fully_healed
|
||||
|
||||
ld hl, GetQuarterMaxHP
|
||||
call CallBattleCore
|
||||
@@ -73,12 +73,12 @@ BattleCommand_Present:
|
||||
call StdBattleTextBox
|
||||
call BattleCommand_SwitchTurn
|
||||
call UpdateOpponentInParty
|
||||
jr .do_animation ; 378f1 $11
|
||||
jr .do_animation
|
||||
|
||||
.already_fully_healed
|
||||
call BattleCommand_SwitchTurn
|
||||
call _CheckBattleScene
|
||||
jr nc, .do_animation ; 378f9 $9
|
||||
jr nc, .do_animation
|
||||
call AnimateFailedMove
|
||||
ld hl, RefusedGiftText
|
||||
call StdBattleTextBox
|
||||
|
@@ -1,4 +1,4 @@
|
||||
GetMysteryGift_MobileAdapterLayout: ; 4930f (mobile)
|
||||
GetMysteryGift_MobileAdapterLayout:
|
||||
ld a, b
|
||||
cp SCGB_RAM
|
||||
jr nz, .not_ram
|
||||
|
@@ -72,7 +72,7 @@ ShowPlayerNamingChoices:
|
||||
|
||||
INCLUDE "data/player_names.asm"
|
||||
|
||||
GetPlayerNameArray: ; 88318 This Function is never called
|
||||
Unreferenced_GetPlayerNameArray:
|
||||
ld hl, wPlayerName
|
||||
ld de, MalePlayerNameArray
|
||||
ld a, [wPlayerGender]
|
||||
|
@@ -925,7 +925,7 @@ INCBIN "gfx/naming_screen/middle_line.1bpp"
|
||||
NamingScreenGFX_UnderLine:
|
||||
INCBIN "gfx/naming_screen/underline.1bpp"
|
||||
|
||||
_ComposeMailMessage: ; 11e75 (mail?)
|
||||
_ComposeMailMessage:
|
||||
ld hl, wNamingScreenDestinationPointer
|
||||
ld [hl], e
|
||||
inc hl
|
||||
|
@@ -190,7 +190,7 @@ SetFacingShadow:
|
||||
ld [hl], FACING_SHADOW
|
||||
ret
|
||||
|
||||
SetFacingEmote: ; 4582 emote
|
||||
SetFacingEmote:
|
||||
ld hl, OBJECT_FACING_STEP
|
||||
add hl, bc
|
||||
ld [hl], FACING_EMOTE
|
||||
|
@@ -2159,7 +2159,8 @@ Function55e0::
|
||||
jr nz, .loop
|
||||
ret
|
||||
|
||||
Function5602: ; 5602, called at battle start
|
||||
Function5602:
|
||||
; called at battle start
|
||||
call Function5645 ; clear sprites
|
||||
ld a, PLAYER
|
||||
call Function5629 ; respawn player
|
||||
|
@@ -226,20 +226,19 @@ BillsPCDepositFuncCancel:
|
||||
ld [wJumptableIndex], a
|
||||
ret
|
||||
|
||||
BillsPCDepositMenuHeader: ; 0xe253d (38:653d)
|
||||
BillsPCDepositMenuHeader:
|
||||
db MENU_BACKUP_TILES ; flags
|
||||
menu_coords 9, 4, SCREEN_WIDTH - 1, 13
|
||||
dw .MenuData
|
||||
db 1 ; default option
|
||||
|
||||
.MenuData: ; 0xe2545 (38:6545)
|
||||
.MenuData:
|
||||
db STATICMENU_CURSOR ; flags
|
||||
db 4 ; items
|
||||
db "DEPOSIT@"
|
||||
db "STATS@"
|
||||
db "RELEASE@"
|
||||
db "CANCEL@"
|
||||
; 0xe2564 (38:6564)
|
||||
|
||||
Unreferenced_BillsPCClearThreeBoxes:
|
||||
hlcoord 0, 0
|
||||
@@ -405,7 +404,7 @@ BillsPC_Withdraw:
|
||||
ld l, a
|
||||
jp hl
|
||||
|
||||
.dw ; e2699 (38:6699) #mark
|
||||
.dw
|
||||
dw .withdraw ; Withdraw
|
||||
dw .stats ; Stats
|
||||
dw .release ; Release
|
||||
|
@@ -27,7 +27,7 @@ PrinterJumptableIteration:
|
||||
ld l, a
|
||||
jp hl
|
||||
|
||||
.Jumptable: ; 84031 (21:4031)
|
||||
.Jumptable:
|
||||
dw Print_InitPrinterHandshake ; 00
|
||||
dw Printer_CheckConnectionStatus ; 01
|
||||
dw Printer_WaitSerial ; 02
|
||||
|
Reference in New Issue
Block a user