Finish the Pewter Museum of Science

This fixes all the bugs with the Scarlet Book and Sada. Thanks to Vortiene for the help!
This commit is contained in:
May Evans 2022-12-06 00:20:10 +00:00
parent c678a329a4
commit 1042a9759b
8 changed files with 32 additions and 45 deletions

View file

@ -242,7 +242,7 @@ ViridianGymHiddenObjects:
Museum1FHiddenObjects: Museum1FHiddenObjects:
hidden_object 2, 3, SPRITE_FACING_UP, AerodactylFossil hidden_object 2, 3, SPRITE_FACING_UP, AerodactylFossil
hidden_object 2, 6, SPRITE_FACING_UP, KabutopsFossil hidden_object 2, 6, SPRITE_FACING_UP, KabutopsFossil
hidden_object 3, 3, SPRITE_FACING_UP, ScarletBook hidden_object 7, 1, SPRITE_FACING_UP, ScarletBook
db -1 ; end db -1 ; end
PewterGymHiddenObjects: PewterGymHiddenObjects:

View file

@ -16,6 +16,6 @@ Museum1F_Object:
object_event 15, 2, SPRITE_SCIENTIST, STAY, DOWN, 3 ; person object_event 15, 2, SPRITE_SCIENTIST, STAY, DOWN, 3 ; person
object_event 17, 4, SPRITE_SCIENTIST, STAY, NONE, 4 ; person object_event 17, 4, SPRITE_SCIENTIST, STAY, NONE, 4 ; person
object_event 16, 2, SPRITE_OLD_AMBER, STAY, NONE, 5 ; person object_event 16, 2, SPRITE_OLD_AMBER, STAY, NONE, 5 ; person
object_event 1, 1, SPRITE_COOLTRAINER_F, STAY, NONE, 6 ; person object_event 6, 2, SPRITE_COOLTRAINER_F, STAY, NONE, 6 ; person
def_warps_to MUSEUM_1F def_warps_to MUSEUM_1F

View file

@ -589,7 +589,7 @@ _KabutopsFossilText::
cont "rare #MON." cont "rare #MON."
done done
_ScarletBook1:: ; please don't overflow please don't overflow _ScarletBook1::
text "A member of our" text "A member of our"
line "survey team" line "survey team"
cont "photographed an" cont "photographed an"
@ -597,41 +597,24 @@ _ScarletBook1:: ; please don't overflow please don't overflow
cont "JIGGLYPUFF-like" cont "JIGGLYPUFF-like"
cont "#MON." cont "#MON."
text "It has been" para "It has been named"
line "named" line "SCREAM TAIL."
cont "SCREAM TAIL."
done done
_ScarletBook2:: _ScarletBook2::
text "It is very"
line "aggressive, and"
cont "attacks all in"
cont "sight."
text "We need to be"
line "more careful."
text "Another team" text "Another team"
line "got back. They" line "returned. They"
cont "were attacked by" cont "were attacked by"
cont "a MAGNETON that" cont "a MAGNETON that"
cont "looked like a" cont "looked like a"
cont "a tyrannosaur." cont "a tyrannosaur."
done para "We called it"
line "SANDY SHOCKS."
_ScarletBook3:: para "These #MON must"
text "These #MON are" line "be contained."
line "far too strong."
text "Their power is"
line "beyond mankind's"
cont "comprehension."
text "They must be"
line "contained, for"
cont "all our sakes."
done done

View file

@ -70,3 +70,5 @@ TextPredefs::
add_tx_pre BookOrSculptureText ; 40 add_tx_pre BookOrSculptureText ; 40
add_tx_pre ElevatorText ; 41 add_tx_pre ElevatorText ; 41
add_tx_pre PokemonStuffText ; 42 add_tx_pre PokemonStuffText ; 42
add_tx_pre ScarletBook1 ; 43
add_tx_pre ScarletBook2 ; 44

View file

@ -23,17 +23,19 @@ KabutopsFossilText::
text_end text_end
ScarletBook:: ScarletBook::
text_far ScarletBook1
ld a, SCREAM_TAIL ld a, SCREAM_TAIL
ld [wcf91], a ld [wcf91], a
call PlayCry call PlayCry
jp DisplayMonFrontSpriteInBox call DisplayMonFrontSpriteInBox
text_far ScarletBook2 call EnableAutoTextBoxDrawing
tx_pre ScarletBook1
ld a, SANDY_SHOCKS ld a, SANDY_SHOCKS
ld [wcf91], a ld [wcf91], a
call PlayCry call PlayCry
jp DisplayMonFrontSpriteInBox call DisplayMonFrontSpriteInBox
text_far ScarletBook3 call EnableAutoTextBoxDrawing
tx_pre ScarletBook2
ret
ScarletBook1:: ScarletBook1::
text_far _ScarletBook1 text_far _ScarletBook1
@ -43,10 +45,6 @@ ScarletBook2::
text_far _ScarletBook2 text_far _ScarletBook2
text_end text_end
ScarletBook3::
text_far _ScarletBook3
text_end
DisplayMonFrontSpriteInBox: DisplayMonFrontSpriteInBox:
; Displays a pokemon's front sprite in a pop-up window. ; Displays a pokemon's front sprite in a pop-up window.
; [wcf91] = pokemon internal id number ; [wcf91] = pokemon internal id number

Binary file not shown.

View file

@ -247,6 +247,12 @@ Museum1FText_5c2bc:
text_far _Museum1FText_5c2bc text_far _Museum1FText_5c2bc
text_end text_end
SadaText: SadaTextUhh:
text_far _SadaText text_far _SadaText
text_end text_end
SadaText:
text_asm
ld hl, SadaTextUhh; wrong label
call PrintText
jp TextScriptEnd

View file

@ -109,11 +109,9 @@ _Museum1FText_5c2bc::
_SadaText:: _SadaText::
text "This book is so" text "This book is so"
line "interesting! It" line "interesting!"
cont "contains such"
cont "unusual #MON!"
text "I want to research" para "I want to research"
line "ancient #MON" line "ancient #MON"
cont "when I grow up!" cont "when I grow up!"