mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Up-Grade NPC
Seems to interact oddly with Saffron but I believe this is because of the way Team Rocket works. The event itself works fine. Also added the Up-Grade, as before, Porygon was evolving via Trade. Uses text referencing LGPE, and has a similar location. Because of the sprite limit in Saffron, the Pidgeot NPC has been removed.
This commit is contained in:
parent
abb9ab6aac
commit
57d79f43ed
15 changed files with 93 additions and 8 deletions
|
|
@ -18,6 +18,7 @@ SaffronCity_TextPointers:
|
|||
dw SaffronCityText14
|
||||
dw SaffronCityText15
|
||||
dw SaffronCityText16
|
||||
dw SaffronCityUpGrade
|
||||
dw SaffronCityText17
|
||||
dw SaffronCityText18
|
||||
dw MartSignText
|
||||
|
|
@ -120,3 +121,42 @@ SaffronCityText24:
|
|||
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
|
||||
|
|
@ -112,6 +112,7 @@ MissableObjectIDs_6219b:
|
|||
db HS_SAFFRON_CITY_7
|
||||
db HS_SAFFRON_CITY_E
|
||||
db HS_SAFFRON_CITY_F
|
||||
db HS_SAFFRON_CITY_UP_GRADE
|
||||
db HS_SILPH_CO_2F_2
|
||||
db HS_SILPH_CO_2F_3
|
||||
db HS_SILPH_CO_2F_4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue