mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00

More still need to be done but I'm separating the commits so I don't get overwhelmed lol - Fixes a bug with the Up-Grade NPC in Saffron. He now properly shows up only after defeating Giovanni. - Fixes a bug where Silph could be entered before receiving the Poke Flute. - Silph Gauntlet 5F has a complete remodel, more closely matching the original map found in the leaks. - One of the Fuchsia Gym Trainers no longer uses a repeat Arbok. - Wiglett and Wugtrio could learn Rock Slide via TM, which has now been fixed. - Jacky uses a Porygon in place of Machop, as it ties into his polygonal, Virtua Fighter-inspired sprite. - Chief uses a Gengar instead of Porygon2 to represent the Silph Scope. - Omega's and Giovanni 2's levels have been toned down slightly. - Lance now uses Crocky over Aerodactyl. - Yujirou's non-initial teams have had their levels reduced to be the same level as the previously-fought Gym Leader, rather than the upcoming one. - Updated README with additional credits.
156 lines
2.5 KiB
NASM
156 lines
2.5 KiB
NASM
SaffronCity_Script:
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
SaffronCity_TextPointers:
|
|
dw SaffronCityText1
|
|
dw SaffronCityText2
|
|
dw SaffronCityText3
|
|
dw SaffronCityText4
|
|
dw SaffronCityText5
|
|
dw SaffronCityText6
|
|
dw SaffronCityText7
|
|
dw SaffronCityText8
|
|
dw SaffronCityText9
|
|
dw SaffronCityText10
|
|
dw SaffronCityText11
|
|
dw SaffronCityText13
|
|
dw SaffronCityText14
|
|
dw SaffronCityText15
|
|
dw SaffronCityUpGrade
|
|
dw SaffronCityText16
|
|
dw SaffronCityText17
|
|
dw SaffronCityText18
|
|
dw MartSignText
|
|
dw SaffronCityText20
|
|
dw SaffronCityText21
|
|
dw SaffronCityText22
|
|
dw PokeCenterSignText
|
|
dw SaffronCityText24
|
|
dw SaffronCityText25
|
|
|
|
SaffronCityText1:
|
|
text_far _SaffronCityText1
|
|
text_end
|
|
|
|
SaffronCityText2:
|
|
text_far _SaffronCityText2
|
|
text_end
|
|
|
|
SaffronCityText3:
|
|
text_far _SaffronCityText3
|
|
text_end
|
|
|
|
SaffronCityText4:
|
|
text_far _SaffronCityText4
|
|
text_end
|
|
|
|
SaffronCityText5:
|
|
text_far _SaffronCityText5
|
|
text_end
|
|
|
|
SaffronCityText6:
|
|
text_far _SaffronCityText6
|
|
text_end
|
|
|
|
SaffronCityText7:
|
|
text_far _SaffronCityText7
|
|
text_end
|
|
|
|
SaffronCityText8:
|
|
text_far _SaffronCityText8
|
|
text_end
|
|
|
|
SaffronCityText9:
|
|
text_far _SaffronCityText9
|
|
text_end
|
|
|
|
SaffronCityText10:
|
|
text_far _SaffronCityText10
|
|
text_end
|
|
|
|
SaffronCityText11:
|
|
text_far _SaffronCityText11
|
|
text_end
|
|
|
|
SaffronCityText13:
|
|
text_far _SaffronCityText13
|
|
text_end
|
|
|
|
SaffronCityText14:
|
|
text_far _SaffronCityText14
|
|
text_end
|
|
|
|
SaffronCityText15:
|
|
text_far _SaffronCityText15
|
|
text_end
|
|
|
|
SaffronCityText16:
|
|
text_far _SaffronCityText16
|
|
text_end
|
|
|
|
SaffronCityText17:
|
|
text_far _SaffronCityText17
|
|
text_end
|
|
|
|
SaffronCityText18:
|
|
text_far _SaffronCityText18
|
|
text_end
|
|
|
|
SaffronCityText20:
|
|
text_far _SaffronCityText20
|
|
text_end
|
|
|
|
SaffronCityText21:
|
|
text_far _SaffronCityText21
|
|
text_end
|
|
|
|
SaffronCityText22:
|
|
text_far _SaffronCityText22
|
|
text_end
|
|
|
|
SaffronCityText24:
|
|
text_far _SaffronCityText24
|
|
text_end
|
|
|
|
SaffronCityText25:
|
|
text_far _SaffronCityText25
|
|
text_end
|
|
|
|
SaffronCityUpGrade:
|
|
text_asm
|
|
CheckEvent EVENT_GOT_UP_GRADE
|
|
jr nz, .got_item
|
|
ld hl, UpGradePreReceiveText
|
|
call PrintText
|
|
lb bc, UP_GRADE, 1
|
|
call GiveItem
|
|
jr nc, .bag_full
|
|
ld hl, ReceivedUpGradeText
|
|
call PrintText
|
|
SetEvent EVENT_GOT_UP_GRADE
|
|
jr .done
|
|
.bag_full
|
|
ld hl, UpGradeNoRoomText
|
|
call PrintText
|
|
jr .done
|
|
.got_item
|
|
ld hl, UpGradeExplanationText
|
|
call PrintText
|
|
.done
|
|
jp TextScriptEnd
|
|
|
|
UpGradePreReceiveText::
|
|
text_far _UpGradePreReceiveText
|
|
text_end
|
|
|
|
ReceivedUpGradeText::
|
|
text_far _ReceivedUpGradeText
|
|
text_end
|
|
|
|
UpGradeNoRoomText::
|
|
text_far _UpGradeNoRoomText
|
|
text_end
|
|
|
|
UpGradeExplanationText::
|
|
text_far _UpGradeExplanationText
|
|
text_end |