mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00
49 lines
733 B
NASM
49 lines
733 B
NASM
TextScriptEndingText::
|
|
text_end
|
|
|
|
TextScriptEnd::
|
|
ld hl, TextScriptEndingText
|
|
ret
|
|
|
|
ExclamationText::
|
|
text_far _ExclamationText
|
|
text_end
|
|
|
|
GroundRoseText::
|
|
text_far _GroundRoseText
|
|
text_end
|
|
|
|
BoulderText::
|
|
text_far _BoulderText
|
|
text_asm
|
|
ld a, [wObtainedBadges]
|
|
bit 3, a ; RAINBOW BADGE
|
|
jr z, .done
|
|
ld d, STRENGTH
|
|
callfar HasPartyMove
|
|
ld a, [wWhichTrade]
|
|
and a
|
|
jr nz, .done
|
|
ld a, [wWhichPokemon]
|
|
push af
|
|
call ManualTextScroll
|
|
pop af
|
|
ld [wWhichPokemon], a
|
|
call GetPartyMonName2
|
|
predef PrintStrengthTxt
|
|
.done
|
|
jp TextScriptEnd
|
|
|
|
MartSignText::
|
|
text_far _MartSignText
|
|
text_end
|
|
|
|
PokeCenterSignText::
|
|
text_far _PokeCenterSignText
|
|
text_end
|
|
|
|
PickUpItemText::
|
|
text_asm
|
|
predef PickUpItem
|
|
jp TextScriptEnd
|