mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 15:12:18 +13:00
Rename/organize part 1 of 4
rename functions, clean up address/wram comments, other misc only broken up so that all changes are viewable on github
This commit is contained in:
parent
ae420a4d8f
commit
cd649184f5
90 changed files with 1070 additions and 1066 deletions
|
|
@ -5,7 +5,7 @@ CableClubNPC: ; 71c5 (1:71c5)
|
|||
bit 5, a ; received pokedex?
|
||||
jp nz, .receivedPokedex
|
||||
; if the player hasn't received the pokedex
|
||||
ld c, $3c
|
||||
ld c, 60
|
||||
call DelayFrames
|
||||
ld hl, CableClubNPCMakingPreparationsText
|
||||
call PrintText
|
||||
|
|
@ -72,24 +72,24 @@ CableClubNPC: ; 71c5 (1:71c5)
|
|||
ld hl, wUnknownSerialCounter
|
||||
ld a, [hli]
|
||||
inc a
|
||||
jr nz, Func_72a8 ; 0x726b $3b
|
||||
jr nz, Func_72a8
|
||||
ld a, [hl]
|
||||
inc a
|
||||
jr nz, Func_72a8 ; 0x726f $37
|
||||
jr nz, Func_72a8
|
||||
ld b, $a
|
||||
.asm_7273
|
||||
call DelayFrame
|
||||
call Serial_SendZeroByte
|
||||
dec b
|
||||
jr nz, .asm_7273 ; 0x727a $f7
|
||||
jr nz, .asm_7273
|
||||
call CloseLinkConnection
|
||||
ld hl, CableClubNPCLinkClosedBecauseOfInactivityText
|
||||
call PrintText
|
||||
jr Func_7298 ; 0x7285 $11
|
||||
jr Func_7298
|
||||
.failedToEstablishConnection
|
||||
ld hl, CableClubNPCAreaReservedFor2FriendsLinkedByCableText
|
||||
call PrintText
|
||||
jr Func_7298 ; 0x728d $9
|
||||
jr Func_7298
|
||||
.choseNo
|
||||
call CloseLinkConnection
|
||||
ld hl, CableClubNPCPleaseComeAgainText
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue