mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12: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
|
@ -240,7 +240,7 @@ Galarian and Paldean formes are accessed on the S.S. Anne, which now returns aft
|
||||||
Credits
|
Credits
|
||||||
====
|
====
|
||||||
* Plague von Karma - Creator of the Showdown Mod, Developer
|
* Plague von Karma - Creator of the Showdown Mod, Developer
|
||||||
* Martha's Against Humanity - Developer
|
* Martha's Against Humanity - Developer, tweaks of Albatross's sprites.
|
||||||
* Ema Skye - Developer
|
* Ema Skye - Developer
|
||||||
* pret et al - Pokémon Red and Blue Disassembly Project, many tutorials helped us!
|
* pret et al - Pokémon Red and Blue Disassembly Project, many tutorials helped us!
|
||||||
* ausma - Showdown Mod assistance
|
* ausma - Showdown Mod assistance
|
||||||
|
@ -251,7 +251,7 @@ Credits
|
||||||
* erosunica - Assistance with developing Celadon University & Citrine City, plus sources for various subjects.
|
* erosunica - Assistance with developing Celadon University & Citrine City, plus sources for various subjects.
|
||||||
* Chatot4444 - Assisting with gym scaling code
|
* Chatot4444 - Assisting with gym scaling code
|
||||||
* ZumiIsawhat? - Restorations of beta OST
|
* ZumiIsawhat? - Restorations of beta OST
|
||||||
* Helix Chamber, RacieBeep, et al - Prototype Pokémon sprites
|
* Helix Chamber, RacieBeep, loumilouminosus, Orchid, GBCRetro, & catstorm26 - Prototype Pokémon sprites
|
||||||
* Vortyne - Reused a bit of code from their pureRGB hack, which was used to assist with making MissingNo. stable. Assisted in bug fixes.
|
* Vortyne - Reused a bit of code from their pureRGB hack, which was used to assist with making MissingNo. stable. Assisted in bug fixes.
|
||||||
* Rangi - Reused a bit of code from their Red* / Blue* hack to make HMs usable in the overworld!
|
* Rangi - Reused a bit of code from their Red* / Blue* hack to make HMs usable in the overworld!
|
||||||
* 大吟醸 (Daiginjo) - Assistance in translating the Tamamushi University Student Book, allowing for an accurate adaptation of the location.
|
* 大吟醸 (Daiginjo) - Assistance in translating the Tamamushi University Student Book, allowing for an accurate adaptation of the location.
|
||||||
|
|
|
@ -195,7 +195,8 @@
|
||||||
; Saffron City events
|
; Saffron City events
|
||||||
const_next $340
|
const_next $340
|
||||||
const EVENT_GOT_TM31
|
const EVENT_GOT_TM31
|
||||||
const_skip 15
|
const EVENT_GOT_UP_GRADE
|
||||||
|
const_skip 14
|
||||||
const EVENT_DEFEATED_FIGHTING_DOJO
|
const EVENT_DEFEATED_FIGHTING_DOJO
|
||||||
const EVENT_BEAT_KARATE_MASTER
|
const EVENT_BEAT_KARATE_MASTER
|
||||||
const EVENT_BEAT_FIGHTING_DOJO_TRAINER_0
|
const EVENT_BEAT_FIGHTING_DOJO_TRAINER_0
|
||||||
|
|
|
@ -34,7 +34,7 @@ DEF SHOW EQU $15
|
||||||
const HS_SAFFRON_CITY_D ; 16
|
const HS_SAFFRON_CITY_D ; 16
|
||||||
const HS_SAFFRON_CITY_E ; 17
|
const HS_SAFFRON_CITY_E ; 17
|
||||||
const HS_SAFFRON_CITY_F ; 18
|
const HS_SAFFRON_CITY_F ; 18
|
||||||
const HS_ROUTE_2_ITEM_1 ; 19 X
|
const HS_SAFFRON_CITY_UP_GRADE ; 19
|
||||||
const HS_ROUTE_2_ITEM_2 ; 1A X
|
const HS_ROUTE_2_ITEM_2 ; 1A X
|
||||||
const HS_ROUTE_4_ITEM ; 1B X
|
const HS_ROUTE_4_ITEM ; 1B X
|
||||||
const HS_ROUTE_9_ITEM ; 1C X
|
const HS_ROUTE_9_ITEM ; 1C X
|
||||||
|
|
|
@ -116,6 +116,7 @@ DEF NUM_ITEMS EQU const_value - 1
|
||||||
const DUBIOUS_DISC ; $66
|
const DUBIOUS_DISC ; $66
|
||||||
const CITRINE_PASS ; $67
|
const CITRINE_PASS ; $67
|
||||||
const OLDSEACHART ; $68
|
const OLDSEACHART ; $68
|
||||||
|
const UP_GRADE ; $69
|
||||||
DEF NUM_FLOORS EQU const_value - 1 - NUM_ITEMS
|
DEF NUM_FLOORS EQU const_value - 1 - NUM_ITEMS
|
||||||
|
|
||||||
const_next $C4
|
const_next $C4
|
||||||
|
|
|
@ -104,4 +104,5 @@ KeyItemFlags:
|
||||||
dbit FALSE ; DUBIOUS_DISC
|
dbit FALSE ; DUBIOUS_DISC
|
||||||
dbit TRUE ; CITRINE_PASS
|
dbit TRUE ; CITRINE_PASS
|
||||||
dbit TRUE ; OLDSEACHART
|
dbit TRUE ; OLDSEACHART
|
||||||
|
dbit FALSE ; UP_GRADE
|
||||||
end_bit_array NUM_ITEMS + NUM_FLOORS
|
end_bit_array NUM_ITEMS + NUM_FLOORS
|
||||||
|
|
|
@ -105,4 +105,5 @@ ItemNames::
|
||||||
li "DUBIOUS DISC"
|
li "DUBIOUS DISC"
|
||||||
li "CITRINE PASS"
|
li "CITRINE PASS"
|
||||||
li "OLDSEACHART"
|
li "OLDSEACHART"
|
||||||
|
li "UP-GRADE"
|
||||||
assert_list_length NUM_ITEMS + NUM_FLOORS
|
assert_list_length NUM_ITEMS + NUM_FLOORS
|
||||||
|
|
|
@ -105,4 +105,5 @@ ItemPrices::
|
||||||
bcd3 3000 ; DUBIOUS_DISC
|
bcd3 3000 ; DUBIOUS_DISC
|
||||||
bcd3 0 ; CITRINE_PASS
|
bcd3 0 ; CITRINE_PASS
|
||||||
bcd3 0 ; OLDSEACHART
|
bcd3 0 ; OLDSEACHART
|
||||||
|
bcd3 3000 ; UP_GRADE
|
||||||
assert_table_length NUM_ITEMS + NUM_FLOORS
|
assert_table_length NUM_ITEMS + NUM_FLOORS
|
||||||
|
|
|
@ -292,8 +292,9 @@ SaffronCityHS:
|
||||||
db SAFFRON_CITY, $0D, HIDE
|
db SAFFRON_CITY, $0D, HIDE
|
||||||
db SAFFRON_CITY, $0E, SHOW
|
db SAFFRON_CITY, $0E, SHOW
|
||||||
db SAFFRON_CITY, $0F, HIDE
|
db SAFFRON_CITY, $0F, HIDE
|
||||||
|
db SAFFRON_CITY, $1A, HIDE
|
||||||
Route2HS:
|
Route2HS:
|
||||||
db ROUTE_2, $01, SHOW
|
;db ROUTE_2, $01, SHOW - removed for the former
|
||||||
db ROUTE_2, $02, SHOW
|
db ROUTE_2, $02, SHOW
|
||||||
Route4HS:
|
Route4HS:
|
||||||
db ROUTE_4, $03, SHOW
|
db ROUTE_4, $03, SHOW
|
||||||
|
|
|
@ -35,9 +35,10 @@ SaffronCity_Object:
|
||||||
object_event 23, 23, SPRITE_SILPH_WORKER, STAY, NONE, 9 ; person
|
object_event 23, 23, SPRITE_SILPH_WORKER, STAY, NONE, 9 ; person
|
||||||
object_event 17, 30, SPRITE_ERIKA, WALK, LEFT_RIGHT, 10 ; person
|
object_event 17, 30, SPRITE_ERIKA, WALK, LEFT_RIGHT, 10 ; person
|
||||||
object_event 30, 12, SPRITE_GENTLEMAN, STAY, DOWN, 11 ; person
|
object_event 30, 12, SPRITE_GENTLEMAN, STAY, DOWN, 11 ; person
|
||||||
object_event 31, 12, SPRITE_BIRD, STAY, DOWN, 12 ; person
|
;object_event 31, 12, SPRITE_BIRD, STAY, DOWN, 12 ; person - removed due to sprite limit
|
||||||
object_event 18, 8, SPRITE_ROCKER, STAY, UP, 13 ; person
|
object_event 18, 8, SPRITE_ROCKER, STAY, UP, 13 ; person
|
||||||
object_event 18, 22, SPRITE_ROCKET, STAY, DOWN, 14 ; person
|
object_event 18, 22, SPRITE_ROCKET, STAY, DOWN, 14 ; person
|
||||||
object_event 19, 22, SPRITE_ROCKET, STAY, DOWN, 15 ; person
|
object_event 19, 22, SPRITE_ROCKET, STAY, DOWN, 15 ; person
|
||||||
|
object_event 5, 30, SPRITE_SILPH_WORKER, STAY, DOWN, 26 ; Up-Grade NPC, hidden until Giovanni is beaten
|
||||||
|
|
||||||
def_warps_to SAFFRON_CITY
|
def_warps_to SAFFRON_CITY
|
||||||
|
|
|
@ -2506,7 +2506,7 @@ GeodudeEvosMoves:
|
||||||
|
|
||||||
PorygonEvosMoves:
|
PorygonEvosMoves:
|
||||||
; Evolutions
|
; Evolutions
|
||||||
db EV_TRADE, 1, PORYGON2
|
db EV_ITEM, UP_GRADE, 1, PORYGON2
|
||||||
db 0
|
db 0
|
||||||
; Learnset
|
; Learnset
|
||||||
db 23, PSYBEAM
|
db 23, PSYBEAM
|
||||||
|
|
|
@ -42,6 +42,7 @@ _HeartStoneDescription::
|
||||||
_ProtectorDescription::
|
_ProtectorDescription::
|
||||||
_BlkAuguriteDescription::
|
_BlkAuguriteDescription::
|
||||||
_DubiousDiscDescription::
|
_DubiousDiscDescription::
|
||||||
|
_UpGradeDescription::
|
||||||
text "Evolves certain"
|
text "Evolves certain"
|
||||||
next "kinds of #MON."
|
next "kinds of #MON."
|
||||||
prompt
|
prompt
|
||||||
|
|
|
@ -121,6 +121,7 @@ ItemUsePtrTable:
|
||||||
dw ItemUseEvoStone ; DUBIOUS_DISC
|
dw ItemUseEvoStone ; DUBIOUS_DISC
|
||||||
dw UnusableItem ; CITRINE_PASS
|
dw UnusableItem ; CITRINE_PASS
|
||||||
dw UnusableItem ; OLDSEACHART
|
dw UnusableItem ; OLDSEACHART
|
||||||
|
dw ItemUseEvoStone ; UP_GRADE
|
||||||
|
|
||||||
ItemUseBall:
|
ItemUseBall:
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ SaffronCity_TextPointers:
|
||||||
dw SaffronCityText14
|
dw SaffronCityText14
|
||||||
dw SaffronCityText15
|
dw SaffronCityText15
|
||||||
dw SaffronCityText16
|
dw SaffronCityText16
|
||||||
|
dw SaffronCityUpGrade
|
||||||
dw SaffronCityText17
|
dw SaffronCityText17
|
||||||
dw SaffronCityText18
|
dw SaffronCityText18
|
||||||
dw MartSignText
|
dw MartSignText
|
||||||
|
@ -120,3 +121,42 @@ SaffronCityText24:
|
||||||
SaffronCityText25:
|
SaffronCityText25:
|
||||||
text_far _SaffronCityText25
|
text_far _SaffronCityText25
|
||||||
text_end
|
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_7
|
||||||
db HS_SAFFRON_CITY_E
|
db HS_SAFFRON_CITY_E
|
||||||
db HS_SAFFRON_CITY_F
|
db HS_SAFFRON_CITY_F
|
||||||
|
db HS_SAFFRON_CITY_UP_GRADE
|
||||||
db HS_SILPH_CO_2F_2
|
db HS_SILPH_CO_2F_2
|
||||||
db HS_SILPH_CO_2F_3
|
db HS_SILPH_CO_2F_3
|
||||||
db HS_SILPH_CO_2F_4
|
db HS_SILPH_CO_2F_4
|
||||||
|
|
|
@ -150,3 +150,38 @@ _SaffronCityText25::
|
||||||
para "Release to be"
|
para "Release to be"
|
||||||
line "determined..."
|
line "determined..."
|
||||||
done
|
done
|
||||||
|
|
||||||
|
_UpGradePreReceiveText::
|
||||||
|
text "Huh? Did you"
|
||||||
|
line "get rid of all"
|
||||||
|
cont "those TEAM"
|
||||||
|
cont "ROCKET thugs?"
|
||||||
|
|
||||||
|
text "Thank you so"
|
||||||
|
line "much! Here,"
|
||||||
|
cont "take this!"
|
||||||
|
prompt
|
||||||
|
|
||||||
|
_ReceivedUpGradeText::
|
||||||
|
text "<PLAYER> received"
|
||||||
|
line "@"
|
||||||
|
text_ram wStringBuffer
|
||||||
|
text "!@"
|
||||||
|
text_end
|
||||||
|
|
||||||
|
_UpGradeExplanationText::
|
||||||
|
text "SILPH created"
|
||||||
|
line "PORYGON in 1995,"
|
||||||
|
cont "but even now,"
|
||||||
|
cont "it's outdated."
|
||||||
|
|
||||||
|
text "The UP-GRADE"
|
||||||
|
line "should remedy"
|
||||||
|
cont "that!"
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
|
_UpGradeNoRoomText::
|
||||||
|
text "You have no"
|
||||||
|
line "room!"
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in a new issue