sovereignx/data/maps/Route114_FossilManiacsHouse/scripts.inc
Melody c557ac61ae adds constants, cleans up callstd and msgbox code
* adds some constants for standard script names and messagebox types
* replaces some callstd calls with msgbox calls where equivalent
* replaces msgbox and callstd calls using raw digits with versions that use the constants
2018-12-02 03:37:46 -05:00

56 lines
1.8 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Route114_FossilManiacsHouse_MapScripts:: @ 822AD30
map_script 3, Route114_FossilManiacsHouse_MapScript1_22AD36
.byte 0
Route114_FossilManiacsHouse_MapScript1_22AD36: @ 822AD36
setflag FLAG_LANDMARK_FOSSIL_MANIACS_HOUSE
end
Route114_FossilManiacsHouse_EventScript_22AD3A:: @ 822AD3A
lock
faceplayer
checkflag FLAG_0x105
goto_eq Route114_FossilManiacsHouse_EventScript_22AD69
msgbox Route114_FossilManiacsHouse_Text_22AD85, MSGBOX_DEFAULT
giveitem_std ITEM_TM28
compare VAR_RESULT, 0
goto_eq Route114_FossilManiacsHouse_EventScript_272054
setflag FLAG_0x105
release
end
Route114_FossilManiacsHouse_EventScript_22AD69:: @ 822AD69
msgbox Route114_FossilManiacsHouse_Text_22AE48, MSGBOX_DEFAULT
release
end
Route114_FossilManiacsHouse_EventScript_22AD73:: @ 822AD73
msgbox Route114_FossilManiacsHouse_Text_22AE92, MSGBOX_SIGN
end
Route114_FossilManiacsHouse_EventScript_22AD7C:: @ 822AD7C
msgbox Route114_FossilManiacsHouse_Text_22AEC2, MSGBOX_SIGN
end
Route114_FossilManiacsHouse_Text_22AD85: @ 822AD85
.string "My big brothers the FOSSIL MANIAC…\n"
.string "Hes a nice guy who loves FOSSILS…\p"
.string "He loves digging holes, too…\n"
.string "He dug this hole by himself…\p"
.string "You can have this, so you can DIG\n"
.string "holes just like my big brother…$"
Route114_FossilManiacsHouse_Text_22AE48: @ 822AE48
.string "If you make a POKéMON DIG inside a\n"
.string "cave, youre returned to the entrance…$"
Route114_FossilManiacsHouse_Text_22AE92: @ 822AE92
.string "Rocks in peculiar shapes fill\n"
.string "the display case…$"
Route114_FossilManiacsHouse_Text_22AEC2: @ 822AEC2
.string "THE COMPOSITION OF STRATA…\n"
.string "HOW RAIN SHAPES THE LAND…\l"
.string "STONES, SOIL, AND ROCK…\p"
.string "Its crammed with books.$"