mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Identify some .asm_* labels
This commit is contained in:
parent
cc98f28227
commit
8f81e71f19
20 changed files with 93 additions and 92 deletions
|
|
@ -17,9 +17,10 @@ DisplayDiploma::
|
|||
hlcoord 0, 0
|
||||
lb bc, 16, 18
|
||||
predef Diploma_TextBoxBorder
|
||||
|
||||
ld hl, DiplomaTextPointersAndCoords
|
||||
ld c, $5
|
||||
.asm_56715
|
||||
.placeTextLoop
|
||||
push bc
|
||||
ld a, [hli]
|
||||
ld e, a
|
||||
|
|
@ -34,7 +35,7 @@ DisplayDiploma::
|
|||
inc hl
|
||||
pop bc
|
||||
dec c
|
||||
jr nz, .asm_56715
|
||||
jr nz, .placeTextLoop
|
||||
hlcoord 10, 4
|
||||
ld de, wPlayerName
|
||||
call PlaceString
|
||||
|
|
|
|||
|
|
@ -79,9 +79,9 @@ SaffronCityPokecenterBenchGuyText::
|
|||
text_asm
|
||||
CheckEvent EVENT_BEAT_SILPH_CO_GIOVANNI
|
||||
ld hl, SaffronCityPokecenterBenchGuyText2
|
||||
jr nz, .asm_624f2
|
||||
jr nz, .printText
|
||||
ld hl, SaffronCityPokecenterBenchGuyText1
|
||||
.asm_624f2
|
||||
.printText
|
||||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CinnabarGymQuiz::
|
|||
call PrintText
|
||||
ld a, 1
|
||||
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
|
||||
call CinnabarGymQuiz_1ea92
|
||||
call CinnabarGymQuiz_AskQuestion
|
||||
jp TextScriptEnd
|
||||
|
||||
CinnabarGymQuizIntroText:
|
||||
|
|
@ -75,7 +75,7 @@ CinnabarGymGateFlagAction:
|
|||
EventFlagAddress hl, EVENT_CINNABAR_GYM_GATE0_UNLOCKED
|
||||
predef_jump FlagActionPredef
|
||||
|
||||
CinnabarGymQuiz_1ea92:
|
||||
CinnabarGymQuiz_AskQuestion:
|
||||
call YesNoChoice
|
||||
ldh a, [hGymGateAnswer]
|
||||
ld c, a
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ PewterGuys:
|
|||
add hl, de
|
||||
ld d, h
|
||||
ld e, l
|
||||
ld hl, PointerTable_37ce6
|
||||
ld hl, PewterGuysCoordsTable
|
||||
ld a, [wWhichPewterGuy]
|
||||
add a
|
||||
ld b, 0
|
||||
|
|
@ -48,7 +48,7 @@ PewterGuys:
|
|||
inc hl
|
||||
jr .findMatchingCoordsLoop
|
||||
|
||||
PointerTable_37ce6:
|
||||
PewterGuysCoordsTable:
|
||||
dw PewterMuseumGuyCoords
|
||||
dw PewterGymGuyCoords
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue