Move events and scripts into map dirs

This commit is contained in:
Marcus Huderle
2018-06-20 17:41:41 -05:00
parent 89d35e82a2
commit 135a11e50e
1038 changed files with 1036 additions and 1036 deletions
+11
View File
@@ -0,0 +1,11 @@
DewfordTown_House2_EventObjects: @ 852DD5C
object_event 1, EVENT_OBJ_GFX_MAN_4, 0, 6, 5, 3, 10, 0, 0, 0, 0, DewfordTown_House2_EventScript_1FE22E, 0
object_event 2, EVENT_OBJ_GFX_BOY_2, 0, 2, 3, 3, 1, 0, 0, 0, 0, DewfordTown_House2_EventScript_1FE271, 0
DewfordTown_House2_MapWarps: @ 852DD8C
warp_def 3, 8, 0, 4, MAP_DEWFORD_TOWN
warp_def 4, 8, 0, 4, MAP_DEWFORD_TOWN
DewfordTown_House2_MapEvents:: @ 852DD9C
map_events DewfordTown_House2_EventObjects, DewfordTown_House2_MapWarps, 0x0, 0x0
+59
View File
@@ -0,0 +1,59 @@
DewfordTown_House2_MapScripts:: @ 81FE22D
.byte 0
DewfordTown_House2_EventScript_1FE22E:: @ 81FE22E
lock
faceplayer
checkflag FLAG_0x121
goto_eq DewfordTown_House2_EventScript_1FE267
msgbox DewfordTown_House2_Text_1FE27A, 4
giveitem_std ITEM_SILK_SCARF
compare VAR_RESULT, 0
goto_eq DewfordTown_House2_EventScript_1FE25D
setflag FLAG_0x121
release
end
DewfordTown_House2_EventScript_1FE25D:: @ 81FE25D
msgbox DewfordTown_House2_Text_1FE356, 4
release
end
DewfordTown_House2_EventScript_1FE267:: @ 81FE267
msgbox DewfordTown_House2_Text_1FE3D1, 4
release
end
DewfordTown_House2_EventScript_1FE271:: @ 81FE271
msgbox DewfordTown_House2_Text_1FE444, 2
end
DewfordTown_House2_Text_1FE27A: @ 81FE27A
.string "Gorge your eyes on this!\p"
.string "Its a SILK SCARF. Its right at the\n"
.string "cutting edge of fashion, yeah!\p"
.string "Oh, I can see your eyes twinkling!\n"
.string "You appreciate my dazzling style!\p"
.string "Oh, youre a delight!\n"
.string "Here you go. I want you to have it!$"
DewfordTown_House2_Text_1FE356: @ 81FE356
.string "Oh, you dont have room?\p"
.string "Now, listen tight, this SCARF is a must-\n"
.string "have! Why, I would sell all my items\l"
.string "in order to get it!$"
DewfordTown_House2_Text_1FE3D1: @ 81FE3D1
.string "The SILK SCARF raises the power of\n"
.string "NORMAL-type moves.\p"
.string "Its a marvelous SCARF that will go\n"
.string "with almost all POKéMON!$"
DewfordTown_House2_Text_1FE444: @ 81FE444
.string "Wow, you bothered to cross the sea\n"
.string "to visit DEWFORD?\p"
.string "Did you maybe come here because you\n"
.string "heard about BRAWLY?\p"
.string "Hes so cool…\n"
.string "Everyone idolizes him.$"