Merge branch 'master' into mistress

This commit is contained in:
Thorn Avery 2023-12-05 06:39:09 +11:00
commit 64e15c75ef
35 changed files with 194 additions and 113 deletions

View file

@ -51,6 +51,8 @@
const EVENT_BEAT_VIRIDIAN_GYM_TRAINER_5 const EVENT_BEAT_VIRIDIAN_GYM_TRAINER_5
const EVENT_BEAT_VIRIDIAN_GYM_TRAINER_6 const EVENT_BEAT_VIRIDIAN_GYM_TRAINER_6
const EVENT_BEAT_VIRIDIAN_GYM_TRAINER_7 const EVENT_BEAT_VIRIDIAN_GYM_TRAINER_7
const_skip 3
const EVENT_GIOVANNIS_ROOM_DOOR_UNLOCKED
; Pewter City events ; Pewter City events
const_next $68 const_next $68

View file

@ -244,7 +244,7 @@ CredHelix:
CredFO: CredFO:
db -6, "FRENCH ORANGE@" db -6, "FRENCH ORANGE@"
CredZetaNull: CredZetaNull:
db -4, "ZETA-NULL@" db -4, "ZETA NULL@"
CredPSDevs: CredPSDevs:
db -5, "SHOWDOWN MOD@" db -5, "SHOWDOWN MOD@"
CredAus: CredAus:
@ -268,7 +268,7 @@ CredFrrf:
CredMisty: CredMisty:
db -5, "LADYMISTICUS@" db -5, "LADYMISTICUS@"
CredThornAvery: CredThornAvery:
db -4, "THORNAVERY@" db -4, "THORN AVERY@"
CredDannye: CredDannye:
db -4, "DANNYE33@" db -4, "DANNYE33@"
CredEro: CredEro:

View file

@ -1,8 +1,12 @@
PrizeMonLevelDictionary: PrizeMonLevelDictionary:
db CUBONE, 15 db ABRA, 14
db SEEL, 20
db CLEFAIRY, 20
db CACTORMUS, 20 db CACTORMUS, 20
db SQUEAMATA, 20 db SQUEAMATA, 20
db DRATINI, 20
db SCYTHER, 25 db SCYTHER, 25
db PINSIR, 25 db PINSIR, 25

View file

@ -1,32 +1,45 @@
PrizeDifferentMenuPtrs: PrizeDifferentMenuPtrs:
dw PrizeMenuMon1Entries, PrizeMenuMon1Cost dw PrizeMenuMon1Entries, PrizeMenuMon1Cost
dw PrizeMenuMon2Entries, PrizeMenuMon2Cost dw PrizeMenuMon2Entries, PrizeMenuMon2Cost
dw PrizeMenuMon3Entries, PrizeMenuMon3Cost
dw PrizeMenuTMsEntries, PrizeMenuTMsCost dw PrizeMenuTMsEntries, PrizeMenuTMsCost
NoThanksText: NoThanksText:
db "NO THANKS@" db "NO THANKS@"
PrizeMenuMon1Entries: PrizeMenuMon1Entries:
db CUBONE db ABRA
db CACTORMUS db SEEL
db SQUEAMATA db CLEFAIRY
db "@" db "@"
PrizeMenuMon1Cost: PrizeMenuMon1Cost:
bcd2 300
bcd2 500 bcd2 500
bcd2 1000 bcd2 1000
bcd2 2000
db "@" db "@"
PrizeMenuMon2Entries: PrizeMenuMon2Entries:
db CACTORMUS
db SQUEAMATA
db DRATINI
db "@"
PrizeMenuMon2Cost:
bcd2 1500
bcd2 3000
bcd2 3000
db "@"
PrizeMenuMon3Entries:
db SCYTHER db SCYTHER
db PINSIR db PINSIR
db PORYGON db PORYGON
db "@" db "@"
PrizeMenuMon2Cost: PrizeMenuMon3Cost:
bcd2 3500 bcd2 4500
bcd2 3500 bcd2 4500
bcd2 7000 bcd2 7000
db "@" db "@"

View file

@ -13,6 +13,6 @@ BrunswickGlade_Object:
def_object_events def_object_events
object_event 32, 25, SPRITE_BIRD, STAY, DOWN, 1 object_event 32, 25, SPRITE_BIRD, STAY, DOWN, 1
object_event 20, 18, SPRITE_BIRD, STAY, RIGHT, 2 object_event 20, 18, SPRITE_BIRD, STAY, RIGHT, 2
object_event 14, 8, SPRITE_BIRD, STAY, RIGHT, 3 object_event 9, 3, SPRITE_BIRD, STAY, UP, 3
def_warps_to BRUNSWICK_GLADE def_warps_to BRUNSWICK_GLADE

View file

@ -9,6 +9,6 @@ BrunswickGrotto_Object:
bg_event 22, 10, 2 ; signage bg_event 22, 10, 2 ; signage
def_object_events def_object_events
object_event 6, 4, SPRITE_BIRD, STAY, LEFT, 1, ZAPDOS_G, 70 | OW_POKEMON ; person object_event 5, 5, SPRITE_BIRD, STAY, LEFT, 1, ZAPDOS_G, 70 | OW_POKEMON ; person
def_warps_to BRUNSWICK_GROTTO def_warps_to BRUNSWICK_GROTTO

View file

@ -12,7 +12,7 @@ CopycatsHouse2F_Object:
object_event 4, 3, SPRITE_BRUNETTE_GIRL, WALK, ANY_DIR, 1 ; person object_event 4, 3, SPRITE_BRUNETTE_GIRL, WALK, ANY_DIR, 1 ; person
object_event 0, 6, SPRITE_SEEL, STAY, RIGHT, 2 ; person object_event 0, 6, SPRITE_SEEL, STAY, RIGHT, 2 ; person
object_event 5, 1, SPRITE_MONSTER, STAY, DOWN, 3 ; person object_event 5, 1, SPRITE_MONSTER, STAY, DOWN, 3 ; person
object_event 2, 0, SPRITE_BIRD, STAY, DOWN, 4 ; person object_event 1, 2, SPRITE_BIRD, STAY, DOWN, 4 ; person
object_event 4, 6, SPRITE_FAIRY, STAY, LEFT, 5 ; person object_event 4, 6, SPRITE_FAIRY, STAY, LEFT, 5 ; person
def_warps_to COPYCATS_HOUSE_2F def_warps_to COPYCATS_HOUSE_2F

View file

@ -9,9 +9,10 @@ GameCornerPrizeRoom_Object:
bg_event 2, 2, 3 ; CeladonPrizeRoomText3 bg_event 2, 2, 3 ; CeladonPrizeRoomText3
bg_event 4, 2, 4 ; CeladonPrizeRoomText4 bg_event 4, 2, 4 ; CeladonPrizeRoomText4
bg_event 6, 2, 5 ; CeladonPrizeRoomText5 bg_event 6, 2, 5 ; CeladonPrizeRoomText5
bg_event 8, 2, 6 ; CeladonPrizeRoomText6
def_object_events def_object_events
object_event 1, 4, SPRITE_BALDING_GUY, STAY, NONE, 1 ; person object_event 1, 4, SPRITE_BALDING_GUY, STAY, NONE, 1 ; person
object_event 7, 3, SPRITE_GAMBLER, WALK, LEFT_RIGHT, 2 ; person object_event 7, 4, SPRITE_GAMBLER, WALK, LEFT_RIGHT, 2 ; person
def_warps_to GAME_CORNER_PRIZE_ROOM def_warps_to GAME_CORNER_PRIZE_ROOM

View file

@ -4,13 +4,14 @@ ViridianGym_Object:
def_warp_events def_warp_events
warp_event 16, 17, LAST_MAP, 5 ; front door warp_event 16, 17, LAST_MAP, 5 ; front door
warp_event 17, 17, LAST_MAP, 5 ; front door warp_event 17, 17, LAST_MAP, 5 ; front door
warp_event 4, 2, GIOVANNIS_ROOM, 1 ; stairs warp_event 2, 0, GIOVANNIS_ROOM, 1 ; stairs
warp_event 3, 0, GIOVANNIS_ROOM, 1 ; stairs
def_bg_events def_bg_events
def_object_events def_object_events
object_event 4, 3, SPRITE_GIOVANNI, STAY, DOWN, 1, OPP_GIOVANNI, 3 object_event 2, 2, SPRITE_GIOVANNI, STAY, DOWN, 1, OPP_GIOVANNI, 3
object_event 12, 7, SPRITE_COOLTRAINER_M, STAY, DOWN, 2, OPP_COOLTRAINER_M, 9 object_event 12, 7, SPRITE_COOLTRAINER_M, STAY, DOWN, 2, OPP_COOLTRAINER_M, 9
object_event 11, 11, SPRITE_HIKER, STAY, UP, 3, OPP_BLACKBELT, 13 object_event 11, 11, SPRITE_HIKER, STAY, UP, 3, OPP_BLACKBELT, 13
object_event 10, 7, SPRITE_ROCKER, STAY, DOWN, 4, OPP_TAMER, 3 object_event 10, 7, SPRITE_ROCKER, STAY, DOWN, 4, OPP_TAMER, 3

View file

@ -249,13 +249,13 @@ _TotartleDexEntry::
dex dex
_WeirduckDexEntry:: _WeirduckDexEntry::
text "It exhibits odd" text "WEIRDUCK exhibits"
next "mannerisms as" next "odd mannerisms as"
next "it attempts to" next "it attempts to"
page "control its" page "keep its still-"
next "developing" next "developing PSI"
next "psychic powers" next "under control"
dex dex
_CroakozunaDexEntry:: _CroakozunaDexEntry::
@ -269,22 +269,22 @@ _CroakozunaDexEntry::
dex dex
_GorotoraDexEntry:: _GorotoraDexEntry::
text "Its growls sound" text "It is said that"
next "like rolling" next "only the bravest"
next "thunder. It can"
page "only be tamed"
next "by the bravest"
next "#MON trainers" next "#MON trainers"
page "can tame it. Its"
next "growls sound like"
next "rolling thunder"
dex dex
_OmegadgeDexEntry:: _OmegadgeDexEntry::
text "A recent creation" text "Modeled after the"
next "by SILPH CO." next "extinct GAWARHED,"
next "Modeled after the" next "this recent SILPH"
page "extinct GAWARHED," page "invention is said"
next "it's said to pack" next "to pack truly"
next "devastating power" next "devastating power"
dex dex
@ -299,8 +299,8 @@ _TriculesDexEntry:: ; Official entry from GS beta, reworded
dex dex
_TrampelDexEntry:: _TrampelDexEntry::
text "A rare species" text "This rare species"
next "that's well-known" next "is very well-known"
next "in India. It has" next "in India. It has"
page "a bulky physique," page "a bulky physique,"
@ -321,9 +321,9 @@ _GavillainDexEntry::
_PendrakenDexEntry:: _PendrakenDexEntry::
text "It often clashes" text "It often clashes"
next "with TENTACRUEL." next "with TENTACRUEL."
next "Sprays ink into" next "It sprays ink in"
page "its foe's eyes," page "its foe's face,"
next "disorienting it" next "disorienting it"
next "before attacking" next "before attacking"
dex dex
@ -339,11 +339,11 @@ _MagnetiteDexEntry::
dex dex
_NidoreignDexEntry:: ; The Nidos are based on the Moon Rabbit of East Asian mythology, so we're expanding on this with actual moon references. _NidoreignDexEntry:: ; The Nidos are based on the Moon Rabbit of East Asian mythology, so we're expanding on this with actual moon references.
text "It's said to come" text "Said to have come"
next "from the moon." next "from the moon. It"
next "Its poisonous" next "has toxic spines"
page "spines are used" page "which can be used"
next "to make powerful" next "to make powerful"
next "MAX ELIXERs" next "MAX ELIXERs"
dex dex
@ -391,15 +391,15 @@ _DisturbanDexEntry::
_GentlarvaDexEntry:: _GentlarvaDexEntry::
text "Closely related to" text "Closely related to"
next "WEEDLE. Due to the" next "WEEDLE. Due to the"
next "lack of a horn," next "lack of a horn, it"
page "it hides under" page "hides under tall"
next "trees, gnawing" next "trees, gnawing on"
next "their roots" next "their roots"
dex dex
_PupalDexEntry:: _PupalDexEntry::
text "While awaiting" text "While it awaits"
next "evolution, it" next "evolution, it"
next "barely moves. If" next "barely moves. If"
@ -584,8 +584,8 @@ _LickilickyDexEntry::
next "prey, leaving it" next "prey, leaving it"
page "covered with a" page "covered with a"
next "saliva that" next "saliva that can"
next "causes numbness" next "cause numbness"
dex dex
_MagnezoneDexEntry:: _MagnezoneDexEntry::
@ -721,11 +721,11 @@ _SandyShocksDexEntry::
_MeltanDexEntry:: _MeltanDexEntry::
text "Typically living" text "Typically living"
next "in a group, this" next "in a group, this"
next "#MON eats iron" next "#MON absorbs"
page "particles that" page "particles of iron"
next "it finds in the" next "that it finds"
next "subsoil" next "in the subsoil"
dex dex
_MelmetalDexEntry:: _MelmetalDexEntry::
@ -769,23 +769,23 @@ _PerrserkerDexEntry::
dex dex
_ArticunoGDexEntry:: _ArticunoGDexEntry::
text "From its eyes," text "From its eyes, it"
next "it fires beams" next "fires PSI beams,"
next "which can stun" next "which can stun and"
page "and immobilize" page "immobilize foes as"
next "foes as if they" next "if they had been"
next "had been frozen" next "frozen solid"
dex dex
_ZapdosGDexEntry:: _ZapdosGDexEntry::
text "Its leg muscles" text "As it runs, its"
next "are so powerful" next "feathers make a"
next "that one kick can" next "crackling sound."
page "pulverize a dump" page "One kick from its"
next "truck. It runs" next "mighty legs can"
next "at over 180 mph" next "demolish a truck"
dex dex
_MoltresGDexEntry:: _MoltresGDexEntry::
@ -793,8 +793,8 @@ _MoltresGDexEntry::
next "that surrounds it" next "that surrounds it"
next "is said to burn" next "is said to burn"
page "the spirit of" page "the spirit of any"
next "any creature that" next "creature that"
next "wanders too close" next "wanders too close"
dex dex
@ -803,7 +803,7 @@ _ArcanineHDexEntry::
next "rock-like feel." next "rock-like feel."
next "It dances around" next "It dances around"
page "its foe before" page "its foe, before"
next "biting it in a" next "biting it in a"
next "vicious rage" ; reference to Raging Fury next "vicious rage" ; reference to Raging Fury
dex dex
@ -824,7 +824,7 @@ _RaticateADexEntry:: ; this entry hypercompresses most Gen 7 entries
next "greedily order" next "greedily order"
page "its subjects to" page "its subjects to"
next "gather large" next "gather incredible"
next "amounts of food" next "amounts of food"
dex dex
@ -840,11 +840,11 @@ _RaichuADexEntry::
_SandslashADexEntry:: _SandslashADexEntry::
text "It adapted to a" text "It adapted to a"
next "frigid region." next "frigid region. A"
next "Wounds caused" next "wound caused by"
page "by SANDSLASH" page "its sharp claws"
next "cause severe" next "can cause severe"
next "frostbite" next "frostbite"
dex dex
@ -869,9 +869,9 @@ _DugtrioADexEntry::
dex dex
_PersianADexEntry:: _PersianADexEntry::
text "Its round face" text "Its round face is"
next "is a symbol of" next "seen as a symbol"
next "prosperity." next "of prosperity."
page "Despite this, it" page "Despite this, it"
next "prefers to fight" next "prefers to fight"
@ -879,9 +879,9 @@ _PersianADexEntry::
dex dex
_GolemADexEntry:: _GolemADexEntry::
text "It fires rocks" text "It charges rocks"
next "charged with" next "with electricity,"
next "electricity." next "then fires them."
page "If it can't find" page "If it can't find"
next "ammo, it may fire" next "ammo, it may fire"
@ -919,9 +919,9 @@ _SlowkingGDexEntry::
dex dex
_MukADexEntry:: _MukADexEntry::
text "Over 100 kinds" text "Its body contains"
next "of poison make" next "over 100 different"
next "up its body." next "kinds of poison."
page "While friendly," page "While friendly,"
next "it must be fed" next "it must be fed"

View file

@ -1326,8 +1326,6 @@ MewtwoTradebackMoves:
db 1, THUNDERPUNCH db 1, THUNDERPUNCH
db 1, HEADBUTT db 1, HEADBUTT
db 1, FLAMETHROWER db 1, FLAMETHROWER
db 1, WATERFALL
db 1, ROAR
db 0 db 0
SnorlaxTradebackMoves: SnorlaxTradebackMoves:

View file

@ -75,7 +75,7 @@ Citrine_Coll::
coll_tiles $2C, $31, $3F, $55, $0E, $2F, $23, $20, $10, $03, $1C, $1B, $0B, $0C, $21, $39, $3C, $48, $49, $58, $59 coll_tiles $2C, $31, $3F, $55, $0E, $2F, $23, $20, $10, $03, $1C, $1B, $0B, $0C, $21, $39, $3C, $48, $49, $58, $59
Celeste_Coll:: Celeste_Coll::
coll_tiles $1e, $20, $2e, $30, $34, $37, $39, $3a, $40, $51, $52, $5a, $5c, $5e, $5f, $09, $08, $18, $19, $0c, $1c coll_tiles $1e, $20, $2e, $30, $34, $37, $39, $40, $51, $52, $5a, $5c, $5e, $5f, $09, $08, $18, $19, $0c, $1c
RocketHouse_Coll:: RocketHouse_Coll::
coll_tiles $13, $31, $01, $53 coll_tiles $13, $31, $01, $53

View file

@ -11,10 +11,12 @@ WaterTilesets:
db PLATEAU db PLATEAU
db CITRINE db CITRINE
db CELESTE db CELESTE
db SEAGALLOPPORT
db -1 ; end db -1 ; end
NonShoreTilesets: NonShoreTilesets:
db GYM db GYM
db SEAGALLOPPORT
db SHIP_PORT db SHIP_PORT
db DOJO db DOJO
db -1 ; end db -1 ; end

View file

@ -88,7 +88,7 @@ GetPrizeMenuId:
ld bc, 6 ld bc, 6
call CopyData call CopyData
ld a, [wWhichPrizeWindow] ld a, [wWhichPrizeWindow]
cp 2 ;is TM_menu? cp 3 ;is TM_menu?
jr nz, .putMonName jr nz, .putMonName
ld a, [wPrize1] ld a, [wPrize1]
ld [wd11e], a ld [wd11e], a
@ -194,7 +194,7 @@ HandlePrizeChoice:
ld a, [hl] ld a, [hl]
ld [wd11e], a ld [wd11e], a
ld a, [wWhichPrizeWindow] ld a, [wWhichPrizeWindow]
cp 2 ; is prize a TM? cp 3 ; is prize a TM?
jr nz, .getMonName jr nz, .getMonName
call GetItemName call GetItemName
jr .givePrize jr .givePrize
@ -211,7 +211,7 @@ HandlePrizeChoice:
call HasEnoughCoins call HasEnoughCoins
jr c, .notEnoughCoins jr c, .notEnoughCoins
ld a, [wWhichPrizeWindow] ld a, [wWhichPrizeWindow]
cp $02 cp $03
jr nz, .giveMon jr nz, .giveMon
ld a, [wd11e] ld a, [wd11e]
ld b, a ld b, a

View file

@ -171,6 +171,8 @@ SetPal_Overworld:
jp z, .brunswick jp z, .brunswick
cp SILPH_GAUNTLET_3F cp SILPH_GAUNTLET_3F
jp z, .ship jp z, .ship
cp VERMILION_FERRY_DOCK
jp z, .ship
cp GAME_CORNER cp GAME_CORNER
jp z, .pachinko jp z, .pachinko
cp GAME_CORNER_PRIZE_ROOM cp GAME_CORNER_PRIZE_ROOM
@ -185,6 +187,8 @@ SetPal_Overworld:
jp z, .pachinko jp z, .pachinko
cp ROCKET_HIDEOUT_ELEVATOR cp ROCKET_HIDEOUT_ELEVATOR
jp z, .pachinko jp z, .pachinko
cp GIOVANNIS_ROOM
jp z, .pachinko
cp FARAWAY_ISLAND_OUTSIDE cp FARAWAY_ISLAND_OUTSIDE
jp z, .faraway jp z, .faraway
cp FARAWAY_ISLAND_INSIDE cp FARAWAY_ISLAND_INSIDE
@ -197,6 +201,10 @@ SetPal_Overworld:
jp z, .celeste jp z, .celeste
cp CELESTE_HILL cp CELESTE_HILL
jp z, .celeste jp z, .celeste
cp CITRINE_FERRY_DOCK
jp z, .citrine
cp SEAGALLOP_FERRY
jp z, .ferry
cp SILPH_GAUNTLET_5F cp SILPH_GAUNTLET_5F
jp z, .trans jp z, .trans
cp CERULEAN_CAVE_2F cp CERULEAN_CAVE_2F
@ -280,6 +288,12 @@ SetPal_Overworld:
.faraway .faraway
ld a, PAL_ROUTE - 1 ld a, PAL_ROUTE - 1
jr .town jr .town
.citrine
ld a, PAL_CITRINE - 1
jr .town
.ferry
ld a, PAL_BLUEMON - 1
jr .town
; used when a Pokemon is the only thing on the screen ; used when a Pokemon is the only thing on the screen
; such as evolution, trading and the Hall of Fame ; such as evolution, trading and the Hall of Fame

View file

@ -382,6 +382,8 @@ DisplayWildLocations:
call LoadTownMapEntry call LoadTownMapEntry
pop hl pop hl
ld a, [de] ld a, [de]
cp $0C ; Bill's Garden's coordinates
jr z, .nextEntry ; skip
cp $16 ; Mt. Moon Crater's coordinates cp $16 ; Mt. Moon Crater's coordinates
jr z, .nextEntry ; skip jr z, .nextEntry ; skip
cp $19 ; Cerulean Cave's coordinates cp $19 ; Cerulean Cave's coordinates

Binary file not shown.

View file

@ -1,2 +1,2 @@
X(( ,(nHI((((/ Xg;"Z7bbb
78. ((((,( 77g) ((:7 (((((I( g,,_(gg_)#g_./ZU,_}}}}I_UgU(_;_(U._8_(Ug7 .L8_(U_6/g,(gY 7 $g)g. 7779 g):7 )I( g,,_(gg_)#g_.bZU_}}}}I_UgU_;_U._8_bUg7.L8_aU_6igbhgY

View file

@ -1,2 +1,2 @@
 <=>Z@AB_DGF  8:.9 abbi).a_h6;h bbL4b
5)g.;;55g!gggg)gggg_ g9Ig45M)~;554g~Mg~.Y  g.;;55g!agg)ggggh g9Ig45M)~;554g~Mbg~.Y

View file

@ -1 +1 @@
…B@ƒ…B@ƒ…B@ƒ$.%…B@ƒ…B@ƒ…B@ƒaU_a…B@ƒiU_i…B@ƒj<C692><6A><EFBFBD><EFBFBD>ˆ…B@†<>s)<>‡BDEFYDEF …B@ƒ…B@ƒ…B@ƒ$.%…B@ƒ…B@ƒ…B@ƒaU_a…B@ƒiaai…B@ƒj<C692>jŠj<EFBFBD>ˆ…B@†<>s)<>‡BDEFYDEF

View file

@ -1 +1 @@
?@@@?>>>>> = ?@@@@>>>>> =

View file

@ -1 +1 @@
............@AABAAAAB..DoF:;F..@+B 55..DwEF GF..DwEF 5'F..DwEF 59..DwEF'..H J55..DF555..DF*+AAB..DGGq^..D SCG5..HIIJ3333J. ............@AABAAAAB..DnF:;F..@+B 55..DwEF GF..DwEF 5'F..DwEF 59..DwEF'..H J55..DF555..DF*+AAB..DGGq^..D SCG5..HIIJ3333J.

View file

@ -1 +1 @@
III_]KMp[qWFF^\KUUKqLRFFFPHH[L@KMLaDKQ`G,XHHHZbCEWFFFY21@AB IJ_]KLqWFF^\KUKqLRFFFPHH[L@KMLaDKQ`G,XHHHZbCEWFFFY21@AB

View file

@ -43,14 +43,14 @@ CeruleanGymMistyPostBattle:
ld [wJoyIgnore], a ld [wJoyIgnore], a
CeruleanGymReceiveTM11: CeruleanGymReceiveTM11:
ld a, $7 ld a, $6
ldh [hSpriteIndexOrTextID], a ldh [hSpriteIndexOrTextID], a
call DisplayTextID call DisplayTextID
SetEvent EVENT_BEAT_MISTY SetEvent EVENT_BEAT_MISTY
lb bc, TM_BUBBLEBEAM, 1 lb bc, TM_BUBBLEBEAM, 1
call GiveItem call GiveItem
jr nc, .BagFull jr nc, .BagFull
ld a, $6 ld a, $7
ldh [hSpriteIndexOrTextID], a ldh [hSpriteIndexOrTextID], a
call DisplayTextID call DisplayTextID
SetEvent EVENT_GOT_TM11 SetEvent EVENT_GOT_TM11

View file

@ -1,4 +1,6 @@
CitrineFerryDock_Script: CitrineFerryDock_Script:
ld a, CITRINE_CITY
ld [wLastMap], a
jp EnableAutoTextBoxDrawing jp EnableAutoTextBoxDrawing
CitrineFerryDock_TextPointers: CitrineFerryDock_TextPointers:

View file

@ -7,6 +7,7 @@ GameCornerPrizeRoom_TextPointers:
dw CeladonPrizeRoomText3 dw CeladonPrizeRoomText3
dw CeladonPrizeRoomText3 dw CeladonPrizeRoomText3
dw CeladonPrizeRoomText3 dw CeladonPrizeRoomText3
dw CeladonPrizeRoomText3
CeladonPrizeRoomText1: CeladonPrizeRoomText1:
text_far _CeladonPrizeRoomText1 text_far _CeladonPrizeRoomText1

View file

@ -778,6 +778,9 @@ OmegaText:
OmegaBattleText: OmegaBattleText:
text_far _OmegaBattleText text_far _OmegaBattleText
text_asm text_asm
ld a, OMEGADGE
call PlayCry
call WaitForSoundToFinish
jp TextScriptEnd jp TextScriptEnd
Omega2Text: Omega2Text:

View file

@ -1,4 +1,6 @@
VermilionFerryDock_Script: VermilionFerryDock_Script:
ld a, VERMILION_CITY
ld [wLastMap], a
jp EnableAutoTextBoxDrawing jp EnableAutoTextBoxDrawing
VermilionFerryDock_TextPointers: VermilionFerryDock_TextPointers:

View file

@ -1,4 +1,5 @@
ViridianGym_Script: ViridianGym_Script:
call ViridianGymDoorCallbackScript
ld hl, .CityName ld hl, .CityName
ld de, .LeaderName ld de, .LeaderName
call LoadGymLeaderAndCityName call LoadGymLeaderAndCityName
@ -16,6 +17,22 @@ ViridianGym_Script:
.LeaderName: .LeaderName:
db "GIOVANNI@" db "GIOVANNI@"
ViridianGymDoorCallbackScript:
ld hl, wCurrentMapScriptFlags
bit 5, [hl]
res 5, [hl]
ret z
CheckEvent EVENT_GIOVANNIS_ROOM_DOOR_UNLOCKED
jr z, .blockExitToNextRoom
ld a, $5
jp .setExitBlock
.blockExitToNextRoom
ld a, $24
.setExitBlock
ld [wNewTileBlockID], a
lb bc, 0, 1
predef_jump ReplaceTileBlock
ViridianGymResetScripts: ViridianGymResetScripts:
xor a xor a
ld [wJoyIgnore], a ld [wJoyIgnore], a
@ -29,6 +46,7 @@ ViridianGym_ScriptPointers:
dw EndTrainerBattle dw EndTrainerBattle
dw ViridianGymGiovanniPostBattle dw ViridianGymGiovanniPostBattle
dw ViridianGymScript4 dw ViridianGymScript4
dw ViridianGymOpenTheDoor
ViridianGymScript0: ViridianGymScript0:
ld a, [wYCoord] ld a, [wYCoord]
@ -161,6 +179,15 @@ ViridianGymReceiveTM27:
SetEvents EVENT_2ND_ROUTE22_RIVAL_BATTLE, EVENT_ROUTE22_RIVAL_WANTS_BATTLE SetEvents EVENT_2ND_ROUTE22_RIVAL_BATTLE, EVENT_ROUTE22_RIVAL_WANTS_BATTLE
jp ViridianGymResetScripts jp ViridianGymResetScripts
ViridianGymOpenTheDoor:
ld a, SFX_GO_INSIDE
call PlaySound
SetEvent EVENT_GIOVANNIS_ROOM_DOOR_UNLOCKED
ld a, $5
ld [wNewTileBlockID], a
lb bc, 0, 1
predef_jump ReplaceTileBlock
ViridianGym_TextPointers: ViridianGym_TextPointers:
dw GiovanniText dw GiovanniText
dw ViridianGymTrainerText1 dw ViridianGymTrainerText1
@ -217,6 +244,7 @@ GiovanniText:
predef HideObject predef HideObject
call UpdateSprites call UpdateSprites
call Delay3 call Delay3
call ViridianGymOpenTheDoor
call GBFadeInFromBlack call GBFadeInFromBlack
jr .done jr .done
.beforeBeat .beforeBeat

View file

@ -267,7 +267,6 @@ INCLUDE "data/text/text_6.asm"
SECTION "Text 11", ROMX SECTION "Text 11", ROMX
INCLUDE "data/text/text_7.asm" INCLUDE "data/text/text_7.asm"
INCLUDE "data/pokemon/new_dex_text.asm"
INCLUDE "text/CeladonUniversityOutside.asm" INCLUDE "text/CeladonUniversityOutside.asm"
INCLUDE "text/CeladonUniversityInside.asm" INCLUDE "text/CeladonUniversityInside.asm"
INCLUDE "text/CeladonUniversityPokecenter.asm" INCLUDE "text/CeladonUniversityPokecenter.asm"
@ -308,6 +307,7 @@ INCLUDE "data/pokemon/dex_text.asm"
SECTION "Move Names", ROMX SECTION "Move Names", ROMX
INCLUDE "data/moves/names.asm" INCLUDE "data/moves/names.asm"
INCLUDE "data/pokemon/new_dex_text.asm"
SECTION "Item Descriptions", ROMX SECTION "Item Descriptions", ROMX

View file

@ -6,9 +6,9 @@ _CelesteHillSign::
text "When the sun" text "When the sun"
line "shines upon this" line "shines upon this"
cont "hill, the cruel" cont "hill, the cruel"
cont "pretenders to" cont "pretenders to the"
cont "the winged" cont "winged mirages"
cont "mirages will" cont "will come to"
cont "come to roost." cont "roost."
done done

View file

@ -69,7 +69,7 @@ FanClubChairStoryText::
cont "love it!" cont "love it!"
para "Hug it...when..." para "Hug it...when..."
cont "sleeping...warm" line "sleeping...warm"
cont "and cuddly..." cont "and cuddly..."
cont "spectacular..." cont "spectacular..."
cont "ravishing..." cont "ravishing..."

View file

@ -71,7 +71,7 @@ _SilphCo11Text2::
done done
_SilphCo11Text3:: _SilphCo11Text3::
text "Ah <PLAYER>!" text "Ah, <PLAYER>!"
line "So we meet again!" line "So we meet again!"
para "The CHIEF and" para "The CHIEF and"
@ -88,7 +88,7 @@ _SilphCo11Text3::
done done
_SilphCo10Text_62330:: _SilphCo10Text_62330::
text "Arrgh!!" text "Arrgh!"
line "I lost again!?" line "I lost again!?"
prompt prompt
@ -148,7 +148,7 @@ _SilphCo10Text_6237b::
_OmegaBattleText:: _OmegaBattleText::
text "Bzzt! Clank!" text "Bzzt! Clank!"
prompt text_end
; Fun fact: For some reason, this text is stored in 10F. Seems to be a beta element - they ARE encountered in 11F. ; Fun fact: For some reason, this text is stored in 10F. Seems to be a beta element - they ARE encountered in 11F.
_SilphCoJessieJamesText1:: _SilphCoJessieJamesText1::

View file

@ -103,14 +103,18 @@ _VermilionGymEndBattleText3::
prompt prompt
_VermilionGymAfterBattleText3:: _VermilionGymAfterBattleText3::
text "LT.SURGE set up" text "Here's a hint!"
line "double locks!"
cont "Here's a hint!"
para "When you open the" para "When you open the"
line "1st lock, the 2nd" line "1st lock, the 2nd"
cont "lock is right" cont "lock is right"
cont "next to it!" cont "next to it!"
para "Though, half the"
line "time, the wiring"
cont "messes up, and"
cont "it'll be in the"
cont "top left can..."
done done
_VermilionGymGuidePreBattleText:: _VermilionGymGuidePreBattleText::

View file

@ -2,14 +2,18 @@ _GiovanniPreBattleText::
text "Fwahahaha! This is" text "Fwahahaha! This is"
line "my hideout!" line "my hideout!"
para "Once again, you" para "I planned to"
line "thwart me!" line "resurrect TEAM"
cont "ROCKET here!"
para "But once again,"
line "you thwart me."
cont "So be it! This" cont "So be it! This"
cont "time, I'm not" cont "time, I'm not"
cont "holding back!" cont "holding back!"
para "Once more, you" para "Once more, you"
line "shall face" line "shall face me,"
cont "GIOVANNI, the" cont "GIOVANNI, the"
cont "greatest trainer!" cont "greatest trainer!"
done done
@ -26,13 +30,13 @@ _ReceivedEarthBadgeText::
_GiovanniPostBattleAdviceText:: _GiovanniPostBattleAdviceText::
text "Having lost, I" text "Having lost, I"
line "cannot face my" line "cannot face my"
cont "underlings!" cont "underlings..."
cont "TEAM ROCKET is" cont "TEAM ROCKET is"
cont "finished forever!" cont "finished forever!"
para "I will dedicate my" para "I will dedicate my"
line "life to the study" line "life to the study"
cont "of #MON!" cont "of #MON."
para "Let us meet again" para "Let us meet again"
line "some day!" line "some day!"
@ -42,7 +46,7 @@ _GiovanniPostBattleAdviceText::
_GiovanniEarthBadgeInfoText:: _GiovanniEarthBadgeInfoText::
text "The EARTHBADGE" text "The EARTHBADGE"
line "is evidence of" line "is evidence of"
line "your mastery as a" cont "your mastery as a"
cont "#MON trainer!" cont "#MON trainer!"
para "With it, you can" para "With it, you can"