mirror of
https://github.com/pret/pokeyellow.git
synced 2026-04-24 23:46:48 -05:00
65 lines
1.1 KiB
NASM
65 lines
1.1 KiB
NASM
CinnabarGymPrintGymGuideText::
|
|
CheckEvent EVENT_BEAT_BLAINE
|
|
jr nz, .afterBeat
|
|
ld hl, .ChampInMakingText
|
|
jr .done
|
|
.afterBeat
|
|
ld hl, .BeatBlaineText
|
|
.done
|
|
call PrintText
|
|
ret
|
|
|
|
.ChampInMakingText:
|
|
text_far _CinnabarGymGymGuideChampInMakingText
|
|
text_end
|
|
|
|
.BeatBlaineText:
|
|
text_far _CinnabarGymGymGuideBeatBlaineText
|
|
text_end
|
|
|
|
Func_f2150::
|
|
ld hl, TextPointers_f215d
|
|
ld d, 0
|
|
add hl, de
|
|
add hl, de
|
|
ld a, [hli]
|
|
ld h, [hl]
|
|
ld l, a
|
|
jp PrintText
|
|
|
|
TextPointers_f215d:
|
|
dw CinnabarGymText_f2169
|
|
dw CinnabarGymText_f216e
|
|
dw CinnabarGymText_f2173
|
|
dw CinnabarGymText_f2178
|
|
dw CinnabarGymText_f217d
|
|
dw CinnabarGymText_f2182
|
|
|
|
CinnabarGymText_f2169:
|
|
text_far _CinnabarGymText_1
|
|
text_end
|
|
|
|
CinnabarGymText_f216e:
|
|
text_far _CinnabarGymText_2
|
|
text_end
|
|
|
|
CinnabarGymText_f2173:
|
|
text_far _CinnabarGymText_3
|
|
text_end
|
|
|
|
CinnabarGymText_f2178:
|
|
text_far _CinnabarGymText_4
|
|
text_end
|
|
|
|
CinnabarGymText_f217d:
|
|
text_far _CinnabarGymText_5
|
|
text_end
|
|
|
|
CinnabarGymText_f2182:
|
|
text_far _CinnabarGymText_6
|
|
text_end
|
|
|
|
CinnabarGymText_f2187:
|
|
text_far _CinnabarGymText_7 ; unused
|
|
text_end
|