mirror of https://github.com/pret/pokecrystal.git
Remove more address comments
This commit is contained in:
parent
c7032617aa
commit
9afaed9b8f
|
@ -1,7 +1,7 @@
|
|||
NONTALKABLE EQUS "db"
|
||||
TALKABLE EQUS "db TALK +"
|
||||
|
||||
TileCollisionTable:: ; 4ce1f
|
||||
TileCollisionTable::
|
||||
; entries correspond to COLL_* constants
|
||||
NONTALKABLE LANDTILE ; COLL_FLOOR
|
||||
NONTALKABLE LANDTILE ; COLL_01
|
||||
|
@ -259,4 +259,3 @@ TileCollisionTable:: ; 4ce1f
|
|||
NONTALKABLE LANDTILE ; fd
|
||||
NONTALKABLE LANDTILE ; fe
|
||||
NONTALKABLE WALLTILE ; COLL_FF
|
||||
; 4cf1f
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -41,14 +41,14 @@ RestoreTileBackup::
|
|||
ld [hli], a
|
||||
dec de
|
||||
dec c
|
||||
jr nz, .col ; 0x1c3b $fa
|
||||
jr nz, .col
|
||||
|
||||
pop hl
|
||||
ld bc, SCREEN_WIDTH
|
||||
add hl, bc
|
||||
pop bc
|
||||
dec b
|
||||
jr nz, .row ; 0x1c44 $ef
|
||||
jr nz, .row
|
||||
|
||||
ret
|
||||
|
||||
|
@ -60,7 +60,7 @@ PopWindow::
|
|||
ld [de], a
|
||||
inc de
|
||||
dec b
|
||||
jr nz, .loop ; 0x1c50 $fa
|
||||
jr nz, .loop
|
||||
ret
|
||||
|
||||
GetMenuBoxDims::
|
||||
|
|
|
@ -40,7 +40,7 @@ InitScrollingMenu::
|
|||
pop bc
|
||||
jp TextBox
|
||||
|
||||
JoyTextDelay_ForcehJoyDown:: ; 354b joypad
|
||||
JoyTextDelay_ForcehJoyDown::
|
||||
call DelayFrame
|
||||
|
||||
ld a, [hInMenu]
|
||||
|
|
|
@ -1035,7 +1035,7 @@ ClearScreenArea:
|
|||
ld a, $18
|
||||
ld [hli], a
|
||||
dec c
|
||||
jr nz, .asm_89713 ; 0x8971c $f5
|
||||
jr nz, .asm_89713
|
||||
ret
|
||||
|
||||
Function8971f:
|
||||
|
|
|
@ -810,7 +810,8 @@ Mobile_AlwaysReturnNotCarry:
|
|||
or a
|
||||
ret
|
||||
|
||||
Function106331: ; 106331 - called by Mobile_DummyReturnFalse in Crystal-J
|
||||
Function106331:
|
||||
; called by Mobile_DummyReturnFalse in Crystal-J
|
||||
; check ~[4:b000] == [7:a800]
|
||||
ld a, $4
|
||||
call GetSRAMBank
|
||||
|
|
|
@ -5130,7 +5130,7 @@ String_11a7ac:
|
|||
db "データ<NO>よみこみを"
|
||||
next "ちゅうし しますか?@"
|
||||
|
||||
String_11a7c1: ; 11a7c1 ; new news?
|
||||
String_11a7c1:
|
||||
db "あたらしい ニュースは"
|
||||
next "ありません でした@"
|
||||
|
||||
|
|
|
@ -5076,7 +5076,7 @@ String_17fe63:
|
|||
next "せつめいしょを ごらんください"
|
||||
db "@"
|
||||
|
||||
String_17fe9a: ; 17fe9a ; unused
|
||||
String_17fe9a: ; unused
|
||||
db "ポケモンニュースが"
|
||||
next "あたらしくなっているので"
|
||||
next "レポートを おくれません"
|
||||
|
|
Loading…
Reference in New Issue