Merge branch 'master' into sync-ai

This commit is contained in:
GriffinR
2020-01-23 10:24:11 -05:00
committed by GitHub
273 changed files with 12201 additions and 25462 deletions
+31 -766
View File
@@ -1,6 +1,7 @@
#include "constants/global.h"
#include "constants/flags.h"
#include "constants/event_objects.h"
#include "constants/event_object_movement.h"
#include "constants/decorations.h"
#include "constants/items.h"
#include "constants/layouts.h"
@@ -28,6 +29,7 @@
#include "constants/union_room.h"
#include "constants/trade.h"
#include "constants/quest_log.h"
#include "constants/daycare.h"
.include "asm/macros.inc"
.include "asm/macros/event.inc"
.set FALSE, 0
@@ -149,10 +151,10 @@ gStdScriptsEnd::
.include "data/maps/SafariZone_East/scripts.inc"
.include "data/maps/SafariZone_North/scripts.inc"
.include "data/maps/SafariZone_West/scripts.inc"
.include "data/maps/SafariZone_Building1/scripts.inc"
.include "data/maps/SafariZone_Building2/scripts.inc"
.include "data/maps/SafariZone_Building3/scripts.inc"
.include "data/maps/SafariZone_Building4/scripts.inc"
.include "data/maps/SafariZone_Center_RestHouse/scripts.inc"
.include "data/maps/SafariZone_East_RestHouse/scripts.inc"
.include "data/maps/SafariZone_North_RestHouse/scripts.inc"
.include "data/maps/SafariZone_West_RestHouse/scripts.inc"
.include "data/maps/SafariZone_SecretHouse/scripts.inc"
.include "data/maps/CeruleanCave_1F/scripts.inc"
.include "data/maps/CeruleanCave_2F/scripts.inc"
@@ -395,12 +397,12 @@ gStdScriptsEnd::
.include "data/maps/CeladonCity_Hotel/scripts.inc"
.include "data/maps/FuchsiaCity_SafariZone_Entrance/scripts.inc"
.include "data/maps/FuchsiaCity_Mart/scripts.inc"
.include "data/maps/FuchsiaCity_ZooBuilding/scripts.inc"
.include "data/maps/FuchsiaCity_SafariZone_Office/scripts.inc"
.include "data/maps/FuchsiaCity_Gym/scripts.inc"
.include "data/maps/FuchsiaCity_House1/scripts.inc"
.include "data/maps/FuchsiaCity_PokemonCenter_1F/scripts.inc"
.include "data/maps/FuchsiaCity_PokemonCenter_2F/scripts.inc"
.include "data/maps/FuchsiaCity_Building1/scripts.inc"
.include "data/maps/FuchsiaCity_WardensHouse/scripts.inc"
.include "data/maps/FuchsiaCity_House2/scripts.inc"
.include "data/maps/FuchsiaCity_House3/scripts.inc"
.include "data/maps/CinnabarIsland_Gym/scripts.inc"
@@ -562,10 +564,10 @@ gStdScriptsEnd::
.include "data/maps/SafariZone_East/text.inc"
.include "data/maps/SafariZone_North/text.inc"
.include "data/maps/SafariZone_West/text.inc"
.include "data/maps/SafariZone_Building1/text.inc"
.include "data/maps/SafariZone_Building2/text.inc"
.include "data/maps/SafariZone_Building3/text.inc"
.include "data/maps/SafariZone_Building4/text.inc"
.include "data/maps/SafariZone_Center_RestHouse/text.inc"
.include "data/maps/SafariZone_East_RestHouse/text.inc"
.include "data/maps/SafariZone_North_RestHouse/text.inc"
.include "data/maps/SafariZone_West_RestHouse/text.inc"
.include "data/maps/SafariZone_SecretHouse/text.inc"
.include "data/maps/CeruleanCave_B1F/text.inc"
.include "data/maps/PokemonLeague_LoreleisRoom/text.inc"
@@ -710,11 +712,11 @@ gStdScriptsEnd::
.include "data/maps/CeladonCity_Hotel/text.inc"
.include "data/maps/FuchsiaCity_SafariZone_Entrance/text.inc"
.include "data/maps/FuchsiaCity_Mart/text.inc"
.include "data/maps/FuchsiaCity_ZooBuilding/text.inc"
.include "data/maps/FuchsiaCity_SafariZone_Office/text.inc"
.include "data/maps/FuchsiaCity_Gym/text.inc"
.include "data/maps/FuchsiaCity_House1/text.inc"
.include "data/maps/FuchsiaCity_PokemonCenter_1F/text.inc"
.include "data/maps/FuchsiaCity_Building1/text.inc"
.include "data/maps/FuchsiaCity_WardensHouse/text.inc"
.include "data/maps/FuchsiaCity_House2/text.inc"
.include "data/maps/FuchsiaCity_House3/text.inc"
.include "data/maps/CinnabarIsland_Gym/text.inc"
@@ -739,6 +741,7 @@ gStdScriptsEnd::
.include "data/maps/Route2_EastBuilding/text.inc"
.include "data/maps/Route2_ViridianForest_NorthEntrance/text.inc"
.include "data/maps/Route4_PokemonCenter_1F/text.inc"
.include "data/maps/Route5_PokemonDayCare/text.inc"
.include "data/maps/Route5_SouthEntrance/text.inc"
.include "data/maps/Route6_NorthEntrance/text.inc"
.include "data/maps/Route7_EastEntrance/text.inc"
@@ -1117,7 +1120,8 @@ Text_1A641B:: @ 81A641B
.string "All right!\n"
.string "All aboard SEAGALLOP HI-SPEED {STR_VAR_1}!$"
Text_1A6448:: @ 81A6448
@ Call for legendary bird trio
Text_Gyaoo:: @ 81A6448
.string "Gyaoo!$"
Text_MoveCanOnlyBeLearnedOnce:: @ 81A644F
@@ -1375,118 +1379,7 @@ EventScript_1A75D5:: @ 81A75D5
return
.include "data/scripts/movement.inc"
gUnknown_81A7606:: @ 81A7606
msgbox gUnknown_81C0DB0, MSGBOX_SIGN
end
gUnknown_81A760F:: @ 81A760F
msgbox gUnknown_81C0DFD, MSGBOX_SIGN
end
gUnknown_81A7618:: @ 81A7618
msgbox gUnknown_81C0F99, MSGBOX_SIGN
end
gUnknown_81A7621:: @ 81A7621
msgbox gUnknown_81C12A7, MSGBOX_SIGN
end
gUnknown_81A762A:: @ 81A762A
msgbox gUnknown_81C10C1, MSGBOX_SIGN
end
gUnknown_81A7633:: @ 81A7633
msgbox gUnknown_81C1273, MSGBOX_SIGN
end
gUnknown_81A763C:: @ 81A763C
msgbox gUnknown_81C0FD8, MSGBOX_SIGN
end
gUnknown_81A7645:: @ 81A7645
msgbox gUnknown_81C12D6, MSGBOX_SIGN
end
gUnknown_81A764E:: @ 81A764E
msgbox gUnknown_81C1300, MSGBOX_SIGN
end
gUnknown_81A7657:: @ 81A7657
msgbox Text_DishesPlatesNeatlyLinedUp, MSGBOX_SIGN
end
gUnknown_81A7660:: @ 81A7660
msgbox gUnknown_81C0E40, MSGBOX_SIGN
end
gUnknown_81A7669:: @ 81A7669
msgbox gUnknown_81C0E73, MSGBOX_SIGN
end
gUnknown_81A7672:: @ 81A7672
msgbox gUnknown_81C0EAC, MSGBOX_SIGN
end
gUnknown_81A767B:: @ 81A767B
msgbox gUnknown_81C101B, MSGBOX_SIGN
end
gUnknown_81A7684:: @ 81A7684
msgbox gUnknown_81C1060, MSGBOX_SIGN
end
gUnknown_81A768D:: @ 81A768D
msgbox gUnknown_81C109C, MSGBOX_SIGN
end
gUnknown_81A7696:: @ 81A7696
msgbox gUnknown_81C10FC, MSGBOX_SIGN
end
gUnknown_81A769F:: @ 81A769F
msgbox gUnknown_81C1134, MSGBOX_SIGN
end
gUnknown_81A76A8:: @ 81A76A8
msgbox gUnknown_81C116E, MSGBOX_SIGN
end
gUnknown_81A76B1:: @ 81A76B1
msgbox gUnknown_81C1194, MSGBOX_SIGN
end
gUnknown_81A76BA:: @ 81A76BA
msgbox gUnknown_81C11BA, MSGBOX_SIGN
end
gUnknown_81A76C3:: @ 81A76C3
msgbox gUnknown_81C11DC, MSGBOX_SIGN
end
gUnknown_81A76CC:: @ 81A76CC
msgbox gUnknown_81C1217, MSGBOX_SIGN
end
gUnknown_81A76D5:: @ 81A76D5
msgbox gUnknown_81C124B, MSGBOX_SIGN
end
gUnknown_81A76DE:: @ 81A76DE
msgbox gUnknown_81C0ECB, MSGBOX_SIGN
end
gUnknown_81A76E7:: @ 81A76E7
msgbox gUnknown_81C0EF7, MSGBOX_SIGN
end
gUnknown_81A76F0:: @ 81A76F0
msgbox gUnknown_81C0F19, MSGBOX_SIGN
end
gUnknown_81A76F9:: @ 81A76F9
msgbox gUnknown_81C0F59, MSGBOX_SIGN
end
.include "data/scripts/flavor_text.inc"
gUnknown_81A7702:: @ 81A7702
lockall
@@ -1537,7 +1430,7 @@ EventScript_1A778C:: @ 81A778C
releaseall
end
gUnknown_81A77A0:: @ 81A77A0
EventScript_BagItemCanBeRegistered:: @ 81A77A0
msgbox Text_BagItemCanBeRegistered, MSGBOX_SIGN
end
@@ -1847,23 +1740,23 @@ EventScript_1A8E6F:: @ 81A8E6F
end
EventScript_1A8EAC:: @ 81A8EAC
getstdstring 2, 24
getstdstring 2, STDSTRING_ITEMS_POCKET
return
EventScript_1A8EB1:: @ 81A8EB1
getstdstring 2, 25
getstdstring 2, STDSTRING_KEY_ITEMS_POCKET
return
EventScript_1A8EB6:: @ 81A8EB6
getstdstring 2, 26
getstdstring 2, STDSTRING_POKEBALLS_POCKET
return
EventScript_1A8EBB:: @ 81A8EBB
getstdstring 2, 27
getstdstring 2, STDSTRING_TM_CASE
return
EventScript_1A8EC0:: @ 81A8EC0
getstdstring 2, 28
getstdstring 2, STDSTRING_BERRY_POUCH
return
.include "data/scripts/seagallop.inc"
@@ -2320,643 +2213,15 @@ EventScript_1B2DF6:: @ 81B2DF6
.include "data/scripts/item_ball_scripts.inc"
.include "data/scripts/mystery_event_club.inc"
.include "data/scripts/day_care.inc"
.include "data/text/day_care.inc"
.include "data/scripts/flash.inc"
.include "data/scripts/repel.inc"
@@ Block below consists of at least safari_zone.inc and flavor_text.inc. JP text making it hard to define boundaries
EventScript_SafariWarpOut:: @ 81BFB87
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 3
special ExitSafariMode
setwarp MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 255, 4, 1
end
EventScript_1BFB98:: @ 81BFB98
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 1
special ExitSafariMode
warp MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 255, 4, 1
waitstate
end
EventScript_SafariRetire:: @ 81BFBAA
lockall
msgbox Text_1BFBE9, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_1BFBC0
releaseall
end
EventScript_1BFBC0:: @ 81BFBC0
goto EventScript_1BFB98
EventScript_SafariTimesUp:: @ 81BFBC5
lockall
playse SE_PINPON
msgbox gUnknown_81BFC1B
goto EventScript_1BFB98
end
EventScript_SafariOutOfBalls:: @ 81BFBD7
lockall
playse SE_PINPON
msgbox gUnknown_81BFC53
goto EventScript_1BFB98
end
Text_1BFBE9:: @ 81BFBE9
.string "Would you like to exit the SAFARI\n"
.string "ZONE right now?$"
gUnknown_81BFC1B:: @ 81BFC1B
.string "PA: Ding-dong!\p"
.string "Time's up!\p"
.string "PA: Your SAFARI GAME is over!$"
gUnknown_81BFC53:: @ 81BFC53
.string "PA: Ding-dong!\p"
.string "You are out of SAFARI BALLS!\p"
.string "PA: Your SAFARI GAME is over!$"
Text_1BFC9D:: @ 81BFC9D
.string " \p"
.string "  \n"
.string "  \p"
.string "  \n"
.string "  \p"
.string " \n"
.string "  \p"
.string "\n"
.string "  \p"
.string "  $"
Text_1BFD30:: @ 81BFD30
.string " \n"
.string "  $"
Text_1BFD52:: @ 81BFD52
.string "  $"
Text_1BFD67:: @ 81BFD67
.string "\n"
.string "30  \l"
.string "   \p"
.string " \n"
.string "500 \p"
.string "  \p"
.string "  $"
Text_1BFDD7:: @ 81BFDD7
.string " \p"
.string "500  \n"
.string "  $"
Text_1BFE0F:: @ 81BFE0F
.string "\n"
.string "   $"
Text_1BFE28:: @ 81BFE28
.string " $"
Text_1BFE35:: @ 81BFE35
.string " 500 $"
Text_1BFE47:: @ 81BFE47
.string "  $"
Text_1BFE58:: @ 81BFE58
.string "{PLAYER} \n"
.string "30 $"
Text_1BFE70:: @ 81BFE70
.string " \n"
.string "  \p"
.string "  \n"
.string " $"
gUnknown_81BFEAC:: @ 81BFEAC
.string "Excuse me!\n"
.string "Your PC BOX is full.$"
Text_1BFECC:: @ 81BFECC
.string " \n"
.string "  \p"
.string "  \n"
.string "  \p"
.string " \n"
.string "   $"
Text_1BFF30:: @ 81BFF30
.string "  \n"
.string " $"
Text_1BFF51:: @ 81BFF51
.string "   $"
Text_1BFF66:: @ 81BFF66
.string "\p"
.string "  \n"
.string " \p"
.string "\n"
.string "  $"
Text_1BFFA1:: @ 81BFFA1
.string " \l"
.string " \n"
.string "   $"
Text_1BFFCE:: @ 81BFFCE
.string "\p"
.string "    \n"
.string "  $"
Text_1BFFFD:: @ 81BFFFD
.string "   \n"
.string "   \p"
.string "  \n"
.string "  $"
Text_1C003F:: @ 81C003F
.string "  \n"
.string "   \p"
.string "  $"
Text_1C0079:: @ 81C0079
.string " \n"
.string "  \p"
.string "  \n"
.string "  $"
Text_1C00B6:: @ 81C00B6
.string "  \n"
.string " \p"
.string " \n"
.string " $"
Text_1C00EF:: @ 81C00EF
.string "  \n"
.string " \l"
.string "  $"
Text_1C011B:: @ 81C011B
.string "  \n"
.string " \p"
.string " \n"
.string " $"
Text_1C0159:: @ 81C0159
.string "  \p"
.string " \n"
.string "   $"
Text_1C0190:: @ 81C0190
.string "   \n"
.string " '$"
Text_1C01B4:: @ 81C01B4
.string "  \n"
.string "  \p"
.string "   \n"
.string "  $"
Text_1C01FB:: @ 81C01FB
.string "  \n"
.string "  \p"
.string "   \n"
.string "  $"
Text_1C0243:: @ 81C0243
.string "  \n"
.string " \p"
.string "   \n"
.string "  $"
Text_1C0283:: @ 81C0283
.string "  {STR_VAR_1}\n"
.string "  \p"
.string "  {STR_VAR_1} \n"
.string "  ···\l"
.string "  $"
Text_1C02CB:: @ 81C02CB
.string "  \n"
.string "  {STR_VAR_1}\p"
.string "  \n"
.string "   $"
Text_1C0309:: @ 81C0309
.string "{PLAYER}\n"
.string "{STR_VAR_2} $"
Text_1C0317:: @ 81C0317
.string "\n"
.string "  $"
Text_1C032B:: @ 81C032B
.string "   \n"
.string "{STR_VAR_1}  ···$"
Text_1C034D:: @ 81C034D
.string "  ···\n"
.string " {STR_VAR_1} $"
Text_1C036C:: @ 81C036C
.string " {STR_VAR_1} \l"
.string " ···\n"
.string "  {STR_VAR_1} $"
Text_1C0399:: @ 81C0399
.string "  {STR_VAR_1}\n"
.string "{STR_VAR_2} {STR_VAR_3}cm$"
Text_1C03B5:: @ 81C03B5
.string "{PLAYER}  \n"
.string "{PLAYER}  $"
Text_1C03D7:: @ 81C03D7
.string " \n"
.string "  \l"
.string "  $"
Text_1C0407:: @ 81C0407
.string " \p"
.string "\n"
.string " $"
Text_1C0426:: @ 81C0426
.string " \n"
.string " \p"
.string "  \n"
.string "   \p"
.string "  \n"
.string " \l"
.string "   \p"
.string " $"
Text_1C049D:: @ 81C049D
.string "   \n"
.string " $"
Text_1C04BB:: @ 81C04BB
.string "ùÏ! ÉÇñÑ ÒñÉ!$"
Text_1C04C9:: @ 81C04C9
.string "\n"
.string "  $"
Text_1C04DC:: @ 81C04DC
.string "   \n"
.string " $"
Text_1C0500:: @ 81C0500
.string "  \n"
.string "   $"
Text_1C0523:: @ 81C0523
.string " {PLAYER}\p"
.string "   \n"
.string " $"
Text_1C054C:: @ 81C054C
.string "   \n"
.string "  \p"
.string "1    \n"
.string "  \p"
.string "  $"
Text_1C05A8:: @ 81C05A8
.string "  \p"
.string "   \n"
.string "\p"
.string "   $"
Text_1C05ED:: @ 81C05ED
.string "  \n"
.string "  \p"
.string "   \p"
.string "\n"
.string " $"
Text_1C0629:: @ 81C0629
.string "  \n"
.string "{STR_VAR_1} $"
Text_1C064A:: @ 81C064A
.string "  \n"
.string "$"
Text_1C0662:: @ 81C0662
.string "  \n"
.string " \p"
.string "   $"
Text_1C069C:: @ 81C069C
.string " $"
Text_1C06A6:: @ 81C06A6
.string "   \n"
.string "   \p"
.string "  $"
Text_1C06DE:: @ 81C06DE
.string "   \p"
.string "  \n"
.string " \p"
.string "  $"
Text_1C071B:: @ 81C071B
.string " \n"
.string "  \p"
.string " $"
Text_1C073B:: @ 81C073B
.string "\n"
.string "   \p"
.string " $"
Text_1C075F:: @ 81C075F
.string "   \n"
.string " $"
Text_1C0782:: @ 81C0782
.string "   $"
Text_1C0799:: @ 81C0799
.string "\p"
.string "  \n"
.string "  \l"
.string "   \p"
.string "$"
Text_1C07DF:: @ 81C07DF
.string " \p"
.string " $"
Text_1C07FB:: @ 81C07FB
.string "\p"
.string "  \n"
.string "  $"
Text_1C0825:: @ 81C0825
.string "  \p"
.string "   \n"
.string "  \l"
.string "   \p"
.string "   $"
Text_1C0888:: @ 81C0888
.string "    $"
Text_1C089C:: @ 81C089C
.string "  ·\n"
.string " \p"
.string "  $"
Text_1C08D5:: @ 81C08D5
.string "  \n"
.string " \p"
.string "  $"
Text_1C08FD:: @ 81C08FD
.string "  \n"
.string " \p"
.string "  \p"
.string " \n"
.string "   $"
Text_1C0948:: @ 81C0948
.string "   \n"
.string " \p"
.string "  $"
Text_1C0974:: @ 81C0974
.string "   \n"
.string " \p"
.string "  $"
Text_1C09A4:: @ 81C09A4
.string " 4  \n"
.string " \p"
.string "  $"
Text_1C09DA:: @ 81C09DA
.string "$"
Text_1C09DF:: @ 81C09DF
.string "\p"
.string "  \n"
.string " ·$"
Text_1C0A07:: @ 81C0A07
.string "{PLAYER}{KUN}   $"
Text_1C0A1A:: @ 81C0A1A
.string " \p"
.string "{PLAYER}{KUN}\n"
.string "  \l"
.string "{PLAYER}{KUN}  $"
Text_1C0A4E:: @ 81C0A4E
.string "   \n"
.string "  \l"
.string "\p"
.string " 1  \p"
.string "   \n"
.string "   \l"
.string "   \p"
.string "  \n"
.string "  \l"
.string "  \p"
.string " {PLAYER}{KUN}  \n"
.string "  $"
Text_1C0B0B:: @ 81C0B0B
.string "   \n"
.string "$"
Text_1C0B29:: @ 81C0B29
.string "\p"
.string "   \n"
.string "   \p"
.string "    \n"
.string " $"
Text_1C0B73:: @ 81C0B73
.string "  \n"
.string "  \p"
.string "\p"
.string "   \n"
.string " \l"
.string "    \p"
.string "\n"
.string "  $"
Text_1C0BE5:: @ 81C0BE5
.string " \n"
.string "  \p"
.string " $"
Text_1C0C12:: @ 81C0C12
.string "   \n"
.string "  \p"
.string "    \n"
.string "  \l"
.string " \p"
.string "  $"
Text_1C0C74:: @ 81C0C74
.string "{STR_VAR_1}  \p"
.string "  \n"
.string " \p"
.string "   \p"
.string "   \n"
.string "   \l"
.string "  \p"
.string "{STR_VAR_1}  $"
Text_1C0CF5:: @ 81C0CF5
.string " {STR_VAR_1}  \n"
.string "  $"
Text_1C0D16:: @ 81C0D16
.string "{STR_VAR_1} \n"
.string "  $"
Text_1C0D32:: @ 81C0D32
.string "   \n"
.string "   \l"
.string "   $"
Text_1C0D66:: @ 81C0D66
.string "   \n"
.string " \p"
.string "{STR_VAR_1}  $"
Text_1C0D8F:: @ 81C0D8F
.string "\n"
.string "\p"
.string " $"
gUnknown_81C0DB0:: @ 81C0DB0
.string "It's crammed full of POKéMON\n"
.string "books.$"
Text_1C0DD4:: @ 81C0DD4
.string " \n"
.string "  $"
Text_ATownMap:: @ 81C0DF1
.string "A TOWN MAP.$"
gUnknown_81C0DFD:: @ 81C0DFD
.string "Wow!\n"
.string "Tons of POKéMON stuff!$"
Text_DishesPlatesNeatlyLinedUp:: @ 81C0E19
.string "Dishes and plates are neatly\n"
.string "lined up.$"
gUnknown_81C0E40:: @ 81C0E40
.string "It smells delicious!\n"
.string "Somebody's been cooking here.$"
gUnknown_81C0E73:: @ 81C0E73
.string "It's a nicely made dresser.\n"
.string "It will hold a lot of stuff.$"
gUnknown_81C0EAC:: @ 81C0EAC
.string "There's a pile of snacks here.$"
gUnknown_81C0ECB:: @ 81C0ECB
.string "All your item needs fulfilled!\n"
.string "POKéMON MART$"
gUnknown_81C0EF7:: @ 81C0EF7
.string "Heal Your POKéMON!\n"
.string "POKéMON CENTER$"
gUnknown_81C0F19:: @ 81C0F19
.string "INDIGO PLATEAU\p"
.string "The ultimate goal of TRAINERS!\n"
.string "POKéMON LEAGUE HQ$"
gUnknown_81C0F59:: @ 81C0F59
.string "INDIGO PLATEAU\p"
.string "The highest POKéMON authority!\n"
.string "POKéMON LEAGUE HQ$"
gUnknown_81C0F99:: @ 81C0F99
.string "It should be packed with all kinds\n"
.string "of delicious things to eat.$"
gUnknown_81C0FD8:: @ 81C0FD8
.string "It's a blueprint of some sort.\n"
.string "It's filled with diagrams and text.$"
gUnknown_81C101B:: @ 81C101B
.string "It's a pretty picture of a POKéMON.\n"
.string "It looks like it's feeling good.$"
gUnknown_81C1060:: @ 81C1060
.string "What could this machine be?\n"
.string "Better not mess around with it!$"
gUnknown_81C109C:: @ 81C109C
.string "It's a telephone.\n"
.string "Better not use it.$"
gUnknown_81C10C1:: @ 81C10C1
.string "It's all complicated words and\n"
.string "numbers that make no sense$"
gUnknown_81C10FC:: @ 81C10FC
.string "It's an advertising poster about\n"
.string "all kinds of products.$"
gUnknown_81C1134:: @ 81C1134
.string "Oh, that smells tasty!\n"
.string "It might get the stomach growling!$"
gUnknown_81C116E:: @ 81C116E
.string "Inside this\n"
.string "\p"
.string "There's nothing here!$"
gUnknown_81C1194:: @ 81C1194
.string "It's a cup with a POKéMON mark\n"
.string "on it.$"
gUnknown_81C11BA:: @ 81C11BA
.string "The window is very well polished.$"
gUnknown_81C11DC:: @ 81C11DC
.string "Outside the window\p"
.string "The sky looks fantastically\n"
.string "beautiful.$"
gUnknown_81C1217:: @ 81C1217
.string "Lights in different colors are\n"
.string "flashing on and off.$"
gUnknown_81C124B:: @ 81C124B
.string "All sorts of tools are lined up\n"
.string "neatly.$"
gUnknown_81C1273:: @ 81C1273
.string "It's a machine of some sort.\n"
.string "It sure is impressive.$"
gUnknown_81C12A7:: @ 81C12A7
.string "It's the latest video game!\n"
.string "It sure looks fun!$"
gUnknown_81C12D6:: @ 81C12D6
.string "There are obvious signs of burglary\n"
.string "here$"
gUnknown_81C1300:: @ 81C1300
.string "There's a POKéMON on TV!\n"
.string "It looks like it's having fun.$"
.include "data/scripts/safari_zone.inc"
.include "data/text/safari_zone.inc"
.include "data/text/competitive_brothers.inc"
.include "data/text/eon_ticket.inc"
.include "data/text/berries.inc"
.include "data/text/flavor_text.inc"
.include "data/scripts/hole.inc"
.include "data/text/trainers.inc"
.include "data/scripts/move_tutors.inc"
+4 -4
View File
@@ -13476,7 +13476,7 @@ gTrainerBackPic_Leaf:: @ 8E6C6BC
.incbin "graphics/trainers/back_pics/leaf_back_pic.4bpp"
.align 2
gTrainerBackPic_PokeDude:: @ 8E6EEBC
gTrainerBackPic_Pokedude:: @ 8E6EEBC
.incbin "graphics/trainers/back_pics/pokedude_back_pic.4bpp"
.align 2
@@ -13500,7 +13500,7 @@ gTrainerPalette_LeafBackPic:: @ 8E76EE4
.incbin "graphics/trainers/palettes/red_back_pic.gbapal.lz"
.align 2
gTrainerPalette_PokeDudeBackPic:: @ 8E76F0C
gTrainerPalette_PokedudeBackPic:: @ 8E76F0C
.incbin "graphics/trainers/palettes/pokedude_back_pic.gbapal.lz"
.align 2
@@ -14004,11 +14004,11 @@ gUnknown_8E83444:: @ 8E83444
.incbin "graphics/item_menu/bag_tilemap2.bin.lz" @ PC deposit items
.align 2
gUnknown_8E835B4:: @ 8E835B4
gBagBgPalette:: @ 8E835B4
.incbin "graphics/item_menu/bag_pal1.gbapal.lz" @ palette 1 (Boy + misc Pal)
.align 2
gUnknown_8E83604:: @ 8E83604
gBagBgPalette_FemaleOverride:: @ 8E83604
.incbin "graphics/item_menu/bag_pal2.gbapal.lz" @ palette 2 (Girl)
gUnknown_8E8362C:: @ 8E8362C
-116
View File
@@ -1,116 +0,0 @@
#include "constants/region_map.h"
#include "constants/flags.h"
#include "constants/moves.h"
.include "asm/macros.inc"
.include "constants/constants.inc"
.section .rodata
.align 2
gUnknown_8452CF4:: @ 8452CF4
.4byte 0x000001f0
@ {
@ .bg = 0,
@ .charBaseIndex = 0,
@ .mapBaseIndex = 31,
@ .screenSize = 0,
@ .paletteMode = 0,
@ .priority = 0,
@ .baseTile = 0x0000
@ }
.4byte 0x000011ed
@ {
@ .bg = 1,
@ .charBaseIndex = 3,
@ .mapBaseIndex = 30,
@ .screenSize = 0,
@ .paletteMode = 0,
@ .priority = 1,
@ .baseTile = 0x0000
@ }
gUnknown_8452CFC:: @ 8452CFC
.4byte gUnknown_84162CD
.4byte gUnknown_84162DE
.4byte gUnknown_84162D3
gUnknown_8452D08:: @ 8452D08
.incbin "graphics/item_menu/bagmap_0.bin"
.incbin "graphics/item_menu/bagmap_1.bin"
.incbin "graphics/item_menu/bagmap_2.bin"
.incbin "graphics/item_menu/bagmap_3.bin"
.incbin "graphics/item_menu/bagmap_4.bin"
.incbin "graphics/item_menu/bagmap_5.bin"
.incbin "graphics/item_menu/bagmap_6.bin"
.incbin "graphics/item_menu/bagmap_7.bin"
.incbin "graphics/item_menu/bagmap_8.bin"
.incbin "graphics/item_menu/bagmap_9.bin"
.incbin "graphics/item_menu/bagmap_A.bin"
.incbin "graphics/item_menu/bagmap_B.bin"
gUnknown_8452EB8:: @ 8452EB8
.4byte gOtherText_Use, sub_8109C50
.4byte gOtherText_Toss, sub_8109CC0
.4byte gUnknown_84161A9, sub_810A000
.4byte gOtherText_Give, sub_810A0A8
.4byte gFameCheckerText_Cancel, sub_810A2DC
.4byte gOtherText_Use, sub_810A324
.4byte gUnknown_84161E9, sub_8109C50
.4byte gUnknown_84161F4, sub_8109C50
.4byte gUnknown_84161F4, sub_810A324
.4byte gUnknown_84161BC, sub_8109C50
.4byte gUnknown_84161F9, sub_810A000
.4byte gString_Dummy, NULL
gUnknown_8452F18:: @ 8452F18
.byte 0x00, 0x03, 0x01, 0x04
.byte 0x00, 0x02, 0x04, 0x0b
.byte 0x03, 0x01, 0x04, 0x0b
gUnknown_8452F24:: @ 8452F24
.byte 0x06, 0x03, 0x01, 0x04
gUnknown_8452F28:: @ 8452F28
.byte 0x03, 0x04
.byte 0x04, 0x0b
.byte 0x03, 0x04
gUnknown_8452F2E:: @ 8452F2E
.byte 0x07, 0x04
gUnknown_8452F30:: @ 8452F30
.byte 0x05, 0x04
gUnknown_8452F32:: @ 8452F32
.byte 0x04, 0x0b
gUnknown_8452F34:: @ 8452F34
.4byte sub_8109BB8
.4byte sub_810A370
.4byte sub_810A568
.4byte sub_810AB40
.4byte sub_810A468
.4byte sub_8109BB8
.4byte NULL
gUnknown_8452F50:: @ 8452F50
.4byte sub_8109EA8
.4byte sub_8109DB0
gUnknown_8452F58:: @ 8452F58
.4byte sub_810A940
.4byte sub_810A720
gUnknown_8452F60:: @ 8452F60
.string "{COLOR_HIGHLIGHT_SHADOW RED TRANSPARENT GREEN}$"
gUnknown_8452F66:: @ 8452F66
.string "{COLOR_HIGHLIGHT_SHADOW LIGHT_GRAY TRANSPARENT BLACK}$"
gUnknown_8452F6C:: @ 8452F6C
.byte 0, 8, 72, 1, 72, 72
.2byte 0, 2, 111, 111
.byte 0
.align 2
gUnknown_8452F7C:: @ 8452F7C
.incbin "graphics/interface/select_button.4bpp"
+20 -20
View File
@@ -2168,16 +2168,16 @@
"blockdata_filepath": "data/layouts/CeladonCity_DepartmentStore_Roof/map.bin"
},
{
"id": "LAYOUT_SAFARI_ZONE_BUILDING",
"name": "SafariZone_Building_Layout",
"id": "LAYOUT_SAFARI_ZONE_REST_HOUSE",
"name": "SafariZone_RestHouse_Layout",
"width": 13,
"height": 11,
"border_width": 2,
"border_height": 2,
"primary_tileset": "gTileset_82D4BB4",
"secondary_tileset": "gTileset_82D4F14",
"border_filepath": "data/layouts/SafariZone_Building/border.bin",
"blockdata_filepath": "data/layouts/SafariZone_Building/map.bin"
"border_filepath": "data/layouts/SafariZone_RestHouse/border.bin",
"blockdata_filepath": "data/layouts/SafariZone_RestHouse/map.bin"
},
{
"id": "LAYOUT_SAFARI_ZONE_SECRET_HOUSE",
@@ -2192,28 +2192,28 @@
"blockdata_filepath": "data/layouts/SafariZone_SecretHouse/map.bin"
},
{
"id": "LAYOUT_FUCHSIA_CITY_ZOO_BUILDING",
"name": "FuchsiaCity_ZooBuilding_Layout",
"id": "LAYOUT_FUCHSIA_CITY_SAFARI_ZONE_OFFICE",
"name": "FuchsiaCity_SafariZone_Office_Layout",
"width": 20,
"height": 11,
"border_width": 2,
"border_height": 2,
"primary_tileset": "gTileset_82D4BB4",
"secondary_tileset": "gTileset_82D4F14",
"border_filepath": "data/layouts/FuchsiaCity_ZooBuilding/border.bin",
"blockdata_filepath": "data/layouts/FuchsiaCity_ZooBuilding/map.bin"
"border_filepath": "data/layouts/FuchsiaCity_SafariZone_Office/border.bin",
"blockdata_filepath": "data/layouts/FuchsiaCity_SafariZone_Office/map.bin"
},
{
"id": "LAYOUT_FUCHSIA_CITY_BUILDING1",
"name": "FuchsiaCity_Building1_Layout",
"id": "LAYOUT_FUCHSIA_CITY_WARDENS_HOUSE",
"name": "FuchsiaCity_WardensHouse_Layout",
"width": 13,
"height": 11,
"border_width": 2,
"border_height": 2,
"primary_tileset": "gTileset_82D4BB4",
"secondary_tileset": "gTileset_82D4C2C",
"border_filepath": "data/layouts/FuchsiaCity_Building1/border.bin",
"blockdata_filepath": "data/layouts/FuchsiaCity_Building1/map.bin"
"border_filepath": "data/layouts/FuchsiaCity_WardensHouse/border.bin",
"blockdata_filepath": "data/layouts/FuchsiaCity_WardensHouse/map.bin"
},
{
"id": "LAYOUT_FUCHSIA_CITY_HOUSE2",
@@ -3128,28 +3128,28 @@
"blockdata_filepath": "data/layouts/FourIsland_PokemonDayCare/map.bin"
},
{
"id": "LAYOUT_UNUSED_LAYOUT_833B6EC",
"name": "UnusedLayout_833B6EC_Layout",
"id": "LAYOUT_SEAFOAM_ISLANDS_B3F_CURRENT_STOPPED",
"name": "SeafoamIslands_B3F_CurrentStopped_Layout",
"width": 38,
"height": 24,
"border_width": 2,
"border_height": 2,
"primary_tileset": "gTileset_82D4A94",
"secondary_tileset": "gTileset_82D4E24",
"border_filepath": "data/layouts/UnusedLayout_833B6EC/border.bin",
"blockdata_filepath": "data/layouts/UnusedLayout_833B6EC/map.bin"
"border_filepath": "data/layouts/SeafoamIslands_B3F_CurrentStopped/border.bin",
"blockdata_filepath": "data/layouts/SeafoamIslands_B3F_CurrentStopped/map.bin"
},
{
"id": "LAYOUT_UNUSED_LAYOUT_833BE30",
"name": "UnusedLayout_833BE30_Layout",
"id": "LAYOUT_SEAFOAM_ISLANDS_B4F_CURRENT_STOPPED",
"name": "SeafoamIslands_B4F_CurrentStopped_Layout",
"width": 38,
"height": 24,
"border_width": 2,
"border_height": 2,
"primary_tileset": "gTileset_82D4A94",
"secondary_tileset": "gTileset_82D4E24",
"border_filepath": "data/layouts/UnusedLayout_833BE30/border.bin",
"blockdata_filepath": "data/layouts/UnusedLayout_833BE30/map.bin"
"border_filepath": "data/layouts/SeafoamIslands_B4F_CurrentStopped/border.bin",
"blockdata_filepath": "data/layouts/SeafoamIslands_B4F_CurrentStopped/map.bin"
},
{
"id": "LAYOUT_MT_EMBER_EXTERIOR",
+1 -1
View File
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeruleanCave_B1F_EventScript_1624F5",
"script": "CeruleanCave_B1F_EventScript_Mewtwo",
"flag": "FLAG_HIDE_MEWTWO"
},
{
+11 -15
View File
@@ -4,10 +4,10 @@ CeruleanCave_B1F_MapScripts:: @ 81624BE
.byte 0
CeruleanCave_B1F_OnResume:: @ 81624C9
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, EventScript_1624D3
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, CeruleanCave_B1F_EventScript_TryRemoveMewtwo
end
EventScript_1624D3:: @ 81624D3
CeruleanCave_B1F_EventScript_TryRemoveMewtwo:: @ 81624D3
specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne EventScript_Return
@@ -15,21 +15,21 @@ EventScript_1624D3:: @ 81624D3
return
CeruleanCave_B1F_OnTransition:: @ 81624E7
call_if_unset FLAG_FOUGHT_MEWTWO, EventScript_1624F1
call_if_unset FLAG_FOUGHT_MEWTWO, CeruleanCave_B1F_EventScript_ShowMewtwo
end
EventScript_1624F1:: @ 81624F1
CeruleanCave_B1F_EventScript_ShowMewtwo:: @ 81624F1
clearflag FLAG_HIDE_MEWTWO
return
CeruleanCave_B1F_EventScript_1624F5:: @ 81624F5
CeruleanCave_B1F_EventScript_Mewtwo:: @ 81624F5
goto_if_questlog EventScript_ReleaseEnd
special sub_8112364
lock
faceplayer
waitse
playmoncry SPECIES_MEWTWO, 2
message Text_177F9F
message CeruleanCave_B1F_Text_Mew
waitmessage
waitmoncry
delay 20
@@ -42,25 +42,21 @@ CeruleanCave_B1F_EventScript_1624F5:: @ 81624F5
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_162558
goto_if_eq CeruleanCave_B1F_EventScript_DefeatedMewtwo
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_162561
goto_if_eq CeruleanCave_B1F_EventScript_RanFromMewtwo
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_162561
goto_if_eq CeruleanCave_B1F_EventScript_RanFromMewtwo
setflag FLAG_FOUGHT_MEWTWO
release
end
EventScript_162558:: @ 8162558
CeruleanCave_B1F_EventScript_DefeatedMewtwo:: @ 8162558
setflag FLAG_FOUGHT_MEWTWO
goto EventScript_RemoveStaticMon
EventScript_162560:: @ 8162560
end
EventScript_162561:: @ 8162561
CeruleanCave_B1F_EventScript_RanFromMewtwo:: @ 8162561
setvar VAR_0x8004, SPECIES_MEWTWO
goto EventScript_MonFlewAway
EventScript_16256B:: @ 816256B
end
+1 -1
View File
@@ -1,3 +1,3 @@
Text_177F9F:: @ 8177F9F
CeruleanCave_B1F_Text_Mew:: @ 8177F9F
.string "Mew!$"
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "DiglettsCave_NorthEntrance_EventScript_160EE8",
"script": "DiglettsCave_NorthEntrance_EventScript_Hiker",
"flag": "0"
}
],
@@ -1,6 +1,6 @@
DiglettsCave_NorthEntrance_MapScripts:: @ 8160EE7
.byte 0
DiglettsCave_NorthEntrance_EventScript_160EE8:: @ 8160EE8
msgbox gUnknown_817462C, MSGBOX_NPC
DiglettsCave_NorthEntrance_EventScript_Hiker:: @ 8160EE8
msgbox DiglettsCave_NorthEntrance_RockTunnelPitchBlack, MSGBOX_NPC
end
@@ -1,4 +1,4 @@
gUnknown_817462C:: @ 817462C
DiglettsCave_NorthEntrance_RockTunnelPitchBlack:: @ 817462C
.string "I went inside ROCK TUNNEL, but it's\n"
.string "pitch-black and scary in there.\p"
.string "If I could get a POKéMON to use\n"
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "DiglettsCave_SouthEntrance_EventScript_160EFC",
"script": "DiglettsCave_SouthEntrance_EventScript_OldMan",
"flag": "0"
}
],
@@ -1,6 +1,6 @@
DiglettsCave_SouthEntrance_MapScripts:: @ 8160EFB
.byte 0
DiglettsCave_SouthEntrance_EventScript_160EFC:: @ 8160EFC
msgbox gUnknown_81746A7, MSGBOX_NPC
DiglettsCave_SouthEntrance_EventScript_OldMan:: @ 8160EFC
msgbox DiglettsCave_SouthEntrance_Text_DiglettDugThisTunnel, MSGBOX_NPC
end
@@ -1,4 +1,4 @@
gUnknown_81746A7:: @ 81746A7
DiglettsCave_SouthEntrance_Text_DiglettDugThisTunnel:: @ 81746A7
.string "Well, isn't this a surprise!\n"
.string "DIGLETT dug this long tunnel!\p"
.string "It goes right to VIRIDIAN CITY,\n"
+1 -1
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FourIsland_EventScript_167D55",
"script": "FourIsland_EventScript_DaycareMan",
"flag": "0"
},
{
+25 -25
View File
@@ -69,66 +69,66 @@ Movement_167D52:: @ 8167D52
walk_in_place_fastest_right
step_end
FourIsland_EventScript_167D55:: @ 8167D55
FourIsland_EventScript_DaycareMan:: @ 8167D55
goto_if_questlog EventScript_ReleaseEnd
special sub_8112364
lock
faceplayer
special GetDaycareMonNicknames
specialvar VAR_RESULT, GetDaycareState
compare VAR_RESULT, 1
goto_if_eq EventScript_167D9B
compare VAR_RESULT, 2
goto_if_eq EventScript_167E0C
compare VAR_RESULT, 3
goto_if_eq EventScript_167E19
msgbox gUnknown_81BF555
compare VAR_RESULT, DAYCARE_EGG_WAITING
goto_if_eq FourIsland_EventScript_DaycareEggWaiting
compare VAR_RESULT, DAYCARE_ONE_MON
goto_if_eq FourIsland_EventScript_CheckOnOneMon
compare VAR_RESULT, DAYCARE_TWO_MONS
goto_if_eq FourIsland_EventScript_CheckOnTwoMons
msgbox DayCare_Text_ImDaycareManSpeakToMyWife
release
end
EventScript_167D9B:: @ 8167D9B
msgbox gUnknown_81BF5E3, MSGBOX_YESNO
FourIsland_EventScript_DaycareEggWaiting:: @ 8167D9B
msgbox DayCare_Text_DoYouWantEgg, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_167DD1
msgbox gUnknown_81BF7B6, MSGBOX_YESNO
goto_if_eq FourIsland_EventScript_DaycareAcceptEgg
msgbox DayCare_Text_IWillKeepDoYouWantIt, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_167DD1
msgbox gUnknown_81BF6CF
goto_if_eq FourIsland_EventScript_DaycareAcceptEgg
msgbox DayCare_Text_IllKeepIt
clearflag FLAG_PENDING_DAYCARE_EGG
special RejectEggFromDayCare
release
end
EventScript_167DD1:: @ 8167DD1
FourIsland_EventScript_DaycareAcceptEgg:: @ 8167DD1
specialvar VAR_RESULT, CalculatePlayerPartyCount
compare VAR_RESULT, 6
goto_if_ne EventScript_167DEB
msgbox gUnknown_81BF6F0
compare VAR_RESULT, PARTY_SIZE
goto_if_ne FourIsland_EventScript_DaycareReceivedEgg
msgbox DayCare_Text_YouHaveNoRoomForIt
release
end
EventScript_167DEB:: @ 8167DEB
FourIsland_EventScript_DaycareReceivedEgg:: @ 8167DEB
textcolor 3
message Text_1BF72A
message DayCare_Text_ReceivedEgg
call EventScript_1A6675
playfanfare MUS_FANFA1
waitfanfare
waitbuttonpress
msgbox gUnknown_81BF755
msgbox DayCare_Text_TakeGoodCareOfIt
special GiveEggFromDaycare
clearflag FLAG_PENDING_DAYCARE_EGG
release
end
EventScript_167E0C:: @ 8167E0C
FourIsland_EventScript_CheckOnOneMon:: @ 8167E0C
special GetDaycareMonNicknames
msgbox gUnknown_81BF69A
msgbox DayCare_Text_YourMonIsDoingFine
release
end
EventScript_167E19:: @ 8167E19
FourIsland_EventScript_CheckOnTwoMons:: @ 8167E19
special GetDaycareMonNicknames
msgbox gUnknown_81BF789
msgbox DayCare_Text_YourMonsAreDoingFine
special SetDaycareCompatibilityString
special Special_ShowStringVar4AsFieldMessage
waitmessage
+1 -1
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FourIsland_PokemonDayCare_EventScript_171940",
"script": "FourIsland_PokemonDayCare_EventScript_DaycareWoman",
"flag": "0"
}
],
+88 -86
View File
@@ -1,164 +1,164 @@
FourIsland_PokemonDayCare_MapScripts:: @ 817193F
.byte 0
FourIsland_PokemonDayCare_EventScript_171940:: @ 8171940
FourIsland_PokemonDayCare_EventScript_DaycareWoman:: @ 8171940
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
specialvar VAR_RESULT, GetDaycareState
compare VAR_RESULT, 1
goto_if_eq EventScript_171A2E
compare VAR_RESULT, 2
goto_if_eq EventScript_171A52
compare VAR_RESULT, 3
goto_if_eq EventScript_171B86
msgbox gUnknown_81BF7E4, MSGBOX_YESNO
compare VAR_RESULT, DAYCARE_EGG_WAITING
goto_if_eq FourIsland_PokemonDayCare_EggWaiting
compare VAR_RESULT, DAYCARE_ONE_MON
goto_if_eq FourIsland_PokemonDayCare_OneMonInDaycare
compare VAR_RESULT, DAYCARE_TWO_MONS
goto_if_eq FourIsland_PokemonDayCare_TwoMonsInDaycare
msgbox DayCare_Text_WouldYouLikeUsToRaiseMon, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_171993
msgbox gUnknown_81BF916
goto_if_eq FourIsland_PokemonDayCare_GiveMonToRaise
msgbox DayCare_Text_FineThenComeAgain
release
end
EventScript_171993:: @ 8171993
FourIsland_PokemonDayCare_GiveMonToRaise:: @ 8171993
specialvar VAR_RESULT, CountPartyNonEggMons
compare VAR_RESULT, 1
goto_if_eq EventScript_171A1A
msgbox gUnknown_81BF839
goto_if_eq FourIsland_PokemonDayCare_OnlyOneMonInParty
msgbox DayCare_Text_WhichMonShouldWeRaise
fadescreen FADE_TO_BLACK
special ChooseSendDaycareMon
waitstate
compare VAR_0x8004, 6
goto_if_ge EventScript_1719F7
compare VAR_0x8004, PARTY_SIZE
goto_if_ge FourIsland_PokemonDayCare_ComeAgain
specialvar VAR_RESULT, CountPartyAliveNonEggMons_IgnoreVar0x8004Slot
compare VAR_RESULT, 0
goto_if_eq EventScript_171A24
specialvar VAR_0x8005, GetSelectedMonNickAndSpecies
goto_if_eq FourIsland_PokemonDayCare_OnlyOneAliveMonInParty
specialvar VAR_0x8005, GetSelectedMonNicknameAndSpecies
waitse
playmoncry VAR_0x8005, 0
msgbox gUnknown_81BF860
msgbox DayCare_Text_WellRaiseYourMon
waitmoncry
special StoreSelectedPokemonInDaycare
incrementgamestat GAME_STAT_USED_DAYCARE
specialvar VAR_RESULT, GetDaycareState
compare VAR_RESULT, 2
goto_if_eq EventScript_171A01
compare VAR_RESULT, DAYCARE_ONE_MON
goto_if_eq FourIsland_PokemonDayCare_CanRaiseOneMore
release
end
EventScript_1719F7:: @ 81719F7
msgbox gUnknown_81BF976
FourIsland_PokemonDayCare_ComeAgain:: @ 81719F7
msgbox DayCare_Text_ComeAgain
release
end
EventScript_171A01:: @ 8171A01
msgbox gUnknown_81BF89F, MSGBOX_YESNO
FourIsland_PokemonDayCare_CanRaiseOneMore:: @ 8171A01
msgbox DayCare_Text_WeCanRaiseOneMore, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_171993
goto EventScript_1719F7
goto_if_eq FourIsland_PokemonDayCare_GiveMonToRaise
goto FourIsland_PokemonDayCare_ComeAgain
end
EventScript_171A1A:: @ 8171A1A
msgbox gUnknown_81BFAAD
FourIsland_PokemonDayCare_OnlyOneMonInParty:: @ 8171A1A
msgbox DayCare_Text_YouHaveJustOneMon
release
end
EventScript_171A24:: @ 8171A24
msgbox gUnknown_81BFB09
FourIsland_PokemonDayCare_OnlyOneAliveMonInParty:: @ 8171A24
msgbox DayCare_Text_WhatWillYouBattleWith
release
end
EventScript_171A2E:: @ 8171A2E
msgbox gUnknown_81BF8F6
FourIsland_PokemonDayCare_EggWaiting:: @ 8171A2E
msgbox DayCare_Text_HusbandWasLookingForYou
release
end
EventScript_171A38:: @ 8171A38
msgbox gUnknown_81BF9CC
FourIsland_PokemonDayCare_MonHasGrownXLevels:: @ 8171A38
msgbox DayCare_Text_YourMonHasGrownXLevels
return
EventScript_171A41:: @ 8171A41
FourIsland_PokemonDayCare_DisplayLevelsGained:: @ 8171A41
specialvar VAR_RESULT, GetNumLevelsGainedFromDaycare
compare VAR_RESULT, 0
call_if_ne EventScript_171A38
call_if_ne FourIsland_PokemonDayCare_MonHasGrownXLevels
return
EventScript_171A52:: @ 8171A52
msgbox gUnknown_81BF988
FourIsland_PokemonDayCare_OneMonInDaycare:: @ 8171A52
msgbox DayCare_Text_GoodToSeeYou
setvar VAR_0x8004, 0
call EventScript_171A41
msgbox gUnknown_81BF89F, MSGBOX_YESNO
call FourIsland_PokemonDayCare_DisplayLevelsGained
msgbox DayCare_Text_WeCanRaiseOneMore, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_171993
msgbox gUnknown_81BFAE8, MSGBOX_YESNO
goto_if_eq FourIsland_PokemonDayCare_GiveMonToRaise
msgbox DayCare_Text_TakeYourMonBack, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_171A90
goto EventScript_1719F7
goto_if_eq FourIsland_PokemonDayCare_TryRetrieveMon
goto FourIsland_PokemonDayCare_ComeAgain
end
EventScript_171A90:: @ 8171A90
FourIsland_PokemonDayCare_TryRetrieveMon:: @ 8171A90
specialvar VAR_RESULT, CalculatePlayerPartyCount
compare VAR_RESULT, 6
goto_if_eq EventScript_171B67
compare VAR_RESULT, PARTY_SIZE
goto_if_eq FourIsland_PokemonDayCare_NoRoomInParty
specialvar VAR_RESULT, GetDaycareState
setvar VAR_0x8004, 0
compare VAR_RESULT, 2
goto_if_eq EventScript_171ACF
compare VAR_RESULT, DAYCARE_ONE_MON
goto_if_eq FourIsland_PokemonDayCare_CostPrompt
special ShowDaycareLevelMenu
waitstate
copyvar VAR_0x8004, VAR_RESULT
compare VAR_RESULT, 2
goto_if_eq EventScript_1719F7
goto EventScript_171ACF
compare VAR_RESULT, DAYCARE_EXITED_LEVEL_MENU
goto_if_eq FourIsland_PokemonDayCare_ComeAgain
goto FourIsland_PokemonDayCare_CostPrompt
end
EventScript_171ACF:: @ 8171ACF
FourIsland_PokemonDayCare_CostPrompt:: @ 8171ACF
special GetDaycareCost
msgbox gUnknown_81BFA3B, MSGBOX_YESNO
msgbox DayCare_Text_ItWillCostX, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_171AEB
goto EventScript_1719F7
goto_if_eq FourIsland_PokemonDayCare_CheckEnoughMoney
goto FourIsland_PokemonDayCare_ComeAgain
end
EventScript_171AEB:: @ 8171AEB
FourIsland_PokemonDayCare_CheckEnoughMoney:: @ 8171AEB
specialvar VAR_RESULT, IsEnoughForCostInVar0x8005
compare VAR_RESULT, 1
goto_if_eq EventScript_171B05
msgbox gUnknown_81BF932
compare VAR_RESULT, TRUE
goto_if_eq FourIsland_PokemonDayCare_RetrieveMon
msgbox DayCare_Text_NotEnoughMoney
release
end
EventScript_171B05:: @ 8171B05
applymovement 1, Movement_171B71
FourIsland_PokemonDayCare_RetrieveMon:: @ 8171B05
applymovement 1, FourIsland_PokemonDayCare_Movement_RetrieveMon
waitmovement 0
specialvar VAR_RESULT, TakePokemonFromDaycare
special SubtractMoneyFromVar0x8005
playse SE_REGI
msgbox gUnknown_81BFA67
msgbox DayCare_Text_HeresYourMon
waitse
playmoncry VAR_RESULT, 0
textcolor 3
msgbox gUnknown_81BFA85
msgbox DayCare_Text_TookBackMon
call EventScript_1A6675
waitmoncry
specialvar VAR_RESULT, GetDaycareState
compare VAR_RESULT, 2
goto_if_eq EventScript_171B4E
goto EventScript_1719F7
compare VAR_RESULT, DAYCARE_ONE_MON
goto_if_eq FourIsland_PokemonDayCare_AskRetrieveOtherMon
goto FourIsland_PokemonDayCare_ComeAgain
end
EventScript_171B4E:: @ 8171B4E
msgbox gUnknown_81BF94F, MSGBOX_YESNO
FourIsland_PokemonDayCare_AskRetrieveOtherMon:: @ 8171B4E
msgbox DayCare_Text_TakeOtherOneBackToo, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_171A90
goto EventScript_1719F7
goto_if_eq FourIsland_PokemonDayCare_TryRetrieveMon
goto FourIsland_PokemonDayCare_ComeAgain
end
EventScript_171B67:: @ 8171B67
msgbox gUnknown_81BF9EF
FourIsland_PokemonDayCare_NoRoomInParty:: @ 8171B67
msgbox DayCare_Text_YourPartyIsFull
release
end
Movement_171B71:: @ 8171B71
FourIsland_PokemonDayCare_Movement_RetrieveMon:: @ 8171B71
delay_16
delay_16
face_right
@@ -180,30 +180,32 @@ Movement_171B71:: @ 8171B71
walk_slowest_down
step_end
EventScript_171B85:: @ 8171B85
@ Unused. Possibly a commented script, or a typo end added to the above Movement script
FourIsland_PokemonDayCare_EventScript_UnusedEnd:: @ 8171B85
end
EventScript_171B86:: @ 8171B86
msgbox gUnknown_81BF988
FourIsland_PokemonDayCare_TwoMonsInDaycare:: @ 8171B86
msgbox DayCare_Text_GoodToSeeYou
setvar VAR_0x8004, 0
call EventScript_171A41
call FourIsland_PokemonDayCare_DisplayLevelsGained
setvar VAR_0x8004, 1
call EventScript_171A41
msgbox gUnknown_81BFAE8, MSGBOX_YESNO
call FourIsland_PokemonDayCare_DisplayLevelsGained
msgbox DayCare_Text_TakeYourMonBack, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_171A90
msgbox gUnknown_81BF976
goto_if_eq FourIsland_PokemonDayCare_TryRetrieveMon
msgbox DayCare_Text_ComeAgain
release
end
EventScript_171BBF:: @ 8171BBF
@ Unused
FourIsland_PokemonDayCare_EventScript_UnusedRetrieveMon:: @ 8171BBF
special ShowDaycareLevelMenu
waitstate
compare VAR_RESULT, 2
goto_if_eq EventScript_1719F7
goto_if_eq FourIsland_PokemonDayCare_ComeAgain
copyvar VAR_0x8004, VAR_RESULT
specialvar VAR_RESULT, TakePokemonFromDaycare
msgbox gUnknown_81BFA67
msgbox gUnknown_81BF976
msgbox DayCare_Text_HeresYourMon
msgbox DayCare_Text_ComeAgain
release
end
+18 -18
View File
@@ -39,7 +39,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_EventScript_166DAF",
"script": "FuchsiaCity_EventScript_Erik",
"flag": "0"
},
{
@@ -78,7 +78,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_EventScript_166DB8",
"script": "FuchsiaCity_EventScript_Youngster",
"flag": "0"
},
{
@@ -104,7 +104,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_EventScript_166D9D",
"script": "FuchsiaCity_EventScript_LittleBoy",
"flag": "0"
},
{
@@ -130,7 +130,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_EventScript_166DA6",
"script": "FuchsiaCity_EventScript_OldMan",
"flag": "0"
},
{
@@ -234,7 +234,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_EventScript_166DC1",
"script": "FuchsiaCity_EventScript_Lass",
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
}
],
@@ -250,7 +250,7 @@
"x": 33,
"y": 31,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY_BUILDING1",
"dest_map": "MAP_FUCHSIA_CITY_WARDENS_HOUSE",
"dest_warp_id": 1
},
{
@@ -264,7 +264,7 @@
"x": 28,
"y": 16,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY_ZOO_BUILDING",
"dest_map": "MAP_FUCHSIA_CITY_SAFARI_ZONE_OFFICE",
"dest_warp_id": 1
},
{
@@ -324,77 +324,77 @@
"x": 31,
"y": 18,
"elevation": 3,
"script": "FuchsiaCity_EventScript_166DDA"
"script": "FuchsiaCity_EventScript_CitySign"
},
{
"type": "bg_event_type_0",
"x": 26,
"y": 18,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166DE3"
"script": "FuchsiaCity_EventScript_SafariZoneSign"
},
{
"type": "bg_event_type_0",
"x": 5,
"y": 32,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166E07"
"script": "FuchsiaCity_EventScript_GymSign"
},
{
"type": "bg_event_type_0",
"x": 31,
"y": 31,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166DF5"
"script": "FuchsiaCity_EventScript_WardensHomeSign"
},
{
"type": "bg_event_type_0",
"x": 35,
"y": 10,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166E38"
"script": "FuchsiaCity_EventScript_VoltorbSign"
},
{
"type": "bg_event_type_0",
"x": 38,
"y": 16,
"elevation": 3,
"script": "FuchsiaCity_EventScript_166E6A"
"script": "FuchsiaCity_EventScript_SlowpokeSign"
},
{
"type": "bg_event_type_0",
"x": 41,
"y": 10,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166E1F"
"script": "FuchsiaCity_EventScript_ChanseySign"
},
{
"type": "bg_event_type_0",
"x": 17,
"y": 10,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166E51"
"script": "FuchsiaCity_EventScript_KangaskhanSign"
},
{
"type": "bg_event_type_0",
"x": 11,
"y": 10,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166E9C"
"script": "FuchsiaCity_EventScript_FossilMonSign"
},
{
"type": "bg_event_type_0",
"x": 17,
"y": 18,
"elevation": 3,
"script": "FuchsiaCity_EventScript_166E83"
"script": "FuchsiaCity_EventScript_LaprasSign"
},
{
"type": "bg_event_type_0",
"x": 22,
"y": 7,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166DEC"
"script": "FuchsiaCity_EventScript_SafariGameSign"
},
{
"type": "hidden_item",
+42 -41
View File
@@ -4,135 +4,136 @@ FuchsiaCity_MapScripts:: @ 8166D75
FuchsiaCity_OnTransition:: @ 8166D7B
setworldmapflag FLAG_WORLD_MAP_FUCHSIA_CITY
call_if_set FLAG_GOT_DOME_FOSSIL, EventScript_166D91
call_if_unset FLAG_GOT_DOME_FOSSIL, EventScript_166D97
call_if_set FLAG_GOT_DOME_FOSSIL, FuchsicaCity_EventScript_SetOmanyteGfx
call_if_unset FLAG_GOT_DOME_FOSSIL, FuchsiaCity_EventScript_SetKabutoGfx
end
EventScript_166D91:: @ 8166D91
FuchsicaCity_EventScript_SetOmanyteGfx:: @ 8166D91
setvar VAR_OBJ_GFX_ID_0, OBJECT_EVENT_GFX_OMANYTE
return
EventScript_166D97:: @ 8166D97
FuchsiaCity_EventScript_SetKabutoGfx:: @ 8166D97
setvar VAR_OBJ_GFX_ID_0, OBJECT_EVENT_GFX_KABUTO
return
FuchsiaCity_EventScript_166D9D:: @ 8166D9D
msgbox gUnknown_818056E, MSGBOX_NPC
FuchsiaCity_EventScript_LittleBoy:: @ 8166D9D
msgbox FuchsiaCity_Text_DidYouTrySafariGame, MSGBOX_NPC
end
FuchsiaCity_EventScript_166DA6:: @ 8166DA6
msgbox gUnknown_81805C6, MSGBOX_NPC
FuchsiaCity_EventScript_OldMan:: @ 8166DA6
msgbox FuchsiaCity_Text_SafariZoneZooInFront, MSGBOX_NPC
end
FuchsiaCity_EventScript_166DAF:: @ 8166DAF
msgbox gUnknown_818062C, MSGBOX_NPC
FuchsiaCity_EventScript_Erik:: @ 8166DAF
msgbox FuchsiaCity_Text_WheresSara, MSGBOX_NPC
end
FuchsiaCity_EventScript_166DB8:: @ 8166DB8
msgbox gUnknown_818065A, MSGBOX_NPC
FuchsiaCity_EventScript_Youngster:: @ 8166DB8
msgbox FuchsiaCity_Text_ItemBallInThere, MSGBOX_NPC
end
FuchsiaCity_EventScript_166DC1:: @ 8166DC1
FuchsiaCity_EventScript_Lass:: @ 8166DC1
lock
faceplayer
famechecker FAMECHECKER_KOGA, 3
msgbox gUnknown_8180ABD
msgbox FuchsiaCity_Text_MyFatherIsGymLeader
release
end
FuchsiaCity_EventScript_166DDA:: @ 8166DDA
msgbox gUnknown_81806AB, MSGBOX_SIGN
FuchsiaCity_EventScript_CitySign:: @ 8166DDA
msgbox FuchsiaCity_Text_CitySign, MSGBOX_SIGN
end
FuchsiaCity_EventScript_166DE3:: @ 8166DE3
msgbox gUnknown_81806D3, MSGBOX_SIGN
FuchsiaCity_EventScript_SafariZoneSign:: @ 8166DE3
msgbox FuchsiaCity_Text_SafariZoneSign, MSGBOX_SIGN
end
FuchsiaCity_EventScript_166DEC:: @ 8166DEC
msgbox gUnknown_81806F0, MSGBOX_SIGN
FuchsiaCity_EventScript_SafariGameSign:: @ 8166DEC
msgbox FuchsiaCity_Text_SafariGameSign, MSGBOX_SIGN
end
FuchsiaCity_EventScript_166DF5:: @ 8166DF5
msgbox gUnknown_818070D, MSGBOX_SIGN
FuchsiaCity_EventScript_WardensHomeSign:: @ 8166DF5
msgbox FuchsiaCity_Text_WardensHomeSign, MSGBOX_SIGN
end
EventScript_166DFE:: @ 8166DFE
msgbox gUnknown_8180727, MSGBOX_SIGN
@ Unused
FuchsiaCity_EventScript_SafariZoneOfficeSign:: @ 8166DFE
msgbox FuchsiaCity_Text_SafariZoneOfficeSign, MSGBOX_SIGN
end
FuchsiaCity_EventScript_166E07:: @ 8166E07
FuchsiaCity_EventScript_GymSign:: @ 8166E07
lockall
famechecker FAMECHECKER_KOGA, 0
msgbox gUnknown_8180768
msgbox FuchsiaCity_Text_GymSign
releaseall
end
FuchsiaCity_EventScript_166E1F:: @ 8166E1F
FuchsiaCity_EventScript_ChanseySign:: @ 8166E1F
lockall
setvar VAR_0x8004, SPECIES_CHANSEY
special Special_SetSeenMon
drawmonpic SPECIES_CHANSEY, 10, 3
msgbox gUnknown_81807A9
msgbox FuchsiaCity_Text_ChanseySign
erasemonpic
releaseall
end
FuchsiaCity_EventScript_166E38:: @ 8166E38
FuchsiaCity_EventScript_VoltorbSign:: @ 8166E38
lockall
setvar VAR_0x8004, SPECIES_VOLTORB
special Special_SetSeenMon
drawmonpic SPECIES_VOLTORB, 10, 3
msgbox gUnknown_81807D9
msgbox FuchsiaCity_Text_VoltorbSign
erasemonpic
releaseall
end
FuchsiaCity_EventScript_166E51:: @ 8166E51
FuchsiaCity_EventScript_KangaskhanSign:: @ 8166E51
lockall
setvar VAR_0x8004, SPECIES_KANGASKHAN
special Special_SetSeenMon
drawmonpic SPECIES_KANGASKHAN, 10, 3
msgbox gUnknown_8180806
msgbox FuchsiaCity_Text_KangaskhanSign
erasemonpic
releaseall
end
FuchsiaCity_EventScript_166E6A:: @ 8166E6A
FuchsiaCity_EventScript_SlowpokeSign:: @ 8166E6A
lockall
setvar VAR_0x8004, SPECIES_SLOWPOKE
special Special_SetSeenMon
drawmonpic SPECIES_SLOWPOKE, 10, 3
msgbox gUnknown_8180859
msgbox FuchsiaCity_Text_SlowpokeSign
erasemonpic
releaseall
end
FuchsiaCity_EventScript_166E83:: @ 8166E83
FuchsiaCity_EventScript_LaprasSign:: @ 8166E83
lockall
setvar VAR_0x8004, SPECIES_LAPRAS
special Special_SetSeenMon
drawmonpic SPECIES_LAPRAS, 10, 3
msgbox gUnknown_8180887
msgbox FuchsiaCity_Text_LaprasSign
erasemonpic
releaseall
end
FuchsiaCity_EventScript_166E9C:: @ 8166E9C
FuchsiaCity_EventScript_FossilMonSign:: @ 8166E9C
lockall
goto_if_set FLAG_GOT_DOME_FOSSIL, EventScript_166EBE
goto_if_set FLAG_GOT_DOME_FOSSIL, FuchsiaCity_EventScript_OmanyteSign
setvar VAR_0x8004, SPECIES_KABUTO
special Special_SetSeenMon
drawmonpic SPECIES_KABUTO, 10, 3
msgbox gUnknown_81808FA
msgbox FuchsiaCity_Text_KabutoSign
erasemonpic
releaseall
end
EventScript_166EBE:: @ 8166EBE
FuchsiaCity_EventScript_OmanyteSign:: @ 8166EBE
setvar VAR_0x8004, SPECIES_OMANYTE
special Special_SetSeenMon
drawmonpic SPECIES_OMANYTE, 10, 3
msgbox gUnknown_81808AE
msgbox FuchsiaCity_Text_OmanyteSign
erasemonpic
releaseall
end
+20 -19
View File
@@ -1,82 +1,83 @@
gUnknown_818056E:: @ 818056E
FuchsiaCity_Text_DidYouTrySafariGame:: @ 818056E
.string "Did you try the SAFARI GAME?\p"
.string "There are some rare POKéMON that\n"
.string "can only be caught there.$"
gUnknown_81805C6:: @ 81805C6
FuchsiaCity_Text_SafariZoneZooInFront:: @ 81805C6
.string "The SAFARI ZONE has a zoo in front\n"
.string "of the entrance.\p"
.string "Out back is the SAFARI GAME for\n"
.string "catching POKéMON.$"
gUnknown_818062C:: @ 818062C
FuchsiaCity_Text_WheresSara:: @ 818062C
.string "ERIK: Where's SARA?\n"
.string "I said I'd meet her here.$"
gUnknown_818065A:: @ 818065A
FuchsiaCity_Text_ItemBallInThere:: @ 818065A
.string "That item ball in there…\n"
.string "Were you wanting that?\p"
.string "Me, too!\n"
.string "…Huh? That's a POKéMON?$"
gUnknown_81806AB:: @ 81806AB
FuchsiaCity_Text_CitySign:: @ 81806AB
.string "FUCHSIA CITY\n"
.string "Behold! It's Passion Pink!$"
gUnknown_81806D3:: @ 81806D3
FuchsiaCity_Text_SafariZoneSign:: @ 81806D3
.string "POKéMON PARADISE\n"
.string "SAFARI ZONE$"
gUnknown_81806F0:: @ 81806F0
FuchsiaCity_Text_SafariGameSign:: @ 81806F0
.string "SAFARI GAME\n"
.string "POKéMON-U-CATCH!$"
gUnknown_818070D:: @ 818070D
FuchsiaCity_Text_WardensHomeSign:: @ 818070D
.string "SAFARI ZONE\n"
.string "WARDEN'S HOME$"
gUnknown_8180727:: @ 8180727
FuchsiaCity_Text_SafariZoneOfficeSign:: @ 8180727
.string "POKéMON PARADISE!\n"
.string "Welcome to the SAFARI ZONE!\l"
.string "SAFARI ZONE OFFICE$"
gUnknown_8180768:: @ 8180768
FuchsiaCity_Text_GymSign:: @ 8180768
.string "FUCHSIA CITY POKéMON GYM\n"
.string "LEADER: KOGA\l"
.string "The Poisonous Ninja Master$"
gUnknown_81807A9:: @ 81807A9
FuchsiaCity_Text_ChanseySign:: @ 81807A9
.string "Name: CHANSEY\n"
.string "Catching one is all up to chance.$"
gUnknown_81807D9:: @ 81807D9
FuchsiaCity_Text_VoltorbSign:: @ 81807D9
.string "Name: VOLTORB\n"
.string "The very image of a POKé BALL.$"
gUnknown_8180806:: @ 8180806
FuchsiaCity_Text_KangaskhanSign:: @ 8180806
.string "Name: KANGASKHAN\p"
.string "A maternal POKéMON that raises its\n"
.string "young in a pouch on its belly.$"
gUnknown_8180859:: @ 8180859
FuchsiaCity_Text_SlowpokeSign:: @ 8180859
.string "Name: SLOWPOKE\n"
.string "Friendly and very slow moving.$"
gUnknown_8180887:: @ 8180887
FuchsiaCity_Text_LaprasSign:: @ 8180887
.string "Name: LAPRAS\n"
.string "AKA the king of the seas.$"
gUnknown_81808AE:: @ 81808AE
FuchsiaCity_Text_OmanyteSign:: @ 81808AE
.string "Name: OMANYTE\n"
.string "An extremely rare POKéMON that was\l"
.string "regenerated from a fossil.$"
gUnknown_81808FA:: @ 81808FA
FuchsiaCity_Text_KabutoSign:: @ 81808FA
.string "Name: KABUTO\n"
.string "An extremely rare POKéMON that was\l"
.string "regenerated from a fossil.$"
Text_180945:: @ 8180945
@ Unused. May have been meant to be the placeholder text for the zoo mons, similar to RB's "!" text
FuchsiaCity_Text_Ellipsis:: @ 8180945
.string "……$"
Text_SubstituteTeach:: @ 8180948
@@ -103,7 +104,7 @@ Text_SubstituteTaught:: @ 8180A80
.string "Boy, what I'd give to crawl inside\n"
.string "a KANGASKHAN belly pouch…$"
gUnknown_8180ABD:: @ 8180ABD
FuchsiaCity_Text_MyFatherIsGymLeader:: @ 8180ABD
.string "My father is the GYM LEADER of\n"
.string "this town.\p"
.string "I'm training to use POISON POKéMON\n"
@@ -1,63 +0,0 @@
FuchsiaCity_Building1_MapScripts:: @ 816D74B
.byte 0
FuchsiaCity_Building1_EventScript_16D74C:: @ 816D74C
lock
faceplayer
goto_if_set FLAG_GOT_HM04, EventScript_16D7FA
goto_if_set FLAG_HIDE_SAFARI_ZONE_WEST_GOLD_TEETH, EventScript_16D780
msgbox gUnknown_8198DF9, MSGBOX_YESNO
compare VAR_RESULT, YES
call_if_eq EventScript_16D7E8
compare VAR_RESULT, NO
call_if_eq EventScript_16D7F1
release
end
EventScript_16D780:: @ 816D780
textcolor 3
playfanfare MUS_ME_WAZA
message Text_198E84
waitmessage
waitfanfare
msgbox gUnknown_8198EAA
call EventScript_1A6675
checkplayergender
compare VAR_RESULT, MALE
call_if_eq EventScript_16D7D6
compare VAR_RESULT, FEMALE
call_if_eq EventScript_16D7DF
giveitem_msg gUnknown_8199068, ITEM_HM04
setflag FLAG_GOT_HM04
removeitem ITEM_GOLD_TEETH, 1
release
end
EventScript_16D7D6:: @ 816D7D6
msgbox gUnknown_8198ECA
return
EventScript_16D7DF:: @ 816D7DF
msgbox gUnknown_8198F96
return
EventScript_16D7E8:: @ 816D7E8
msgbox gUnknown_8198E3F
return
EventScript_16D7F1:: @ 816D7F1
msgbox gUnknown_8198E63
return
EventScript_16D7FA:: @ 816D7FA
msgbox gUnknown_819908A
release
end
FuchsiaCity_Building1_EventScript_16D804:: @ 816D804
msgbox gUnknown_819913C, MSGBOX_SIGN
end
FuchsiaCity_Building1_EventScript_16D80D:: @ 816D80D
msgbox gUnknown_8199167, MSGBOX_SIGN
end
+10 -10
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "FuchsiaCity_Gym_EventScript_16D65A",
"script": "FuchsiaCity_Gym_EventScript_Kayden",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "FuchsiaCity_Gym_EventScript_16D643",
"script": "FuchsiaCity_Gym_EventScript_Shawn",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "FuchsiaCity_Gym_EventScript_16D61F",
"script": "FuchsiaCity_Gym_EventScript_Kirk",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "FuchsiaCity_Gym_EventScript_16D608",
"script": "FuchsiaCity_Gym_EventScript_Edgar",
"flag": "0"
},
{
@@ -75,7 +75,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "FuchsiaCity_Gym_EventScript_16D5F1",
"script": "FuchsiaCity_Gym_EventScript_Phil",
"flag": "0"
},
{
@@ -88,7 +88,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "FuchsiaCity_Gym_EventScript_16D671",
"script": "FuchsiaCity_Gym_EventScript_Nate",
"flag": "0"
},
{
@@ -101,7 +101,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Gym_EventScript_16D54E",
"script": "FuchsiaCity_Gym_EventScript_Koga",
"flag": "0"
},
{
@@ -114,7 +114,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Gym_EventScript_16D688",
"script": "FuchsiaCity_Gym_EventScript_GymGuy",
"flag": "0"
}
],
@@ -148,14 +148,14 @@
"x": 4,
"y": 19,
"elevation": 0,
"script": "FuchsiaCity_Gym_EventScript_16D6A7"
"script": "FuchsiaCity_Gym_EventScript_GymStatue"
},
{
"type": "bg_event_type_0",
"x": 10,
"y": 19,
"elevation": 0,
"script": "FuchsiaCity_Gym_EventScript_16D6A7"
"script": "FuchsiaCity_Gym_EventScript_GymStatue"
}
]
}
+41 -41
View File
@@ -1,91 +1,91 @@
FuchsiaCity_Gym_MapScripts:: @ 816D54D
.byte 0
FuchsiaCity_Gym_EventScript_16D54E:: @ 816D54E
FuchsiaCity_Gym_EventScript_Koga:: @ 816D54E
famechecker FAMECHECKER_KOGA, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
trainerbattle_single TRAINER_LEADER_KOGA, Text_19832E, Text_198444, EventScript_16D580, NO_MUSIC
goto_if_unset FLAG_GOT_TM06_FROM_KOGA, EventScript_16D5A6
msgbox gUnknown_8198481
trainerbattle_single TRAINER_LEADER_KOGA, FuchsiaCity_Gym_Text_KogaIntro, FuchsiaCity_Gym_Text_KogaDefeat, FuchsiaCity_Gym_EventScript_DefeatedKoga, NO_MUSIC
goto_if_unset FLAG_GOT_TM06_FROM_KOGA, FuchsiaCity_Gym_EventScript_GiveTM06
msgbox FuchsiaCity_Gym_Text_KogaPostBattle
release
end
EventScript_16D580:: @ 816D580
FuchsiaCity_Gym_EventScript_DefeatedKoga:: @ 816D580
famechecker FAMECHECKER_KOGA, 1
clearflag FLAG_HIDE_FAME_CHECKER_KOGA_JOURNAL
setflag FLAG_DEFEATED_KOGA
setflag FLAG_BADGE05_GET
set_gym_trainers 5
goto EventScript_16D5A6
goto FuchsiaCity_Gym_EventScript_GiveTM06
end
EventScript_16D5A6:: @ 816D5A6
msgbox gUnknown_819850E
FuchsiaCity_Gym_EventScript_GiveTM06:: @ 816D5A6
msgbox FuchsiaCity_Gym_Text_KogaExplainSoulBadge
checkitemspace ITEM_TM06, 1
compare VAR_RESULT, FALSE
goto_if_eq EventScript_16D5E7
giveitem_msg gUnknown_819858F, ITEM_TM06
goto_if_eq FuchsiaCity_Gym_EventScript_NoRoomForTM06
giveitem_msg FuchsiaCity_Gym_Text_ReceivedTM06FromKoga, ITEM_TM06
setflag FLAG_GOT_TM06_FROM_KOGA
msgbox gUnknown_81985AB
msgbox FuchsiaCity_Gym_Text_KogaExplainTM06
release
end
EventScript_16D5E7:: @ 816D5E7
msgbox gUnknown_819860D
FuchsiaCity_Gym_EventScript_NoRoomForTM06:: @ 816D5E7
msgbox FuchsiaCity_Gym_Text_MakeSpaceForThis
release
end
FuchsiaCity_Gym_EventScript_16D5F1:: @ 816D5F1
trainerbattle_single TRAINER_TAMER_PHIL, Text_198866, Text_1988B6
msgbox gUnknown_81988CB, MSGBOX_AUTOCLOSE
FuchsiaCity_Gym_EventScript_Phil:: @ 816D5F1
trainerbattle_single TRAINER_TAMER_PHIL, FuchsiaCity_Gym_Text_PhilIntro, FuchsiaCity_Gym_Text_PhilDefeat
msgbox FuchsiaCity_Gym_Text_PhilPostBattle, MSGBOX_AUTOCLOSE
end
FuchsiaCity_Gym_EventScript_16D608:: @ 816D608
trainerbattle_single TRAINER_TAMER_EDGAR, Text_19891F, Text_19897F
msgbox gUnknown_8198985, MSGBOX_AUTOCLOSE
FuchsiaCity_Gym_EventScript_Edgar:: @ 816D608
trainerbattle_single TRAINER_TAMER_EDGAR, FuchsiaCity_Gym_Text_EdgarIntro, FuchsiaCity_Gym_Text_EdgarDefeat
msgbox FuchsiaCity_Gym_Text_EdgarPostBattle, MSGBOX_AUTOCLOSE
end
FuchsiaCity_Gym_EventScript_16D61F:: @ 816D61F
trainerbattle_single TRAINER_JUGGLER_KIRK, Text_19871E, Text_198779
FuchsiaCity_Gym_EventScript_Kirk:: @ 816D61F
trainerbattle_single TRAINER_JUGGLER_KIRK, FuchsiaCity_Gym_Text_KirkIntro, FuchsiaCity_Gym_Text_KirkDefeat
famechecker FAMECHECKER_KOGA, 2
msgbox gUnknown_8198787, MSGBOX_AUTOCLOSE
msgbox FuchsiaCity_Gym_Text_KirkPostBattle, MSGBOX_AUTOCLOSE
end
FuchsiaCity_Gym_EventScript_16D643:: @ 816D643
trainerbattle_single TRAINER_JUGGLER_SHAWN, Text_1989A1, Text_1989EA
msgbox gUnknown_8198A10, MSGBOX_AUTOCLOSE
FuchsiaCity_Gym_EventScript_Shawn:: @ 816D643
trainerbattle_single TRAINER_JUGGLER_SHAWN, FuchsiaCity_Gym_Text_ShawnIntro, FuchsiaCity_Gym_Text_ShawnDefeat
msgbox FuchsiaCity_Gym_Text_ShawnPostBattle, MSGBOX_AUTOCLOSE
end
FuchsiaCity_Gym_EventScript_16D65A:: @ 816D65A
trainerbattle_single TRAINER_JUGGLER_KAYDEN, Text_198629, Text_1986B4
msgbox gUnknown_81986C9, MSGBOX_AUTOCLOSE
FuchsiaCity_Gym_EventScript_Kayden:: @ 816D65A
trainerbattle_single TRAINER_JUGGLER_KAYDEN, FuchsiaCity_Gym_Text_KaydenIntro, FuchsiaCity_Gym_Text_KaydenDefeat
msgbox FuchsiaCity_Gym_Text_KaydenPostBattle, MSGBOX_AUTOCLOSE
end
FuchsiaCity_Gym_EventScript_16D671:: @ 816D671
trainerbattle_single TRAINER_JUGGLER_NATE, Text_1987E8, Text_198812
msgbox gUnknown_8198825, MSGBOX_AUTOCLOSE
FuchsiaCity_Gym_EventScript_Nate:: @ 816D671
trainerbattle_single TRAINER_JUGGLER_NATE, FuchsiaCity_Gym_Text_NateIntro, FuchsiaCity_Gym_Text_NateDefeat
msgbox FuchsiaCity_Gym_Text_NatePostBattle, MSGBOX_AUTOCLOSE
end
FuchsiaCity_Gym_EventScript_16D688:: @ 816D688
FuchsiaCity_Gym_EventScript_GymGuy:: @ 816D688
lock
faceplayer
goto_if_set FLAG_DEFEATED_KOGA, EventScript_16D69D
msgbox gUnknown_8198A5E
goto_if_set FLAG_DEFEATED_KOGA, FuchsiaCity_Gym_EventScript_GymGuyPostVictory
msgbox FuchsiaCity_Gym_Text_GymGuyAdvice
release
end
EventScript_16D69D:: @ 816D69D
msgbox gUnknown_8198B1D
FuchsiaCity_Gym_EventScript_GymGuyPostVictory:: @ 816D69D
msgbox FuchsiaCity_Gym_Text_GymGuyPostVictory
release
end
FuchsiaCity_Gym_EventScript_16D6A7:: @ 816D6A7
FuchsiaCity_Gym_EventScript_GymStatue:: @ 816D6A7
lockall
goto_if_set FLAG_BADGE05_GET, EventScript_16D6BB
msgbox gUnknown_8198B4B
goto_if_set FLAG_BADGE05_GET, FuchsiaCity_Gym_EventScript_GymStatuePostVictory
msgbox FuchsiaCity_Gym_Text_GymStatue
releaseall
end
EventScript_16D6BB:: @ 816D6BB
msgbox gUnknown_8198B81
FuchsiaCity_Gym_EventScript_GymStatuePostVictory:: @ 816D6BB
msgbox FuchsiaCity_Gym_Text_GymStatuePlayerWon
releaseall
end
+29 -29
View File
@@ -1,4 +1,4 @@
Text_19832E:: @ 819832E
FuchsiaCity_Gym_Text_KogaIntro:: @ 819832E
.string "KOGA: Fwahahaha!\p"
.string "A mere child like you dares to\n"
.string "challenge me?\p"
@@ -11,20 +11,20 @@ Text_19832E:: @ 819832E
.string "Despair to the creeping horror of\n"
.string "POISON-type POKéMON!{PLAY_BGM}{MUS_EXEYE}$"
Text_198444:: @ 8198444
FuchsiaCity_Gym_Text_KogaDefeat:: @ 8198444
.string "Humph!\n"
.string "You have proven your worth!\p"
.string "Here!\n"
.string "Take the SOULBADGE!$"
gUnknown_8198481:: @ 8198481
FuchsiaCity_Gym_Text_KogaPostBattle:: @ 8198481
.string "When afflicted by TOXIC, a POKéMON\n"
.string "suffers more and more.\p"
.string "It suffers worsening damage as the\n"
.string "battle wears on!\p"
.string "It will surely terrorize foes!$"
gUnknown_819850E:: @ 819850E
FuchsiaCity_Gym_Text_KogaExplainSoulBadge:: @ 819850E
.string "Now that you have the SOULBADGE,\n"
.string "the DEFENSE of your POKéMON rises.\p"
.string "It also lets you SURF outside of\n"
@@ -32,103 +32,103 @@ gUnknown_819850E:: @ 819850E
.string "Ah!\n"
.string "Take this, too!$"
gUnknown_819858F:: @ 819858F
FuchsiaCity_Gym_Text_ReceivedTM06FromKoga:: @ 819858F
.string "{PLAYER} received TM06\n"
.string "from KOGA.$"
gUnknown_81985AB:: @ 81985AB
FuchsiaCity_Gym_Text_KogaExplainTM06:: @ 81985AB
.string "Sealed within that TM06 lies\n"
.string "TOXIC!\p"
.string "It is a secret technique dating\n"
.string "back some four hundred years.$"
gUnknown_819860D:: @ 819860D
FuchsiaCity_Gym_Text_MakeSpaceForThis:: @ 819860D
.string "Make space for this, child!$"
Text_198629:: @ 8198629
FuchsiaCity_Gym_Text_KaydenIntro:: @ 8198629
.string "Strength isn't the key for POKéMON.\n"
.string "Do you understand this?\p"
.string "POKéMON is about strategy!\p"
.string "I'll show you how strategy can\n"
.string "beat brute strength.$"
Text_1986B4:: @ 81986B4
FuchsiaCity_Gym_Text_KaydenDefeat:: @ 81986B4
.string "What?\n"
.string "Extraordinary!$"
gUnknown_81986C9:: @ 81986C9
FuchsiaCity_Gym_Text_KaydenPostBattle:: @ 81986C9
.string "So, you mix brawn with brains?\n"
.string "Good strategy!\p"
.string "That's remarkable for a child\n"
.string "TRAINER.$"
Text_19871E:: @ 819871E
FuchsiaCity_Gym_Text_KirkIntro:: @ 819871E
.string "I was a magician once upon a time.\p"
.string "But I dreamt of becoming a ninja,\n"
.string "so I joined this GYM.$"
Text_198779:: @ 8198779
FuchsiaCity_Gym_Text_KirkDefeat:: @ 8198779
.string "I'm done for!$"
gUnknown_8198787:: @ 8198787
FuchsiaCity_Gym_Text_KirkPostBattle:: @ 8198787
.string "Even though I've lost, I will keep\n"
.string "training according to the teachings\l"
.string "of KOGA, my ninja master.$"
Text_1987E8:: @ 81987E8
FuchsiaCity_Gym_Text_NateIntro:: @ 81987E8
.string "Let's see you beat my special\n"
.string "techniques!$"
Text_198812:: @ 8198812
FuchsiaCity_Gym_Text_NateDefeat:: @ 8198812
.string "You had me fooled!$"
gUnknown_8198825:: @ 8198825
FuchsiaCity_Gym_Text_NatePostBattle:: @ 8198825
.string "I like poison and sleep techniques,\n"
.string "as they linger after battle!$"
Text_198866:: @ 8198866
FuchsiaCity_Gym_Text_PhilIntro:: @ 8198866
.string "Stop right there!\p"
.string "The famed invisible walls of\n"
.string "FUCHSIA GYM have you frustrated?$"
Text_1988B6:: @ 81988B6
FuchsiaCity_Gym_Text_PhilDefeat:: @ 81988B6
.string "Whoa!\n"
.string "You've got it!$"
gUnknown_81988CB:: @ 81988CB
FuchsiaCity_Gym_Text_PhilPostBattle:: @ 81988CB
.string "You impressed me!\n"
.string "Here's a hint!\p"
.string "Look very closely for gaps in the\n"
.string "invisible walls!$"
Text_19891F:: @ 819891F
FuchsiaCity_Gym_Text_EdgarIntro:: @ 819891F
.string "I also study the way of the ninja\n"
.string "with Master KOGA!\p"
.string "Ninja have a long history of using\n"
.string "animals!$"
Text_19897F:: @ 819897F
FuchsiaCity_Gym_Text_EdgarDefeat:: @ 819897F
.string "Awoo!$"
gUnknown_8198985:: @ 8198985
FuchsiaCity_Gym_Text_EdgarPostBattle:: @ 8198985
.string "I still have much to learn.$"
Text_1989A1:: @ 81989A1
FuchsiaCity_Gym_Text_ShawnIntro:: @ 81989A1
.string "Master KOGA comes from a long line\n"
.string "of ninjas.\p"
.string "What did you descend from?$"
Text_1989EA:: @ 81989EA
FuchsiaCity_Gym_Text_ShawnDefeat:: @ 81989EA
.string "You're more skilled than I'd\n"
.string "thought!$"
gUnknown_8198A10:: @ 8198A10
FuchsiaCity_Gym_Text_ShawnPostBattle:: @ 8198A10
.string "Where there is light, there is\n"
.string "shadow!\p"
.string "Light and shadow!\n"
.string "Which do you choose?$"
gUnknown_8198A5E:: @ 8198A5E
FuchsiaCity_Gym_Text_GymGuyAdvice:: @ 8198A5E
.string "Yo!\n"
.string "Champ in the making!\p"
.string "FUCHSIA GYM is a tricked-up place.\n"
@@ -138,17 +138,17 @@ gUnknown_8198A5E:: @ 8198A5E
.string "You have to find gaps in the walls\n"
.string "to reach him.$"
gUnknown_8198B1D:: @ 8198B1D
FuchsiaCity_Gym_Text_GymGuyPostVictory:: @ 8198B1D
.string "It's amazing how ninja can terrify,\n"
.string "even now!$"
gUnknown_8198B4B:: @ 8198B4B
FuchsiaCity_Gym_Text_GymStatue:: @ 8198B4B
.string "FUCHSIA POKéMON GYM\n"
.string "LEADER: KOGA\p"
.string "WINNING TRAINERS:\n"
.string "{RIVAL}$"
gUnknown_8198B81:: @ 8198B81
FuchsiaCity_Gym_Text_GymStatuePlayerWon:: @ 8198B81
.string "FUCHSIA POKéMON GYM\n"
.string "LEADER: KOGA\p"
.string "WINNING TRAINERS:\n"
+3 -3
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_House1_EventScript_16D6CF",
"script": "FuchsiaCity_House1_EventScript_OldMan",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_House1_EventScript_16D6C6",
"script": "FuchsiaCity_House1_EventScript_Woman",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_House1_EventScript_16D6E8",
"script": "FuchsiaCity_House1_EventScript_LittleBoy",
"flag": "0"
}
],
+6 -6
View File
@@ -1,18 +1,18 @@
FuchsiaCity_House1_MapScripts:: @ 816D6C5
.byte 0
FuchsiaCity_House1_EventScript_16D6C6:: @ 816D6C6
msgbox gUnknown_8198BBB, MSGBOX_NPC
FuchsiaCity_House1_EventScript_Woman:: @ 816D6C6
msgbox FuchsiaCity_House1_Text_WardenIsOldHasFalseTeeth, MSGBOX_NPC
end
FuchsiaCity_House1_EventScript_16D6CF:: @ 816D6CF
FuchsiaCity_House1_EventScript_OldMan:: @ 816D6CF
lock
faceplayer
famechecker FAMECHECKER_BILL, 2
msgbox gUnknown_8198C1F
msgbox FuchsiaCity_House1_Text_BillIsMyGrandson
release
end
FuchsiaCity_House1_EventScript_16D6E8:: @ 816D6E8
msgbox gUnknown_8198C7B, MSGBOX_NPC
FuchsiaCity_House1_EventScript_LittleBoy:: @ 816D6E8
msgbox FuchsiaCity_House1_Text_BillFilesHisOwnMonData, MSGBOX_NPC
end
+3 -3
View File
@@ -1,16 +1,16 @@
gUnknown_8198BBB:: @ 8198BBB
FuchsiaCity_House1_Text_WardenIsOldHasFalseTeeth:: @ 8198BBB
.string "The SAFARI ZONE's WARDEN is old, \n"
.string "but he's still very much active.\p"
.string "All his teeth are false, though.$"
gUnknown_8198C1F:: @ 8198C1F
FuchsiaCity_House1_Text_BillIsMyGrandson:: @ 8198C1F
.string "Hmm?\n"
.string "You've met BILL?\p"
.string "He's my grandson!\p"
.string "He always liked collecting things,\n"
.string "even as a child!$"
gUnknown_8198C7B:: @ 8198C7B
FuchsiaCity_House1_Text_BillFilesHisOwnMonData:: @ 8198C7B
.string "BILL files his own POKéMON data on\n"
.string "his PC.\p"
.string "Did he show you?$"
+1 -1
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_House2_EventScript_16D817",
"script": "FuchsiaCity_House2_EventScript_FishingGurusBrother",
"flag": "0"
}
],
+14 -14
View File
@@ -1,34 +1,34 @@
FuchsiaCity_House2_MapScripts:: @ 816D816
.byte 0
FuchsiaCity_House2_EventScript_16D817:: @ 816D817
FuchsiaCity_House2_EventScript_FishingGurusBrother:: @ 816D817
lock
faceplayer
goto_if_set FLAG_GOT_GOOD_ROD, EventScript_16D83F
msgbox gUnknown_819918E, MSGBOX_YESNO
goto_if_set FLAG_GOT_GOOD_ROD, FuchsiaCity_House2_EventScript_AlreadyGotGoodRod
msgbox FuchsiaCity_House2_Text_DoYouLikeToFish, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_16D849
msgbox gUnknown_8199337
goto_if_eq FuchsiaCity_House2_EventScript_GiveGoodRod
msgbox FuchsiaCity_House2_Text_OhThatsDisappointing
release
end
EventScript_16D83F:: @ 816D83F
msgbox gUnknown_8199354
FuchsiaCity_House2_EventScript_AlreadyGotGoodRod:: @ 816D83F
msgbox FuchsiaCity_House2_Text_HowAreTheFishBiting
release
end
EventScript_16D849:: @ 816D849
msgbox gUnknown_8199207
FuchsiaCity_House2_EventScript_GiveGoodRod:: @ 816D849
msgbox FuchsiaCity_House2_Text_LikeYourStyleTakeThis
checkitemspace ITEM_GOOD_ROD, 1
compare VAR_RESULT, FALSE
goto_if_eq EventScript_16D88A
giveitem_msg gUnknown_819925E, ITEM_GOOD_ROD
msgbox gUnknown_8199296
goto_if_eq FuchsiaCity_House2_EventScript_NoRoomForGoodRod
giveitem_msg FuchsiaCity_House2_Text_ReceivedGoodRod, ITEM_GOOD_ROD
msgbox FuchsiaCity_House2_Text_GoodRodCanCatchBetterMons
setflag FLAG_GOT_GOOD_ROD
release
end
EventScript_16D88A:: @ 816D88A
msgbox gUnknown_819937E
FuchsiaCity_House2_EventScript_NoRoomForGoodRod:: @ 816D88A
msgbox FuchsiaCity_House2_Text_YouHaveNoRoomForGift
release
end
+7 -7
View File
@@ -1,20 +1,20 @@
gUnknown_819918E:: @ 819918E
FuchsiaCity_House2_Text_DoYouLikeToFish:: @ 819918E
.string "I'm the FISHING GURU's older\n"
.string "brother.\p"
.string "I simply looove fishing!\n"
.string "I can't bear to go without.\p"
.string "Tell me, do you like to fish?$"
gUnknown_8199207:: @ 8199207
FuchsiaCity_House2_Text_LikeYourStyleTakeThis:: @ 8199207
.string "Grand! I like your style.\n"
.string "I think we can be friends.\p"
.string "Take this and fish, young friend!$"
gUnknown_819925E:: @ 819925E
FuchsiaCity_House2_Text_ReceivedGoodRod:: @ 819925E
.string "{PLAYER} received a GOOD ROD from\n"
.string "the FISHING GURU's brother.$"
gUnknown_8199296:: @ 8199296
FuchsiaCity_House2_Text_GoodRodCanCatchBetterMons:: @ 8199296
.string "Fishing is a way of life!\n"
.string "It is like the finest poetry.\p"
.string "A crummy OLD ROD could only catch\n"
@@ -22,15 +22,15 @@ gUnknown_8199296:: @ 8199296
.string "But with a GOOD ROD, you can\n"
.string "catch much better POKéMON.$"
gUnknown_8199337:: @ 8199337
FuchsiaCity_House2_Text_OhThatsDisappointing:: @ 8199337
.string "Oh…\n"
.string "That's so disappointing…$"
gUnknown_8199354:: @ 8199354
FuchsiaCity_House2_Text_HowAreTheFishBiting:: @ 8199354
.string "Hello there, {PLAYER}!\p"
.string "How are the fish biting?$"
gUnknown_819937E:: @ 819937E
FuchsiaCity_House2_Text_YouHaveNoRoomForGift:: @ 819937E
.string "Oh, no!\p"
.string "I had a gift for you, but you have\n"
.string "no room for it!$"
+1 -1
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_House3_EventScript_16D895",
"script": "FuchsiaCity_House3_EventScript_MoveDeleter",
"flag": "0"
}
],
+25 -25
View File
@@ -1,60 +1,60 @@
FuchsiaCity_House3_MapScripts:: @ 816D894
.byte 0
FuchsiaCity_House3_EventScript_16D895:: @ 816D895
FuchsiaCity_House3_EventScript_MoveDeleter:: @ 816D895
lock
faceplayer
msgbox gUnknown_81993B9, MSGBOX_YESNO
msgbox FuchsiaCity_House3_Text_WouldYouLikeToForgetMove, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_16D8B0
goto EventScript_16D941
goto_if_eq FuchsiaCity_House3_EventScript_ChooseMonForMoveDeleter
goto FuchsiaCity_House3_EventScript_CancelForgetMove
end
EventScript_16D8B0:: @ 816D8B0
msgbox gUnknown_8199421
FuchsiaCity_House3_EventScript_ChooseMonForMoveDeleter:: @ 816D8B0
msgbox FuchsiaCity_House3_Text_WhichMonShouldForgetMove
special Special_ChooseMonFromParty
waitstate
compare VAR_0x8004, 6
goto_if_ge EventScript_16D941
compare VAR_0x8004, PARTY_SIZE
goto_if_ge FuchsiaCity_House3_EventScript_CancelForgetMove
special Special_IsSelectedMonEgg
compare VAR_RESULT, 1
goto_if_eq EventScript_16D937
compare VAR_RESULT, TRUE
goto_if_eq FuchsiaCity_House3_EventScript_CantForgetMoveEgg
special Special_GetNumMovesSelectedMonHas
compare VAR_RESULT, 1
goto_if_eq EventScript_16D92A
msgbox gUnknown_8199445
goto_if_eq FuchsiaCity_House3_EventScript_CantForgetOnlyMove
msgbox FuchsiaCity_House3_Text_WhichMoveShouldBeForgotten
fadescreen FADE_TO_BLACK
special Special_SelectMove
fadescreen FADE_FROM_BLACK
compare VAR_0x8005, 4
goto_if_eq EventScript_16D8B0
compare VAR_0x8005, MAX_MON_MOVES
goto_if_eq FuchsiaCity_House3_EventScript_ChooseMonForMoveDeleter
special Special_BufferMoveDeleterNicknameAndMove
msgbox gUnknown_8199485, MSGBOX_YESNO
msgbox FuchsiaCity_House3_Text_MonsMoveShouldBeForgotten, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_16D919
goto EventScript_16D941
goto_if_eq FuchsiaCity_House3_EventScript_ForgetMove
goto FuchsiaCity_House3_EventScript_CancelForgetMove
end
EventScript_16D919:: @ 816D919
FuchsiaCity_House3_EventScript_ForgetMove:: @ 816D919
special Special_MoveDeleterForgetMove
playfanfare MUS_ME_WASURE
waitfanfare
msgbox gUnknown_81994B1
msgbox FuchsiaCity_House3_Text_MonHasForgottenMoveCompletely
release
end
EventScript_16D92A:: @ 816D92A
FuchsiaCity_House3_EventScript_CantForgetOnlyMove:: @ 816D92A
special Special_BufferMoveDeleterNicknameAndMove
msgbox gUnknown_8199465
msgbox FuchsiaCity_House3_Text_MonOnlyKnowsOneMove
release
end
EventScript_16D937:: @ 816D937
msgbox gUnknown_819951F
FuchsiaCity_House3_EventScript_CantForgetMoveEgg:: @ 816D937
msgbox FuchsiaCity_House3_Text_NoEggShouldKnowMoves
release
end
EventScript_16D941:: @ 816D941
msgbox gUnknown_81994EA
FuchsiaCity_House3_EventScript_CancelForgetMove:: @ 816D941
msgbox FuchsiaCity_House3_Text_ComeAgainToForgetOtherMoves
release
end
+8 -8
View File
@@ -1,35 +1,35 @@
gUnknown_81993B9:: @ 81993B9
FuchsiaCity_House3_Text_WouldYouLikeToForgetMove:: @ 81993B9
.string "Uh…\n"
.string "Oh, yes, I'm the MOVE DELETER.\p"
.string "I can make POKéMON forget their\n"
.string "moves.\p"
.string "Would you like me to do that?$"
gUnknown_8199421:: @ 8199421
FuchsiaCity_House3_Text_WhichMonShouldForgetMove:: @ 8199421
.string "Which POKéMON should forget a\n"
.string "move?$"
gUnknown_8199445:: @ 8199445
FuchsiaCity_House3_Text_WhichMoveShouldBeForgotten:: @ 8199445
.string "Which move should be forgotten?$"
gUnknown_8199465:: @ 8199465
FuchsiaCity_House3_Text_MonOnlyKnowsOneMove:: @ 8199465
.string "{STR_VAR_1} seems to know only one\n"
.string "move…$"
gUnknown_8199485:: @ 8199485
FuchsiaCity_House3_Text_MonsMoveShouldBeForgotten:: @ 8199485
.string "Hm! {STR_VAR_1}'s {STR_VAR_2}?\n"
.string "That move should be forgotten?$"
gUnknown_81994B1:: @ 81994B1
FuchsiaCity_House3_Text_MonHasForgottenMoveCompletely:: @ 81994B1
.string "It worked to perfection!\p"
.string "{STR_VAR_1} has forgotten\n"
.string "{STR_VAR_2} completely.$"
gUnknown_81994EA:: @ 81994EA
FuchsiaCity_House3_Text_ComeAgainToForgetOtherMoves:: @ 81994EA
.string "Come again if there are other\n"
.string "moves to be forgotten.$"
gUnknown_819951F:: @ 819951F
FuchsiaCity_House3_Text_NoEggShouldKnowMoves:: @ 819951F
.string "What?\n"
.string "No EGG should know any moves.$"
+3 -3
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Mart_EventScript_16D4F3",
"script": "FuchsiaCity_Mart_EventScript_Clerk",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Mart_EventScript_16D4EA",
"script": "FuchsiaCity_Mart_EventScript_Gentleman",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Mart_EventScript_16D4E1",
"script": "FuchsiaCity_Mart_EventScript_CooltrainerF",
"flag": "0"
}
],
+7 -7
View File
@@ -1,27 +1,27 @@
FuchsiaCity_Mart_MapScripts:: @ 816D4E0
.byte 0
FuchsiaCity_Mart_EventScript_16D4E1:: @ 816D4E1
msgbox gUnknown_8198134, MSGBOX_NPC
FuchsiaCity_Mart_EventScript_CooltrainerF:: @ 816D4E1
msgbox FuchsiaCity_Mart_Text_DidYouTryXSpeed, MSGBOX_NPC
end
FuchsiaCity_Mart_EventScript_16D4EA:: @ 816D4EA
msgbox gUnknown_81980BC, MSGBOX_NPC
FuchsiaCity_Mart_EventScript_Gentleman:: @ 816D4EA
msgbox FuchsiaCity_Mart_Text_DontTheyHaveSafariZonePennants, MSGBOX_NPC
end
FuchsiaCity_Mart_EventScript_16D4F3:: @ 816D4F3
FuchsiaCity_Mart_EventScript_Clerk:: @ 816D4F3
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
message Text_MayIHelpYou
waitmessage
pokemart Items_16D518
pokemart FuchsiaCity_Mart_Items
msgbox Text_PleaseComeAgain
release
end
.align 2
Items_16D518:: @ 816D518
FuchsiaCity_Mart_Items:: @ 816D518
.2byte ITEM_ULTRA_BALL
.2byte ITEM_GREAT_BALL
.2byte ITEM_SUPER_POTION
+2 -2
View File
@@ -1,10 +1,10 @@
gUnknown_81980BC:: @ 81980BC
FuchsiaCity_Mart_Text_DontTheyHaveSafariZonePennants:: @ 81980BC
.string "Don't they have any pennants\n"
.string "promoting the SAFARI ZONE?\p"
.string "How about some paper lanterns?\n"
.string "Aren't there even any calendars?$"
gUnknown_8198134:: @ 8198134
FuchsiaCity_Mart_Text_DidYouTryXSpeed:: @ 8198134
.string "Did you try X SPEED?\n"
.string "It speeds up a POKéMON in battle.$"
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_PokemonCenter_1F_EventScript_16D700",
"script": "FuchsiaCity_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_PokemonCenter_1F_EventScript_16D709",
"script": "FuchsiaCity_PokemonCenter_1F_EventScript_Man",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_PokemonCenter_1F_EventScript_16D712",
"script": "FuchsiaCity_PokemonCenter_1F_EventScript_CooltrainerF",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_PokemonCenter_1F_EventScript_16D71B",
"script": "FuchsiaCity_PokemonCenter_1F_EventScript_Youngster",
"flag": "0"
}
],
@@ -7,21 +7,21 @@ FuchsiaCity_PokemonCenter_1F_OnTransition:: @ 816D6FC
setrespawn SPAWN_FUCHSIA_CITY
end
FuchsiaCity_PokemonCenter_1F_EventScript_16D700:: @ 816D700
FuchsiaCity_PokemonCenter_1F_EventScript_Nurse:: @ 816D700
lock
faceplayer
call EventScript_PkmnCenterNurse
release
end
FuchsiaCity_PokemonCenter_1F_EventScript_16D709:: @ 816D709
msgbox gUnknown_8198CB7, MSGBOX_NPC
FuchsiaCity_PokemonCenter_1F_EventScript_Man:: @ 816D709
msgbox FuchsiaCity_PokemonCenter_1F_Text_CantBecomeGoodTrainerWithOneMon, MSGBOX_NPC
end
FuchsiaCity_PokemonCenter_1F_EventScript_16D712:: @ 816D712
msgbox gUnknown_8198D2E, MSGBOX_NPC
FuchsiaCity_PokemonCenter_1F_EventScript_CooltrainerF:: @ 816D712
msgbox FuchsiaCity_PokemonCenter_1F_Text_PokemonLeagueWestOfViridian, MSGBOX_NPC
end
FuchsiaCity_PokemonCenter_1F_EventScript_16D71B:: @ 816D71B
msgbox gUnknown_8198D9B, MSGBOX_NPC
FuchsiaCity_PokemonCenter_1F_EventScript_Youngster:: @ 816D71B
msgbox FuchsiaCity_PokemonCenter_1F_Text_VisitSafariZoneForPokedex, MSGBOX_NPC
end
@@ -1,16 +1,16 @@
gUnknown_8198CB7:: @ 8198CB7
FuchsiaCity_PokemonCenter_1F_Text_CantBecomeGoodTrainerWithOneMon:: @ 8198CB7
.string "You can't become a good TRAINER\n"
.string "with just one strong POKéMON.\p"
.string "But raising many POKéMON evenly\n"
.string "is no easy task, either.$"
gUnknown_8198D2E:: @ 8198D2E
FuchsiaCity_PokemonCenter_1F_Text_PokemonLeagueWestOfViridian:: @ 8198D2E
.string "There's a narrow trail west of\n"
.string "VIRIDIAN CITY.\p"
.string "It goes to the POKéMON LEAGUE HQ.\n"
.string "The HQ governs all TRAINERS.$"
gUnknown_8198D9B:: @ 8198D9B
FuchsiaCity_PokemonCenter_1F_Text_VisitSafariZoneForPokedex:: @ 8198D9B
.string "If you're working on a POKéDEX,\n"
.string "visit the SAFARI ZONE.\p"
.string "All sorts of rare POKéMON breed\n"
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_SafariZone_Entrance_EventScript_16D4B7",
"script": "FuchsiaCity_SafariZone_Entrance_EventScript_InfoAttendant",
"flag": "0"
}
],
@@ -78,7 +78,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": 0,
"script": "FuchsiaCity_SafariZone_Entrance_EventScript_16D36D"
"script": "FuchsiaCity_SafariZone_Entrance_EventScript_EntryTriggerMid"
},
{
"type": "trigger",
@@ -87,7 +87,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": 0,
"script": "FuchsiaCity_SafariZone_Entrance_EventScript_16D379"
"script": "FuchsiaCity_SafariZone_Entrance_EventScript_EntryTriggerRight"
},
{
"type": "trigger",
@@ -96,7 +96,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": 0,
"script": "FuchsiaCity_SafariZone_Entrance_EventScript_16D385"
"script": "FuchsiaCity_SafariZone_Entrance_EventScript_EntryTriggerLeft"
}
],
"bg_events": []
@@ -3,210 +3,213 @@ FuchsiaCity_SafariZone_Entrance_MapScripts:: @ 816D2A8
.byte 0
FuchsiaCity_SafariZone_Entrance_OnFrame:: @ 816D2AE
map_script_2 VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 1, EventScript_16D2F2
map_script_2 VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 2, EventScript_16D312
map_script_2 VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 3, EventScript_16D2C8
map_script_2 VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 1, FuchsiaCity_SafariZone_Entrance_EventScript_ExitWarpIn
map_script_2 VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 2, FuchsiaCity_SafariZone_Entrance_EventScript_ExitEarly
map_script_2 VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 3, FuchsiaCity_SafariZone_Entrance_EventScript_ExitWalkIn
.2byte 0
EventScript_16D2C8:: @ 816D2C8
@ When player runs out of balls mid-battle
FuchsiaCity_SafariZone_Entrance_EventScript_ExitWalkIn:: @ 816D2C8
lockall
textcolor 0
applymovement OBJ_EVENT_ID_PLAYER, Movement_16D36A
applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_ApproachCounter
waitmovement 0
msgbox gUnknown_8197E85
msgbox FuchsiaCity_SafariZone_Entrance_Text_CatchFairShareComeAgain
closemessage
applymovement OBJ_EVENT_ID_PLAYER, Movement_16D367
applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_Exit2
waitmovement 0
special ExitSafariMode
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 0
releaseall
end
EventScript_16D2F2:: @ 816D2F2
@ When player runs of out balls after catching a pokemon, or runs out of steps
FuchsiaCity_SafariZone_Entrance_EventScript_ExitWarpIn:: @ 816D2F2
lockall
textcolor 0
msgbox gUnknown_8197E85
msgbox FuchsiaCity_SafariZone_Entrance_Text_CatchFairShareComeAgain
closemessage
applymovement OBJ_EVENT_ID_PLAYER, Movement_16D362
applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_Exit
waitmovement 0
special ExitSafariMode
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 0
releaseall
end
EventScript_16D312:: @ 816D312
@ When player re-enters the entrance building with balls/steps remaining
FuchsiaCity_SafariZone_Entrance_EventScript_ExitEarly:: @ 816D312
lockall
textcolor 0
msgbox gUnknown_8197E1A, MSGBOX_YESNO
msgbox FuchsiaCity_SafariZone_Entrance_Text_GoingToLeaveSafariZoneEarly, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_16D345
msgbox gUnknown_8197E48
goto_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_ReturnToSafariZone
msgbox FuchsiaCity_SafariZone_Entrance_Text_PleaseReturnSafariBalls
closemessage
applymovement OBJ_EVENT_ID_PLAYER, Movement_16D362
applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_Exit
waitmovement 0
special ExitSafariMode
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 0
releaseall
end
EventScript_16D345:: @ 816D345
msgbox gUnknown_8197E7A
FuchsiaCity_SafariZone_Entrance_EventScript_ReturnToSafariZone:: @ 816D345
msgbox FuchsiaCity_SafariZone_Entrance_Text_GoodLuck
closemessage
applymovement OBJ_EVENT_ID_PLAYER, Movement_16D365
applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_ReEnter
waitmovement 0
warp MAP_SAFARI_ZONE_CENTER, 255, 26, 30
waitstate
end
Movement_16D362:: @ 816D362
FuchsiaCity_SafariZone_Entrance_Movement_Exit:: @ 816D362
walk_down
walk_down
step_end
Movement_16D365:: @ 816D365
FuchsiaCity_SafariZone_Entrance_Movement_ReEnter:: @ 816D365
walk_up
step_end
Movement_16D367:: @ 816D367
FuchsiaCity_SafariZone_Entrance_Movement_Exit2:: @ 816D367
walk_down
walk_down
step_end
Movement_16D36A:: @ 816D36A
FuchsiaCity_SafariZone_Entrance_Movement_ApproachCounter:: @ 816D36A
walk_down
delay_8
step_end
FuchsiaCity_SafariZone_Entrance_EventScript_16D36D:: @ 816D36D
FuchsiaCity_SafariZone_Entrance_EventScript_EntryTriggerMid:: @ 816D36D
lockall
setvar VAR_TEMP_2, 0
goto EventScript_16D391
goto FuchsiaCity_SafariZone_Entrance_EventScript_AskEnterSafariZone
end
FuchsiaCity_SafariZone_Entrance_EventScript_16D379:: @ 816D379
FuchsiaCity_SafariZone_Entrance_EventScript_EntryTriggerRight:: @ 816D379
lockall
setvar VAR_TEMP_2, 1
goto EventScript_16D391
goto FuchsiaCity_SafariZone_Entrance_EventScript_AskEnterSafariZone
end
FuchsiaCity_SafariZone_Entrance_EventScript_16D385:: @ 816D385
FuchsiaCity_SafariZone_Entrance_EventScript_EntryTriggerLeft:: @ 816D385
lockall
setvar VAR_TEMP_2, 2
goto EventScript_16D391
goto FuchsiaCity_SafariZone_Entrance_EventScript_AskEnterSafariZone
end
EventScript_16D391:: @ 816D391
FuchsiaCity_SafariZone_Entrance_EventScript_AskEnterSafariZone:: @ 816D391
textcolor 0
msgbox gUnknown_8197C6B
msgbox FuchsiaCity_SafariZone_Entrance_Text_WelcomeToSafariZone
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
waitmovement 0
showmoneybox 0, 0, 0
msgbox gUnknown_8197C87, MSGBOX_YESNO
msgbox FuchsiaCity_SafariZone_Entrance_Text_PlaySafariGameFor500, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_16D3CA
msgbox gUnknown_8197DE9
goto EventScript_16D49A
goto_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_TryEnterSafariZone
msgbox FuchsiaCity_SafariZone_Entrance_Text_OkayPleaseComeAgain
goto FuchsiaCity_SafariZone_Entrance_EventScript_ForcePlayerBack
end
EventScript_16D3CA:: @ 816D3CA
call EventScript_16D462
FuchsiaCity_SafariZone_Entrance_EventScript_TryEnterSafariZone:: @ 816D3CA
call FuchsiaCity_SafariZone_Entrance_EventScript_CheckSpaceForMons
checkmoney 500, 0
compare VAR_RESULT, FALSE
goto_if_eq EventScript_16D48C
goto_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_NotEnoughMoney
removemoney 500, 0
updatemoneybox 0, 0, 0
msgbox gUnknown_8197D07
msgbox FuchsiaCity_SafariZone_Entrance_Text_ThatllBe500WeOnlyUseSpecialBalls
textcolor 3
playfanfare MUS_FANFA1
message Text_197D50
message FuchsiaCity_SafariZone_Entrance_Text_PlayerReceived30SafariBalls
waitfanfare
call EventScript_1A6675
msgbox gUnknown_8197D80
msgbox FuchsiaCity_SafariZone_Entrance_Text_CallYouOnPAWhenYouRunOut
closemessage
hidemoneybox 0, 0
compare VAR_TEMP_2, 0
call_if_eq EventScript_16D44C
call_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_EnterSafariZoneMid
compare VAR_TEMP_2, 1
call_if_eq EventScript_16D441
call_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_EnterSafariZoneRight
compare VAR_TEMP_2, 2
call_if_eq EventScript_16D457
call_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_EnterSafariZoneLeft
special EnterSafariMode
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 2
warp MAP_SAFARI_ZONE_CENTER, 255, 26, 30
waitstate
end
EventScript_16D441:: @ 816D441
applymovement OBJ_EVENT_ID_PLAYER, Movement_16D4AF
FuchsiaCity_SafariZone_Entrance_EventScript_EnterSafariZoneRight:: @ 816D441
applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_EnterSafariZoneRight
waitmovement 0
return
EventScript_16D44C:: @ 816D44C
applymovement OBJ_EVENT_ID_PLAYER, Movement_16D4AC
FuchsiaCity_SafariZone_Entrance_EventScript_EnterSafariZoneMid:: @ 816D44C
applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_EnterSafariZoneMid
waitmovement 0
return
EventScript_16D457:: @ 816D457
applymovement OBJ_EVENT_ID_PLAYER, Movement_16D4B3
FuchsiaCity_SafariZone_Entrance_EventScript_EnterSafariZoneLeft:: @ 816D457
applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_EnterSafariZoneLeft
waitmovement 0
return
EventScript_16D462:: @ 816D462
FuchsiaCity_SafariZone_Entrance_EventScript_CheckSpaceForMons:: @ 816D462
getpartysize
compare VAR_RESULT, PARTY_SIZE
goto_if_ne EventScript_Return
specialvar VAR_RESULT, Special_IsThereRoomInAnyBoxForMorePokemon
compare VAR_RESULT, 1
compare VAR_RESULT, TRUE
goto_if_eq EventScript_Return
msgbox gUnknown_81BFEAC
goto EventScript_16D49A
msgbox SafariZone_Text_ExcuseMeYourPCBoxIsFull
goto FuchsiaCity_SafariZone_Entrance_EventScript_ForcePlayerBack
end
EventScript_16D48C:: @ 816D48C
msgbox gUnknown_8197E02
goto EventScript_16D49A
FuchsiaCity_SafariZone_Entrance_EventScript_NotEnoughMoney:: @ 816D48C
msgbox FuchsiaCity_SafariZone_Entrance_Text_OopsNotEnoughMoney
goto FuchsiaCity_SafariZone_Entrance_EventScript_ForcePlayerBack
end
EventScript_16D49A:: @ 816D49A
FuchsiaCity_SafariZone_Entrance_EventScript_ForcePlayerBack:: @ 816D49A
closemessage
hidemoneybox 0, 0
applymovement OBJ_EVENT_ID_PLAYER, Movement_16D4AA
applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_ForceBack
waitmovement 0
releaseall
end
Movement_16D4AA:: @ 816D4AA
FuchsiaCity_SafariZone_Entrance_Movement_ForceBack:: @ 816D4AA
walk_down
step_end
Movement_16D4AC:: @ 816D4AC
FuchsiaCity_SafariZone_Entrance_Movement_EnterSafariZoneMid:: @ 816D4AC
walk_up
walk_up
step_end
Movement_16D4AF:: @ 816D4AF
FuchsiaCity_SafariZone_Entrance_Movement_EnterSafariZoneRight:: @ 816D4AF
walk_up
walk_left
walk_up
step_end
Movement_16D4B3:: @ 816D4B3
FuchsiaCity_SafariZone_Entrance_Movement_EnterSafariZoneLeft:: @ 816D4B3
walk_up
walk_right
walk_up
step_end
FuchsiaCity_SafariZone_Entrance_EventScript_16D4B7:: @ 816D4B7
FuchsiaCity_SafariZone_Entrance_EventScript_InfoAttendant:: @ 816D4B7
lock
faceplayer
msgbox gUnknown_8197EB0, MSGBOX_YESNO
msgbox FuchsiaCity_SafariZone_Entrance_Text_FirstTimeAtSafariZone, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_16D4D6
msgbox gUnknown_819809E
goto_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_ExplainSafariZone
msgbox FuchsiaCity_SafariZone_Entrance_Text_SorryYoureARegularHere
release
end
EventScript_16D4D6:: @ 816D4D6
msgbox gUnknown_8197EE3
FuchsiaCity_SafariZone_Entrance_EventScript_ExplainSafariZone:: @ 816D4D6
msgbox FuchsiaCity_SafariZone_Entrance_Text_ExplainSafariZone
release
end
@@ -1,56 +1,56 @@
gUnknown_8197C6B:: @ 8197C6B
FuchsiaCity_SafariZone_Entrance_Text_WelcomeToSafariZone:: @ 8197C6B
.string "Welcome to the SAFARI ZONE!$"
gUnknown_8197C87:: @ 8197C87
FuchsiaCity_SafariZone_Entrance_Text_PlaySafariGameFor500:: @ 8197C87
.string "For just ¥500, you can play the\n"
.string "SAFARI GAME.\p"
.string "You can roam the wide-open safari\n"
.string "and catch what you like.\p"
.string "Would you like to play?$"
gUnknown_8197D07:: @ 8197D07
FuchsiaCity_SafariZone_Entrance_Text_ThatllBe500WeOnlyUseSpecialBalls:: @ 8197D07
.string "That'll be ¥500, please!\p"
.string "We only use a special kind of \n"
.string "POKé BALLS here.$"
Text_197D50:: @ 8197D50
FuchsiaCity_SafariZone_Entrance_Text_PlayerReceived30SafariBalls:: @ 8197D50
.string "{PLAYER} received 30 SAFARI BALLS\n"
.string "from the attendant.$"
gUnknown_8197D80:: @ 8197D80
FuchsiaCity_SafariZone_Entrance_Text_CallYouOnPAWhenYouRunOut:: @ 8197D80
.string "We'll call you on the PA when you\n"
.string "run out of time or SAFARI BALLS.\p"
.string "Well, I'll wish you the best of\n"
.string "luck!$"
gUnknown_8197DE9:: @ 8197DE9
FuchsiaCity_SafariZone_Entrance_Text_OkayPleaseComeAgain:: @ 8197DE9
.string "Okay.\n"
.string "Please come again!$"
gUnknown_8197E02:: @ 8197E02
FuchsiaCity_SafariZone_Entrance_Text_OopsNotEnoughMoney:: @ 8197E02
.string "Oops!\n"
.string "Not enough money!$"
gUnknown_8197E1A:: @ 8197E1A
FuchsiaCity_SafariZone_Entrance_Text_GoingToLeaveSafariZoneEarly:: @ 8197E1A
.string "Are you going to leave the\n"
.string "SAFARI ZONE early?$"
gUnknown_8197E48:: @ 8197E48
FuchsiaCity_SafariZone_Entrance_Text_PleaseReturnSafariBalls:: @ 8197E48
.string "Please return any SAFARI BALLS\n"
.string "you may have left.$"
gUnknown_8197E7A:: @ 8197E7A
FuchsiaCity_SafariZone_Entrance_Text_GoodLuck:: @ 8197E7A
.string "Good luck!$"
gUnknown_8197E85:: @ 8197E85
FuchsiaCity_SafariZone_Entrance_Text_CatchFairShareComeAgain:: @ 8197E85
.string "Did you catch your fair share?\n"
.string "Come again!$"
gUnknown_8197EB0:: @ 8197EB0
FuchsiaCity_SafariZone_Entrance_Text_FirstTimeAtSafariZone:: @ 8197EB0
.string "Hi! Is it your first time here at\n"
.string "the SAFARI ZONE?$"
gUnknown_8197EE3:: @ 8197EE3
FuchsiaCity_SafariZone_Entrance_Text_ExplainSafariZone:: @ 8197EE3
.string "The SAFARI ZONE actually has\n"
.string "four zones in it.\p"
.string "Each zone has different kinds of\n"
@@ -68,6 +68,6 @@ gUnknown_8197EE3:: @ 8197EE3
.string "When you run out of time or SAFARI\n"
.string "BALLS, it's game over for you!$"
gUnknown_819809E:: @ 819809E
FuchsiaCity_SafariZone_Entrance_Text_SorryYoureARegularHere:: @ 819809E
.string "Sorry, you're a regular here!$"
@@ -1,7 +1,7 @@
{
"id": "MAP_FUCHSIA_CITY_ZOO_BUILDING",
"name": "FuchsiaCity_ZooBuilding",
"layout": "LAYOUT_FUCHSIA_CITY_ZOO_BUILDING",
"id": "MAP_FUCHSIA_CITY_SAFARI_ZONE_OFFICE",
"name": "FuchsiaCity_SafariZone_Office",
"layout": "LAYOUT_FUCHSIA_CITY_SAFARI_ZONE_OFFICE",
"music": "MUS_HANADA",
"region_map_section": "MAPSEC_FUCHSIA_CITY",
"requires_flash": false,
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_ZooBuilding_EventScript_16D532",
"script": "FuchsiaCity_SafariZone_Office_EventScript_Worker2",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_ZooBuilding_EventScript_16D53B",
"script": "FuchsiaCity_SafariZone_Office_EventScript_Worker3",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_ZooBuilding_EventScript_16D529",
"script": "FuchsiaCity_SafariZone_Office_EventScript_Worker1",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_ZooBuilding_EventScript_16D544",
"script": "FuchsiaCity_SafariZone_Office_EventScript_Worker4",
"flag": "0"
}
],
@@ -0,0 +1,18 @@
FuchsiaCity_SafariZone_Office_MapScripts:: @ 816D528
.byte 0
FuchsiaCity_SafariZone_Office_EventScript_Worker1:: @ 816D529
msgbox FuchsiaCity_SafariZone_Office_Text_NicknamedWardenSlowpoke, MSGBOX_NPC
end
FuchsiaCity_SafariZone_Office_EventScript_Worker2:: @ 816D532
msgbox FuchsiaCity_SafariZone_Office_Text_WardenIsVeryKnowledgeable, MSGBOX_NPC
end
FuchsiaCity_SafariZone_Office_EventScript_Worker3:: @ 816D53B
msgbox FuchsiaCity_SafariZone_Office_Text_CouldntUnderstandWarden, MSGBOX_NPC
end
FuchsiaCity_SafariZone_Office_EventScript_Worker4:: @ 816D544
msgbox FuchsiaCity_SafariZone_Office_Text_PrizeInSafariZone, MSGBOX_NPC
end
@@ -1,21 +1,21 @@
gUnknown_819816B:: @ 819816B
FuchsiaCity_SafariZone_Office_Text_NicknamedWardenSlowpoke:: @ 819816B
.string "We nicknamed the WARDEN\n"
.string "“SLOWPOKE.”\p"
.string "You know, he has that vacant look\n"
.string "like a SLOWPOKE.$"
gUnknown_81981C2:: @ 81981C2
FuchsiaCity_SafariZone_Office_Text_WardenIsVeryKnowledgeable:: @ 81981C2
.string "WARDEN SLOWPOKE is very\n"
.string "knowledgeable about POKéMON.\p"
.string "He even has some fossils of rare,\n"
.string "extinct POKéMON.$"
gUnknown_819822A:: @ 819822A
FuchsiaCity_SafariZone_Office_Text_CouldntUnderstandWarden:: @ 819822A
.string "WARDEN SLOWPOKE came in, but\n"
.string "I couldn't understand him.\p"
.string "I think he's got a speech problem!$"
gUnknown_8198285:: @ 8198285
FuchsiaCity_SafariZone_Office_Text_PrizeInSafariZone:: @ 8198285
.string "WARDEN SLOWPOKE is running a\n"
.string "promotion campaign right now.\p"
.string "Try to get to the farthest corner\n"
@@ -1,7 +1,7 @@
{
"id": "MAP_FUCHSIA_CITY_BUILDING1",
"name": "FuchsiaCity_Building1",
"layout": "LAYOUT_FUCHSIA_CITY_BUILDING1",
"id": "MAP_FUCHSIA_CITY_WARDENS_HOUSE",
"name": "FuchsiaCity_WardensHouse",
"layout": "LAYOUT_FUCHSIA_CITY_WARDENS_HOUSE",
"music": "MUS_HANADA",
"region_map_section": "MAPSEC_FUCHSIA_CITY",
"requires_flash": false,
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Building1_EventScript_16D74C",
"script": "FuchsiaCity_WardensHouse_EventScript_Warden",
"flag": "0"
},
{
@@ -49,8 +49,8 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Building1_EventScript_ItemRareCandy",
"flag": "FLAG_HIDE_FUCHSIA_CITY_BUILDING1_RARE_CANDY"
"script": "FuchsiaCity_WardensHouse_EventScript_ItemRareCandy",
"flag": "FLAG_HIDE_FUCHSIA_CITY_WARDENS_HOUSE_RARE_CANDY"
},
{
"graphics_id": "0",
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Building1_EventScript_1ACEB8",
"script": "FuchsiaCity_WardensHouse_EventScript_PokemonJournalKoga",
"flag": "FLAG_HIDE_FAME_CHECKER_KOGA_JOURNAL"
}
],
@@ -96,28 +96,28 @@
"x": 7,
"y": 4,
"elevation": 0,
"script": "FuchsiaCity_Building1_EventScript_16D80D"
"script": "FuchsiaCity_WardensHouse_EventScript_DisplaySign2"
},
{
"type": "bg_event_type_0",
"x": 4,
"y": 4,
"elevation": 0,
"script": "FuchsiaCity_Building1_EventScript_16D804"
"script": "FuchsiaCity_WardensHouse_EventScript_DisplaySign1"
},
{
"type": "bg_event_type_0",
"x": 5,
"y": 4,
"elevation": 0,
"script": "FuchsiaCity_Building1_EventScript_16D804"
"script": "FuchsiaCity_WardensHouse_EventScript_DisplaySign1"
},
{
"type": "bg_event_type_0",
"x": 6,
"y": 4,
"elevation": 0,
"script": "FuchsiaCity_Building1_EventScript_16D80D"
"script": "FuchsiaCity_WardensHouse_EventScript_DisplaySign2"
}
]
}
@@ -0,0 +1,63 @@
FuchsiaCity_WardensHouse_MapScripts:: @ 816D74B
.byte 0
FuchsiaCity_WardensHouse_EventScript_Warden:: @ 816D74C
lock
faceplayer
goto_if_set FLAG_GOT_HM04, FuchsiaCity_WardensHouse_EventScript_ExplainStrength
goto_if_set FLAG_HIDE_SAFARI_ZONE_WEST_GOLD_TEETH, FuchsiaCity_WardensHouse_EventScript_GiveGoldTeeth
msgbox FuchsiaCity_WardensHouse_Text_HifFuffHefifoo, MSGBOX_YESNO
compare VAR_RESULT, YES
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenYes
compare VAR_RESULT, NO
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenNo
release
end
FuchsiaCity_WardensHouse_EventScript_GiveGoldTeeth:: @ 816D780
textcolor 3
playfanfare MUS_ME_WAZA
message FuchsiaCity_WardensHouse_Text_GaveGoldTeethToWarden
waitmessage
waitfanfare
msgbox FuchsiaCity_WardensHouse_Text_WardenPoppedInHisTeeth
call EventScript_1A6675
checkplayergender
compare VAR_RESULT, MALE
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenThanksMale
compare VAR_RESULT, FEMALE
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenThanksFemale
giveitem_msg FuchsiaCity_WardensHouse_Text_ReceivedHM04FromWarden, ITEM_HM04
setflag FLAG_GOT_HM04
removeitem ITEM_GOLD_TEETH, 1
release
end
FuchsiaCity_WardensHouse_EventScript_WardenThanksMale:: @ 816D7D6
msgbox FuchsiaCity_WardensHouse_Text_ThanksSonGiveYouSomething
return
FuchsiaCity_WardensHouse_EventScript_WardenThanksFemale:: @ 816D7DF
msgbox FuchsiaCity_WardensHouse_Text_ThanksLassieGiveYouSomething
return
FuchsiaCity_WardensHouse_EventScript_WardenYes:: @ 816D7E8
msgbox FuchsiaCity_WardensHouse_Text_AhHowheeHoHoo
return
FuchsiaCity_WardensHouse_EventScript_WardenNo:: @ 816D7F1
msgbox FuchsiaCity_WardensHouse_Text_HeOhayHeHaHoo
return
FuchsiaCity_WardensHouse_EventScript_ExplainStrength:: @ 816D7FA
msgbox FuchsiaCity_WardensHouse_Text_ExplainStrength
release
end
FuchsiaCity_WardensHouse_EventScript_DisplaySign1:: @ 816D804
msgbox FuchsiaCity_WardensHouse_Text_MonPhotosFossilsOnDisplay, MSGBOX_SIGN
end
FuchsiaCity_WardensHouse_EventScript_DisplaySign2:: @ 816D80D
msgbox FuchsiaCity_WardensHouse_Text_OldMonMerchandiseOnDisplay, MSGBOX_SIGN
end
@@ -1,24 +1,24 @@
gUnknown_8198DF9:: @ 8198DF9
FuchsiaCity_WardensHouse_Text_HifFuffHefifoo:: @ 8198DF9
.string "WARDEN: Hif fuff hefifoo!\p"
.string "Ha lof ha feef ee hafahi ho.\n"
.string "Heff hee fwee!$"
gUnknown_8198E3F:: @ 8198E3F
FuchsiaCity_WardensHouse_Text_AhHowheeHoHoo:: @ 8198E3F
.string "Ah howhee ho hoo!\n"
.string "Eef ee hafahi ho!$"
gUnknown_8198E63:: @ 8198E63
FuchsiaCity_WardensHouse_Text_HeOhayHeHaHoo:: @ 8198E63
.string "Ha?\n"
.string "He ohay heh ha hoo ee haheh!$"
Text_198E84:: @ 8198E84
FuchsiaCity_WardensHouse_Text_GaveGoldTeethToWarden:: @ 8198E84
.string "{PLAYER} gave the GOLD TEETH\n"
.string "to the WARDEN.$"
gUnknown_8198EAA:: @ 8198EAA
FuchsiaCity_WardensHouse_Text_WardenPoppedInHisTeeth:: @ 8198EAA
.string "The WARDEN popped in his teeth!$"
gUnknown_8198ECA:: @ 8198ECA
FuchsiaCity_WardensHouse_Text_ThanksSonGiveYouSomething:: @ 8198ECA
.string "WARDEN: Thanks, son!\n"
.string "You're a real lifesaver!\p"
.string "No one could understand a word\n"
@@ -28,7 +28,7 @@ gUnknown_8198ECA:: @ 8198ECA
.string "Let me give you something for your\n"
.string "trouble.$"
gUnknown_8198F96:: @ 8198F96
FuchsiaCity_WardensHouse_Text_ThanksLassieGiveYouSomething:: @ 8198F96
.string "WARDEN: Thank you, lassie!\n"
.string "You're a real lifesaver!\p"
.string "No one could understand a word\n"
@@ -38,11 +38,11 @@ gUnknown_8198F96:: @ 8198F96
.string "Let me give you something for your\n"
.string "trouble.$"
gUnknown_8199068:: @ 8199068
FuchsiaCity_WardensHouse_Text_ReceivedHM04FromWarden:: @ 8199068
.string "{PLAYER} received HM04\n"
.string "from the WARDEN.$"
gUnknown_819908A:: @ 819908A
FuchsiaCity_WardensHouse_Text_ExplainStrength:: @ 819908A
.string "WARDEN: Inside HM04 you'll find\n"
.string "STRENGTH.\p"
.string "It lets POKéMON move boulders when\n"
@@ -50,15 +50,16 @@ gUnknown_819908A:: @ 819908A
.string "Oh yes, did you find the SECRET\n"
.string "HOUSE in the SAFARI ZONE?$"
Text_19912B:: @ 819912B
@ Unused
FuchsiaCity_WardensHouse_Text_YouHaveTooMuchStuff:: @ 819912B
.string "なんや にもつ\n"
.string "いっぱいやんけ!$"
gUnknown_819913C:: @ 819913C
FuchsiaCity_WardensHouse_Text_MonPhotosFossilsOnDisplay:: @ 819913C
.string "POKéMON photos and fossils are on\n"
.string "display.$"
gUnknown_8199167:: @ 8199167
FuchsiaCity_WardensHouse_Text_OldMonMerchandiseOnDisplay:: @ 8199167
.string "Old POKéMON merchandise is on\n"
.string "display.$"
@@ -1,18 +0,0 @@
FuchsiaCity_ZooBuilding_MapScripts:: @ 816D528
.byte 0
FuchsiaCity_ZooBuilding_EventScript_16D529:: @ 816D529
msgbox gUnknown_819816B, MSGBOX_NPC
end
FuchsiaCity_ZooBuilding_EventScript_16D532:: @ 816D532
msgbox gUnknown_81981C2, MSGBOX_NPC
end
FuchsiaCity_ZooBuilding_EventScript_16D53B:: @ 816D53B
msgbox gUnknown_819822A, MSGBOX_NPC
end
FuchsiaCity_ZooBuilding_EventScript_16D544:: @ 816D544
msgbox gUnknown_8198285, MSGBOX_NPC
end
+8 -8
View File
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "MtEmber_Exterior_EventScript_16397F",
"script": "MtEmber_Exterior_EventScript_Grunt1",
"flag": "FLAG_HIDE_MT_EMBER_EXTERIOR_ROCKETS"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "MtEmber_Exterior_EventScript_1639F0",
"script": "MtEmber_Exterior_EventScript_Grunt2",
"flag": "FLAG_HIDE_MT_EMBER_EXTERIOR_ROCKETS"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 3,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "MtEmber_Exterior_EventScript_163AE2",
"script": "MtEmber_Exterior_EventScript_Jocelyn",
"flag": "0"
},
{
@@ -75,7 +75,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "MtEmber_Exterior_EventScript_163AB4",
"script": "MtEmber_Exterior_EventScript_Logan",
"flag": "0"
},
{
@@ -88,7 +88,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "MtEmber_Exterior_EventScript_163ACB",
"script": "MtEmber_Exterior_EventScript_Beth",
"flag": "0"
},
{
@@ -326,7 +326,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_MT_EMBER_EXTERIOR",
"var_value": 1,
"script": "MtEmber_Exterior_EventScript_163A4E"
"script": "MtEmber_Exterior_EventScript_RocketPasswordScene"
},
{
"type": "trigger",
@@ -335,7 +335,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_MT_EMBER_EXTERIOR",
"var_value": 1,
"script": "MtEmber_Exterior_EventScript_163A4E"
"script": "MtEmber_Exterior_EventScript_RocketPasswordScene"
},
{
"type": "trigger",
@@ -344,7 +344,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_MT_EMBER_EXTERIOR",
"var_value": 1,
"script": "MtEmber_Exterior_EventScript_163A4E"
"script": "MtEmber_Exterior_EventScript_RocketPasswordScene"
}
],
"bg_events": [
+46 -46
View File
@@ -6,50 +6,50 @@ MtEmber_Exterior_MapScripts:: @ 8163946
MtEmber_Exterior_OnTransition:: @ 8163951
setworldmapflag FLAG_WORLD_MAP_MT_EMBER_EXTERIOR
compare VAR_MAP_SCENE_MT_EMBER_EXTERIOR, 2
call_if_eq EventScript_163960
call_if_eq MtEmber_Exterior_EventScript_RocketsFaceDown
end
EventScript_163960:: @ 8163960
setobjectmovementtype 2, 8
setobjectmovementtype 3, 8
MtEmber_Exterior_EventScript_RocketsFaceDown:: @ 8163960
setobjectmovementtype 2, MOVEMENT_TYPE_FACE_DOWN
setobjectmovementtype 3, MOVEMENT_TYPE_FACE_DOWN
return
MtEmber_Exterior_OnLoad:: @ 8163969
compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 4
call_if_ge EventScript_163975
call_if_ge MtEmber_Exterior_EventScript_OpenCave
end
EventScript_163975:: @ 8163975
setmetatile 42, 39, 838, 0
MtEmber_Exterior_EventScript_OpenCave:: @ 8163975
setmetatile 42, 39, METATILE_MtEmber_CaveEntrance, 0
return
MtEmber_Exterior_EventScript_16397F:: @ 816397F
MtEmber_Exterior_EventScript_Grunt1:: @ 816397F
lock
goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_43, EventScript_16399E
goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_43, MtEmber_Exterior_EventScript_Grunt1Defeated
compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 4
goto_if_eq EventScript_1639A8
msgbox gUnknown_817A82A
goto_if_eq MtEmber_Exterior_EventScript_BattleGrunt1
msgbox MtEmber_Exterior_Text_WellTryDiggingHere
release
end
EventScript_16399E:: @ 816399E
msgbox gUnknown_817AA3F
MtEmber_Exterior_EventScript_Grunt1Defeated:: @ 816399E
msgbox MtEmber_Exterior_Text_Grunt1PostBattle
release
end
EventScript_1639A8:: @ 81639A8
MtEmber_Exterior_EventScript_BattleGrunt1:: @ 81639A8
applymovement 2, Movement_FacePlayer
waitmovement 0
playbgm MUS_ROCKET, 0
msgbox gUnknown_817AA06
trainerbattle_no_intro TRAINER_TEAM_ROCKET_GRUNT_43, Text_17AA34
msgbox gUnknown_817AA3F
goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_44, EventScript_1639DB
msgbox MtEmber_Exterior_Text_Grunt1Intro
trainerbattle_no_intro TRAINER_TEAM_ROCKET_GRUNT_43, MtEmber_Exterior_Text_Grunt1Defeat
msgbox MtEmber_Exterior_Text_Grunt1PostBattle
goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_44, MtEmber_Exterior_EventScript_DefeatedBothGrunts
release
end
EventScript_1639DB:: @ 81639DB
msgbox gUnknown_817AAD7
MtEmber_Exterior_EventScript_DefeatedBothGrunts:: @ 81639DB
msgbox MtEmber_Exterior_Text_WellRegroupDontStepInsideThere
closemessage
fadescreen FADE_TO_BLACK
removeobject 2
@@ -58,44 +58,44 @@ EventScript_1639DB:: @ 81639DB
release
end
MtEmber_Exterior_EventScript_1639F0:: @ 81639F0
MtEmber_Exterior_EventScript_Grunt2:: @ 81639F0
lock
faceplayer
goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_44, EventScript_163A1B
goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_44, MtEmber_Exterior_EventScript_DefeatedGrunt2
compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 4
goto_if_eq EventScript_163A25
msgbox gUnknown_817A88C
goto_if_eq MtEmber_Exterior_EventScript_BattleGrunt2
msgbox MtEmber_Exterior_Text_YoureInTheWayGetLost
closemessage
applymovement 3, Movement_FaceOriginalDirection
waitmovement 0
release
end
EventScript_163A1B:: @ 8163A1B
msgbox gUnknown_817AA99
MtEmber_Exterior_EventScript_DefeatedGrunt2:: @ 8163A1B
msgbox MtEmber_Exterior_Text_Grunt2PostBattle
release
end
EventScript_163A25:: @ 8163A25
MtEmber_Exterior_EventScript_BattleGrunt2:: @ 8163A25
playbgm MUS_ROCKET, 0
msgbox gUnknown_817AA56
trainerbattle_no_intro TRAINER_TEAM_ROCKET_GRUNT_44, Text_17AA8A
msgbox gUnknown_817AA99
goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_43, EventScript_1639DB
msgbox MtEmber_Exterior_Text_Grunt2Intro
trainerbattle_no_intro TRAINER_TEAM_ROCKET_GRUNT_44, MtEmber_Exterior_Text_Grunt2Defeat
msgbox MtEmber_Exterior_Text_Grunt2PostBattle
goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_43, MtEmber_Exterior_EventScript_DefeatedBothGrunts
release
end
MtEmber_Exterior_EventScript_163A4E:: @ 8163A4E
MtEmber_Exterior_EventScript_RocketPasswordScene:: @ 8163A4E
lockall
textcolor 0
msgbox gUnknown_817A8B4
message Text_17A8EE
msgbox MtEmber_Exterior_Text_PunchedThroughAtLast
message MtEmber_Exterior_Text_WhatsPasswordAgain
waitmessage
playse SE_PIN
applymovement 3, Movement_QuestionMark
waitmovement 0
waitbuttonpress
msgbox gUnknown_817A970
msgbox MtEmber_Exterior_Text_FirstPasswordGoldeen
applymovement 2, Movement_WalkInPlaceFastestDown
waitmovement 0
playse SE_PIN
@@ -105,23 +105,23 @@ MtEmber_Exterior_EventScript_163A4E:: @ 8163A4E
waitmovement 0
applymovement 3, Movement_WalkInPlaceFastestDown
waitmovement 0
call EventScript_163960
msgbox gUnknown_817A9E1
call MtEmber_Exterior_EventScript_RocketsFaceDown
msgbox MtEmber_Exterior_Text_SnoopsBeenListeningIn
setvar VAR_MAP_SCENE_MT_EMBER_EXTERIOR, 2
releaseall
end
MtEmber_Exterior_EventScript_163AB4:: @ 8163AB4
trainerbattle_single TRAINER_PKMN_RANGER_LOGAN, Text_17AB73, Text_17ABAA
msgbox gUnknown_817ABD8, MSGBOX_AUTOCLOSE
MtEmber_Exterior_EventScript_Logan:: @ 8163AB4
trainerbattle_single TRAINER_PKMN_RANGER_LOGAN, MtEmber_Exterior_Text_LoganIntro, MtEmber_Exterior_Text_LoganDefeat
msgbox MtEmber_Exterior_Text_LoganPostBattle, MSGBOX_AUTOCLOSE
end
MtEmber_Exterior_EventScript_163ACB:: @ 8163ACB
trainerbattle_single TRAINER_PKMN_RANGER_BETH, Text_17AC55, Text_17AC82
msgbox gUnknown_817ACA2, MSGBOX_AUTOCLOSE
MtEmber_Exterior_EventScript_Beth:: @ 8163ACB
trainerbattle_single TRAINER_PKMN_RANGER_BETH, MtEmber_Exterior_Text_BethIntro, MtEmber_Exterior_Text_BethDefeat
msgbox MtEmber_Exterior_Text_BethPostBattle, MSGBOX_AUTOCLOSE
end
MtEmber_Exterior_EventScript_163AE2:: @ 8163AE2
trainerbattle_single TRAINER_CRUSH_GIRL_JOCELYN, Text_17AD06, Text_17AD6B
msgbox gUnknown_817AD89, MSGBOX_AUTOCLOSE
MtEmber_Exterior_EventScript_Jocelyn:: @ 8163AE2
trainerbattle_single TRAINER_CRUSH_GIRL_JOCELYN, MtEmber_Exterior_Text_JocelynIntro, MtEmber_Exterior_Text_JocelynDefeat
msgbox MtEmber_Exterior_Text_JocelynPostBattle, MSGBOX_AUTOCLOSE
end
+27 -26
View File
@@ -20,7 +20,8 @@ Text_ExplosionTaught:: @ 817A756
.string "volcano…\p"
.string "What a terrifying thrill!$"
Text_17A797:: @ 817A797
@ Below 4 are unused JP versions of the above texts
Text_ExplosionTeachJP:: @ 817A797
.string "こ この かざんが\n"
.string "もし だいばくはつ したら\l"
.string "お おれら ひとたまりも\l"
@@ -28,72 +29,72 @@ Text_17A797:: @ 817A797
.string "こ こわい ついでに\n"
.string "だいばくはつ でも おぼえてみる?$"
Text_17A7E5:: @ 817A7E5
Text_ExplosionDeclinedJP:: @ 817A7E5
.string "や やっぱ こわいもんな\n"
.string "ブルブル$"
Text_17A7F7:: @ 817A7F7
Text_ExplosionWhichMonJP:: @ 817A7F7
.string "つ つよきだね!\n"
.string "じゃあ どの ポケモンに する?$"
Text_17A811:: @ 817A811
Text_ExplosionTaughtJP:: @ 817A811
.string "かざんで だいばくはつを‥\n"
.string "す すごい スリル!$"
gUnknown_817A82A:: @ 817A82A
MtEmber_Exterior_Text_WellTryDiggingHere:: @ 817A82A
.string "Over here.\n"
.string "We'll try digging here.\p"
.string "That treasure the ADMINS've been\n"
.string "talking about should be here.$"
gUnknown_817A88C:: @ 817A88C
MtEmber_Exterior_Text_YoureInTheWayGetLost:: @ 817A88C
.string "What the…?\n"
.string "You're in the way. Get lost.$"
gUnknown_817A8B4:: @ 817A8B4
MtEmber_Exterior_Text_PunchedThroughAtLast:: @ 817A8B4
.string "Whew, punched through at last.\n"
.string "Let's go treasure hunting!$"
Text_17A8EE:: @ 817A8EE
MtEmber_Exterior_Text_WhatsPasswordAgain:: @ 817A8EE
.string "Any treasure we find, we haul back\n"
.string "to the WAREHOUSE, understood?\p"
.string "…Oh, and what're the passwords?\n"
.string "At the ROCKET WAREHOUSE, I mean.$"
gUnknown_817A970:: @ 817A970
MtEmber_Exterior_Text_FirstPasswordGoldeen:: @ 817A970
.string "What, you forgot the password?\n"
.string "There're actually two.\p"
.string "The first one's “GOLDEEN need\n"
.string "log.”\p"
.string "And the second one is…$"
gUnknown_817A9E1:: @ 817A9E1
MtEmber_Exterior_Text_SnoopsBeenListeningIn:: @ 817A9E1
.string "Hey!\n"
.string "This snoop's been listening in!$"
gUnknown_817AA06:: @ 817AA06
MtEmber_Exterior_Text_Grunt1Intro:: @ 817AA06
.string "You've been eavesdropping on us,\n"
.string "haven't you?$"
Text_17AA34:: @ 817AA34
MtEmber_Exterior_Text_Grunt1Defeat:: @ 817AA34
.string "Huh, what?$"
gUnknown_817AA3F:: @ 817AA3F
MtEmber_Exterior_Text_Grunt1PostBattle:: @ 817AA3F
.string "Why'd you have to win?$"
gUnknown_817AA56:: @ 817AA56
MtEmber_Exterior_Text_Grunt2Intro:: @ 817AA56
.string "Trying to horn in on our treasure?\n"
.string "Don't bet on it!$"
Text_17AA8A:: @ 817AA8A
MtEmber_Exterior_Text_Grunt2Defeat:: @ 817AA8A
.string "Wait!\n"
.string "But how?$"
gUnknown_817AA99:: @ 817AA99
MtEmber_Exterior_Text_Grunt2PostBattle:: @ 817AA99
.string "Develop amnesia conveniently and\n"
.string "forget everything you heard!$"
gUnknown_817AAD7:: @ 817AAD7
MtEmber_Exterior_Text_WellRegroupDontStepInsideThere:: @ 817AAD7
.string "What a setback…\n"
.string "We'll have to regroup.\p"
.string "You! Don't even think about taking\n"
@@ -101,43 +102,43 @@ gUnknown_817AAD7:: @ 817AAD7
.string "If you know what's good for you,\n"
.string "don't even think about this!$"
Text_17AB73:: @ 817AB73
MtEmber_Exterior_Text_LoganIntro:: @ 817AB73
.string "An active volcano is one that's\n"
.string "erupting, or about to.$"
Text_17ABAA:: @ 817ABAA
MtEmber_Exterior_Text_LoganDefeat:: @ 817ABAA
.string "Whew… That was hot!\n"
.string "Sweat's erupting from me!$"
gUnknown_817ABD8:: @ 817ABD8
MtEmber_Exterior_Text_LoganPostBattle:: @ 817ABD8
.string "They say there're over 1,500\n"
.string "active volcanoes in the world.\p"
.string "Just thinking about them makes me\n"
.string "feel all hot and gooey inside!$"
Text_17AC55:: @ 817AC55
MtEmber_Exterior_Text_BethIntro:: @ 817AC55
.string "Do you know how caves form inside\n"
.string "volcanoes?$"
Text_17AC82:: @ 817AC82
MtEmber_Exterior_Text_BethDefeat:: @ 817AC82
.string "Atchah!\n"
.string "You're shockingly good!$"
gUnknown_817ACA2:: @ 817ACA2
MtEmber_Exterior_Text_BethPostBattle:: @ 817ACA2
.string "When lava at the surface of magma\n"
.string "hardens, and the magma inside flows\l"
.string "out, caverns are left behind.$"
Text_17AD06:: @ 817AD06
MtEmber_Exterior_Text_JocelynIntro:: @ 817AD06
.string "I've been in training so I can mend\n"
.string "my broken heart…\p"
.string "It toughened me up physically at\n"
.string "least! Hi-yah!$"
Text_17AD6B:: @ 817AD6B
MtEmber_Exterior_Text_JocelynDefeat:: @ 817AD6B
.string "I think I tried to overdo it…$"
gUnknown_817AD89:: @ 817AD89
MtEmber_Exterior_Text_JocelynPostBattle:: @ 817AD89
.string "The way you battle, it reminds me\n"
.string "of the guy who dumped me…$"
+3 -3
View File
@@ -1,12 +1,12 @@
MtEmber_RubyPath_B3F_MapScripts:: @ 8163C48
.byte 0
MtEmber_RubyPath_B3F_EventScript_163C49:: @ 8163C49
MtEmber_RubyPath_B5F_EventScript_163C49:: @ 8163C49
@ Odd that this is here and not in MtEmber_RubyPath_B5F/scripts.inc
MtEmber_RubyPath_B5F_EventScript_Ruby:: @ 8163C49
lock
faceplayer
setflag FLAG_GOT_RUBY
removeobject 1
giveitem_msg gUnknown_817ADC5, ITEM_RUBY, 1, MUS_FAN5
giveitem_msg MtEmber_RubyPath_B3F_Text_FoundARuby, ITEM_RUBY, 1, MUS_FAN5
release
end
+1 -1
View File
@@ -1,3 +1,3 @@
gUnknown_817ADC5:: @ 817ADC5
MtEmber_RubyPath_B3F_Text_FoundARuby:: @ 817ADC5
.string "{PLAYER} found a RUBY!$"
+26 -26
View File
@@ -36,182 +36,182 @@
"x": 3,
"y": 7,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638EC"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleABC"
},
{
"type": "bg_event_type_1",
"x": 4,
"y": 7,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638EC"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleABC"
},
{
"type": "bg_event_type_1",
"x": 5,
"y": 7,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638EC"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleABC"
},
{
"type": "bg_event_type_1",
"x": 4,
"y": 9,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638F5"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleGHI"
},
{
"type": "bg_event_type_1",
"x": 3,
"y": 9,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638F5"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleGHI"
},
{
"type": "bg_event_type_1",
"x": 5,
"y": 9,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638F5"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleGHI"
},
{
"type": "bg_event_type_1",
"x": 3,
"y": 11,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638FE"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleMNO"
},
{
"type": "bg_event_type_1",
"x": 4,
"y": 11,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638FE"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleMNO"
},
{
"type": "bg_event_type_1",
"x": 5,
"y": 11,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_1638FE"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleMNO"
},
{
"type": "bg_event_type_1",
"x": 3,
"y": 13,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163907"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleTUV"
},
{
"type": "bg_event_type_1",
"x": 4,
"y": 13,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163907"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleTUV"
},
{
"type": "bg_event_type_1",
"x": 5,
"y": 13,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163907"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleTUV"
},
{
"type": "bg_event_type_1",
"x": 7,
"y": 7,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163910"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleDEF"
},
{
"type": "bg_event_type_1",
"x": 8,
"y": 7,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163910"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleDEF"
},
{
"type": "bg_event_type_1",
"x": 9,
"y": 7,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163910"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleDEF"
},
{
"type": "bg_event_type_1",
"x": 7,
"y": 9,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163919"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleJKL"
},
{
"type": "bg_event_type_1",
"x": 8,
"y": 9,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163919"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleJKL"
},
{
"type": "bg_event_type_1",
"x": 9,
"y": 9,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163919"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleJKL"
},
{
"type": "bg_event_type_1",
"x": 7,
"y": 11,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163922"
"script": "MtEmber_RubyPath_B4F_EventScript_BraillePQRS"
},
{
"type": "bg_event_type_1",
"x": 11,
"y": 7,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163934"
"script": "MtEmber_RubyPath_B4F_EventScript_BraillePeriod"
},
{
"type": "bg_event_type_1",
"x": 11,
"y": 9,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_16393D"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleComma"
},
{
"type": "bg_event_type_1",
"x": 8,
"y": 11,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163922"
"script": "MtEmber_RubyPath_B4F_EventScript_BraillePQRS"
},
{
"type": "bg_event_type_1",
"x": 9,
"y": 11,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_163922"
"script": "MtEmber_RubyPath_B4F_EventScript_BraillePQRS"
},
{
"type": "bg_event_type_1",
"x": 7,
"y": 13,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_16392B"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleWXYZ"
},
{
"type": "bg_event_type_1",
"x": 9,
"y": 13,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_16392B"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleWXYZ"
},
{
"type": "bg_event_type_1",
"x": 8,
"y": 13,
"elevation": 0,
"script": "MtEmber_RubyPath_B4F_EventScript_16392B"
"script": "MtEmber_RubyPath_B4F_EventScript_BrailleWXYZ"
}
]
}
+20 -20
View File
@@ -1,72 +1,72 @@
MtEmber_RubyPath_B4F_MapScripts:: @ 81638EB
.byte 0
MtEmber_RubyPath_B4F_EventScript_1638EC:: @ 81638EC
MtEmber_RubyPath_B4F_EventScript_BrailleABC:: @ 81638EC
lockall
braillemessage gUnknown_81A929F
braillemessage Braille_Text_ABC
waitbuttonpress
releaseall
end
MtEmber_RubyPath_B4F_EventScript_1638F5:: @ 81638F5
MtEmber_RubyPath_B4F_EventScript_BrailleGHI:: @ 81638F5
lockall
braillemessage gUnknown_81A92A3
braillemessage Braille_Text_GHI
waitbuttonpress
releaseall
end
MtEmber_RubyPath_B4F_EventScript_1638FE:: @ 81638FE
MtEmber_RubyPath_B4F_EventScript_BrailleMNO:: @ 81638FE
lockall
braillemessage gUnknown_81A92A7
braillemessage Braille_Text_MNO
waitbuttonpress
releaseall
end
MtEmber_RubyPath_B4F_EventScript_163907:: @ 8163907
MtEmber_RubyPath_B4F_EventScript_BrailleTUV:: @ 8163907
lockall
braillemessage gUnknown_81A92AB
braillemessage Braille_Text_TUV
waitbuttonpress
releaseall
end
MtEmber_RubyPath_B4F_EventScript_163910:: @ 8163910
MtEmber_RubyPath_B4F_EventScript_BrailleDEF:: @ 8163910
lockall
braillemessage gUnknown_81A92AF
braillemessage Braille_Text_DEF
waitbuttonpress
releaseall
end
MtEmber_RubyPath_B4F_EventScript_163919:: @ 8163919
MtEmber_RubyPath_B4F_EventScript_BrailleJKL:: @ 8163919
lockall
braillemessage gUnknown_81A92B3
braillemessage Braille_Text_JKL
waitbuttonpress
releaseall
end
MtEmber_RubyPath_B4F_EventScript_163922:: @ 8163922
MtEmber_RubyPath_B4F_EventScript_BraillePQRS:: @ 8163922
lockall
braillemessage gUnknown_81A92B7
braillemessage Braille_Text_PQRS
waitbuttonpress
releaseall
end
MtEmber_RubyPath_B4F_EventScript_16392B:: @ 816392B
MtEmber_RubyPath_B4F_EventScript_BrailleWXYZ:: @ 816392B
lockall
braillemessage gUnknown_81A92BC
braillemessage Braille_Text_WXYZ
waitbuttonpress
releaseall
end
MtEmber_RubyPath_B4F_EventScript_163934:: @ 8163934
MtEmber_RubyPath_B4F_EventScript_BraillePeriod:: @ 8163934
lockall
braillemessage gUnknown_81A92C1
braillemessage Braille_Text_Period
waitbuttonpress
releaseall
end
MtEmber_RubyPath_B4F_EventScript_16393D:: @ 816393D
MtEmber_RubyPath_B4F_EventScript_BrailleComma:: @ 816393D
lockall
braillemessage gUnknown_81A92C3
braillemessage Braille_Text_Comma
waitbuttonpress
releaseall
end
+2 -2
View File
@@ -23,7 +23,7 @@
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "MtEmber_RubyPath_B5F_EventScript_163C49",
"script": "MtEmber_RubyPath_B5F_EventScript_Ruby",
"flag": "FLAG_HIDE_RUBY"
}
],
@@ -43,7 +43,7 @@
"x": 7,
"y": 2,
"elevation": 0,
"script": "MtEmber_RubyPath_B5F_EventScript_163BAB"
"script": "MtEmber_RubyPath_B5F_EventScript_BrailleMessage"
}
]
}
+9 -30
View File
@@ -1,38 +1,17 @@
MtEmber_RubyPath_B5F_MapScripts:: @ 8163BAA
.byte 0
MtEmber_RubyPath_B5F_EventScript_163BAB:: @ 8163BAB
MtEmber_RubyPath_B5F_EventScript_BrailleMessage:: @ 8163BAB
lockall
setvar VAR_0x8005, 130
setvar VAR_0x8006, 0
braillemessage gUnknown_81A92C5
getbraillestringwidth gUnknown_81A92C5
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A92D0
getbraillestringwidth gUnknown_81A92D0
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A92DC
getbraillestringwidth gUnknown_81A92DC
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A92E6
getbraillestringwidth gUnknown_81A92E6
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A92F2
getbraillestringwidth gUnknown_81A92F2
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A92FE
getbraillestringwidth gUnknown_81A92FE
call EventScript_BrailleCursorWaitButton
setvar VAR_0x8006, 0
braillemessage gUnknown_81A930A
getbraillestringwidth gUnknown_81A930A
call EventScript_BrailleCursorWaitButton
braillemessage gUnknown_81A9316
braillemessage_wait Braille_Text_Everything
braillemessage_wait Braille_Text_HasMeaning1
braillemessage_wait Braille_Text_Existence
braillemessage_wait Braille_Text_HasMeaning2
braillemessage_wait Braille_Text_BeingAlive
braillemessage_wait Braille_Text_HasMeaning3
braillemessage_wait Braille_Text_HaveDreams
braillemessage Braille_Text_UsePower
waitbuttonpress
releaseall
end
+1 -1
View File
@@ -23,7 +23,7 @@
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "MtEmber_Summit_EventScript_163B33",
"script": "MtEmber_Summit_EventScript_Moltres",
"flag": "FLAG_HIDE_MOLTRES"
},
{
+11 -11
View File
@@ -4,10 +4,10 @@ MtEmber_Summit_MapScripts:: @ 8163AFC
.byte 0
MtEmber_Summit_OnResume:: @ 8163B07
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, EventScript_163B11
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, MtEmber_Summit_EventScript_TryRemoveMoltres
end
EventScript_163B11:: @ 8163B11
MtEmber_Summit_EventScript_TryRemoveMoltres:: @ 8163B11
specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne EventScript_Return
@@ -15,14 +15,14 @@ EventScript_163B11:: @ 8163B11
return
MtEmber_Summit_OnTransition:: @ 8163B25
call_if_unset FLAG_FOUGHT_MOLTRES, EventScript_163B2F
call_if_unset FLAG_FOUGHT_MOLTRES, MtEmber_Summit_EventScript_ShowMoltres
end
EventScript_163B2F:: @ 8163B2F
MtEmber_Summit_EventScript_ShowMoltres:: @ 8163B2F
clearflag FLAG_HIDE_MOLTRES
return
MtEmber_Summit_EventScript_163B33:: @ 8163B33
MtEmber_Summit_EventScript_Moltres:: @ 8163B33
goto_if_questlog EventScript_ReleaseEnd
special sub_8112364
lock
@@ -30,7 +30,7 @@ MtEmber_Summit_EventScript_163B33:: @ 8163B33
setwildbattle SPECIES_MOLTRES, 50, ITEM_NONE
waitse
playmoncry SPECIES_MOLTRES, 2
message Text_1A6448
message Text_Gyaoo
waitmessage
waitmoncry
delay 10
@@ -42,21 +42,21 @@ MtEmber_Summit_EventScript_163B33:: @ 8163B33
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_163B96
goto_if_eq MtEmber_Summit_EventScript_DefeatedMoltres
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_163B9F
goto_if_eq MtEmber_Summit_EventScript_RanFromMoltres
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_163B9F
goto_if_eq MtEmber_Summit_EventScript_RanFromMoltres
setflag FLAG_FOUGHT_MOLTRES
release
end
EventScript_163B96:: @ 8163B96
MtEmber_Summit_EventScript_DefeatedMoltres:: @ 8163B96
setflag FLAG_FOUGHT_MOLTRES
goto EventScript_RemoveStaticMon
end
EventScript_163B9F:: @ 8163B9F
MtEmber_Summit_EventScript_RanFromMoltres:: @ 8163B9F
setvar VAR_0x8004, SPECIES_MOLTRES
goto EventScript_MonFlewAway
end
+3 -3
View File
@@ -88,7 +88,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "PowerPlant_EventScript_1637B8",
"script": "PowerPlant_EventScript_Zapdos",
"flag": "FLAG_HIDE_ZAPDOS"
},
{
@@ -101,7 +101,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "PowerPlant_EventScript_16388D",
"script": "PowerPlant_EventScript_Electrode2",
"flag": "FLAG_HIDE_POWER_PLANT_ELECTRODE_2"
},
{
@@ -114,7 +114,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "PowerPlant_EventScript_16382F",
"script": "PowerPlant_EventScript_Electrode1",
"flag": "FLAG_HIDE_POWER_PLANT_ELECTRODE_1"
}
],
+25 -25
View File
@@ -4,10 +4,10 @@ PowerPlant_MapScripts:: @ 8163764
.byte 0
PowerPlant_OnResume:: @ 816376F
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, EventScript_163779
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, PowerPlant_EventScript_TryRemoveStaticMon
end
EventScript_163779:: @ 8163779
PowerPlant_EventScript_TryRemoveStaticMon:: @ 8163779
specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne EventScript_Return
@@ -16,24 +16,24 @@ EventScript_163779:: @ 8163779
PowerPlant_OnTransition:: @ 816378D
setworldmapflag FLAG_WORLD_MAP_POWER_PLANT
call_if_unset FLAG_FOUGHT_ZAPDOS, EventScript_1637AC
call_if_unset FLAG_FOUGHT_POWER_PLANT_ELECTRODE_1, EventScript_1637B0
call_if_unset FLAG_FOUGHT_POWER_PLANT_ELECTRODE_2, EventScript_1637B4
call_if_unset FLAG_FOUGHT_ZAPDOS, PowerPlant_EventScript_ShowZapdos
call_if_unset FLAG_FOUGHT_POWER_PLANT_ELECTRODE_1, PowerPlant_EventScript_ShowElectrode1
call_if_unset FLAG_FOUGHT_POWER_PLANT_ELECTRODE_2, PowerPlant_EventScript_ShowElectrode2
end
EventScript_1637AC:: @ 81637AC
PowerPlant_EventScript_ShowZapdos:: @ 81637AC
clearflag FLAG_HIDE_ZAPDOS
return
EventScript_1637B0:: @ 81637B0
PowerPlant_EventScript_ShowElectrode1:: @ 81637B0
clearflag FLAG_HIDE_POWER_PLANT_ELECTRODE_1
return
EventScript_1637B4:: @ 81637B4
PowerPlant_EventScript_ShowElectrode2:: @ 81637B4
clearflag FLAG_HIDE_POWER_PLANT_ELECTRODE_2
return
PowerPlant_EventScript_1637B8:: @ 81637B8
PowerPlant_EventScript_Zapdos:: @ 81637B8
goto_if_questlog EventScript_ReleaseEnd
special sub_8112364
lock
@@ -41,7 +41,7 @@ PowerPlant_EventScript_1637B8:: @ 81637B8
setwildbattle SPECIES_ZAPDOS, 50, ITEM_NONE
waitse
playmoncry SPECIES_ZAPDOS, 2
message Text_1A6448
message Text_Gyaoo
waitmessage
waitmoncry
delay 10
@@ -53,26 +53,26 @@ PowerPlant_EventScript_1637B8:: @ 81637B8
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_16381B
goto_if_eq PowerPlant_EventScript_DefeatedZapdos
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_163824
goto_if_eq PowerPlant_EventScript_RanFromZapdos
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_163824
goto_if_eq PowerPlant_EventScript_RanFromZapdos
setflag FLAG_FOUGHT_ZAPDOS
release
end
EventScript_16381B:: @ 816381B
PowerPlant_EventScript_DefeatedZapdos:: @ 816381B
setflag FLAG_FOUGHT_ZAPDOS
goto EventScript_RemoveStaticMon
end
EventScript_163824:: @ 8163824
PowerPlant_EventScript_RanFromZapdos:: @ 8163824
setvar VAR_0x8004, SPECIES_ZAPDOS
goto EventScript_MonFlewAway
end
PowerPlant_EventScript_16382F:: @ 816382F
PowerPlant_EventScript_Electrode1:: @ 816382F
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
@@ -87,21 +87,21 @@ PowerPlant_EventScript_16382F:: @ 816382F
special sub_8112364
specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_163884
goto_if_eq PowerPlant_EventScript_FoughtElectrode1
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_163884
goto_if_eq PowerPlant_EventScript_FoughtElectrode1
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_163884
goto_if_eq PowerPlant_EventScript_FoughtElectrode1
setflag FLAG_FOUGHT_POWER_PLANT_ELECTRODE_1
release
end
EventScript_163884:: @ 8163884
PowerPlant_EventScript_FoughtElectrode1:: @ 8163884
setflag FLAG_FOUGHT_POWER_PLANT_ELECTRODE_1
goto EventScript_RemoveStaticMon
end
PowerPlant_EventScript_16388D:: @ 816388D
PowerPlant_EventScript_Electrode2:: @ 816388D
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
@@ -116,16 +116,16 @@ PowerPlant_EventScript_16388D:: @ 816388D
special sub_8112364
specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_1638E2
goto_if_eq PowerPlant_EventScript_FoughtElectrode2
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_1638E2
goto_if_eq PowerPlant_EventScript_FoughtElectrode2
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_1638E2
goto_if_eq PowerPlant_EventScript_FoughtElectrode2
setflag FLAG_FOUGHT_POWER_PLANT_ELECTRODE_2
release
end
EventScript_1638E2:: @ 81638E2
PowerPlant_EventScript_FoughtElectrode2:: @ 81638E2
setflag FLAG_FOUGHT_POWER_PLANT_ELECTRODE_2
goto EventScript_RemoveStaticMon
end
+3 -3
View File
@@ -91,7 +91,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route12_EventScript_168014",
"script": "Route12_EventScript_Snorlax",
"flag": "FLAG_HIDE_ROUTE_12_SNORLAX"
},
{
@@ -249,14 +249,14 @@
"x": 17,
"y": 13,
"elevation": 0,
"script": "Route12_EventScript_1680A3"
"script": "Route12_EventScript_RouteSign"
},
{
"type": "bg_event_type_0",
"x": 15,
"y": 69,
"elevation": 0,
"script": "Route12_EventScript_1680AC"
"script": "Route12_EventScript_FishingSign"
},
{
"type": "hidden_item",
+18 -18
View File
@@ -3,22 +3,22 @@ Route12_MapScripts:: @ 8168000
.byte 0
Route12_OnResume:: @ 8168006
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, EventScript_168010
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, Route12_EventScript_TryRemoveSnorlax
end
EventScript_168010:: @ 8168010
Route12_EventScript_TryRemoveSnorlax:: @ 8168010
removeobject VAR_LAST_TALKED
return
Route12_EventScript_168014:: @ 8168014
Route12_EventScript_Snorlax:: @ 8168014
lock
faceplayer
goto_if_unset FLAG_GOT_POKE_FLUTE, EventScript_168099
goto_if_unset FLAG_GOT_POKE_FLUTE, Route12_EventScript_SnorlaxNoPokeFlute
goto_if_questlog EventScript_ReleaseEnd
special sub_8112364
msgbox gUnknown_81853CC, MSGBOX_YESNO
msgbox Text_WantToUsePokeFlute, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_16808D
goto_if_eq Route12_EventScript_DontUsePokeFlute
call EventScript_AwakenSnorlax
setwildbattle SPECIES_SNORLAX, 30, ITEM_NONE
waitse
@@ -32,32 +32,32 @@ Route12_EventScript_168014:: @ 8168014
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_16808F
goto_if_eq Route12_EventScript_FoughtSnorlax
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_16808F
goto_if_eq Route12_EventScript_FoughtSnorlax
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_16808F
goto_if_eq Route12_EventScript_FoughtSnorlax
release
end
EventScript_16808D:: @ 816808D
Route12_EventScript_DontUsePokeFlute:: @ 816808D
release
end
EventScript_16808F:: @ 816808F
msgbox gUnknown_8185383
Route12_EventScript_FoughtSnorlax:: @ 816808F
msgbox Text_SnorlaxReturnedToMountains
release
end
EventScript_168099:: @ 8168099
msgbox gUnknown_8185317
Route12_EventScript_SnorlaxNoPokeFlute:: @ 8168099
msgbox Route12_Text_MonSprawledOutInSlumber
release
end
Route12_EventScript_1680A3:: @ 81680A3
msgbox gUnknown_8185797, MSGBOX_SIGN
Route12_EventScript_RouteSign:: @ 81680A3
msgbox Route12_Text_RouteSign, MSGBOX_SIGN
end
Route12_EventScript_1680AC:: @ 81680AC
msgbox gUnknown_81857B3, MSGBOX_SIGN
Route12_EventScript_FishingSign:: @ 81680AC
msgbox Route12_Text_SportfishingArea, MSGBOX_SIGN
end
+5 -5
View File
@@ -1,4 +1,4 @@
gUnknown_8185317:: @ 8185317
Route12_Text_MonSprawledOutInSlumber:: @ 8185317
.string "A POKéMON is sprawled out in\n"
.string "a deep and comfortable slumber.$"
@@ -6,12 +6,12 @@ Text_SnorlaxWokeUp:: @ 8185354
.string "SNORLAX woke up!\p"
.string "It attacked in a grumpy rage!$"
gUnknown_8185383:: @ 8185383
Text_SnorlaxReturnedToMountains:: @ 8185383
.string "SNORLAX calmed down.\n"
.string "It gave a huge yawn…\l"
.string "And returned to the mountains.$"
gUnknown_81853CC:: @ 81853CC
Text_WantToUsePokeFlute:: @ 81853CC
.string "Want to use the POKé FLUTE?$"
Text_PlayedPokeFlute:: @ 81853E8
@@ -102,10 +102,10 @@ Text_18574D:: @ 818574D
.string "I catch them all the time, sure.\n"
.string "But, boy are they wimpy.$"
gUnknown_8185797:: @ 8185797
Route12_Text_RouteSign:: @ 8185797
.string "ROUTE 12 \n"
.string "North to LAVENDER$"
gUnknown_81857B3:: @ 81857B3
Route12_Text_SportfishingArea:: @ 81857B3
.string "SPORTFISHING AREA$"
+3 -3
View File
@@ -151,7 +151,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route16_EventScript_168121",
"script": "Route16_EventScript_Snorlax",
"flag": "FLAG_HIDE_ROUTE_16_SNORLAX"
}
],
@@ -199,14 +199,14 @@
"x": 6,
"y": 17,
"elevation": 0,
"script": "Route16_EventScript_1681B6"
"script": "Route16_EventScript_RouteSign"
},
{
"type": "bg_event_type_0",
"x": 33,
"y": 11,
"elevation": 0,
"script": "Route16_EventScript_1681AD"
"script": "Route16_EventScript_CyclingRoadSign"
},
{
"type": "hidden_item",
+22 -22
View File
@@ -5,39 +5,39 @@ Route16_MapScripts:: @ 81680E5
.byte 0
Route16_OnResume:: @ 81680F5
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, EventScript_1680FF
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, Route16_EventScript_RemoveSnorlax
end
EventScript_1680FF:: @ 81680FF
Route16_EventScript_RemoveSnorlax:: @ 81680FF
removeobject VAR_LAST_TALKED
return
Route16_OnTransition:: @ 8168103
compare VAR_MAP_SCENE_ROUTE16, 1
call_if_eq EventScript_16810F
call_if_eq Route16_EventScript_EnterCyclingRoad
end
EventScript_16810F:: @ 816810F
Route16_EventScript_EnterCyclingRoad:: @ 816810F
setflag FLAG_SYS_ON_CYCLING_ROAD
return
Route16_OnWarp:: @ 8168113
map_script_2 VAR_MAP_SCENE_ROUTE16, 1, EventScript_16811D
map_script_2 VAR_MAP_SCENE_ROUTE16, 1, Route16_EventScript_WarpIntoCyclingRoad
.2byte 0
EventScript_16811D:: @ 816811D
Route16_EventScript_WarpIntoCyclingRoad:: @ 816811D
special Special_ForcePlayerOntoBike
end
Route16_EventScript_168121:: @ 8168121
Route16_EventScript_Snorlax:: @ 8168121
lock
faceplayer
goto_if_unset FLAG_GOT_POKE_FLUTE, EventScript_1681A3
goto_if_unset FLAG_GOT_POKE_FLUTE, Route16_EventScript_SnorlaxNoPokeFlute
goto_if_questlog EventScript_ReleaseEnd
special sub_8112364
msgbox gUnknown_81853CC, MSGBOX_YESNO
msgbox Text_WantToUsePokeFlute, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_168197
goto_if_eq Route16_EventScript_DontUsePokeFlute
call EventScript_AwakenSnorlax
setwildbattle SPECIES_SNORLAX, 30, ITEM_NONE
waitse
@@ -50,32 +50,32 @@ Route16_EventScript_168121:: @ 8168121
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
specialvar VAR_RESULT, Special_GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq EventScript_168199
goto_if_eq Route16_EventScript_FoughtSnorlax
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq EventScript_168199
goto_if_eq Route16_EventScript_FoughtSnorlax
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq EventScript_168199
goto_if_eq Route16_EventScript_FoughtSnorlax
release
end
EventScript_168197:: @ 8168197
Route16_EventScript_DontUsePokeFlute:: @ 8168197
release
end
EventScript_168199:: @ 8168199
msgbox gUnknown_8185383
Route16_EventScript_FoughtSnorlax:: @ 8168199
msgbox Text_SnorlaxReturnedToMountains
release
end
EventScript_1681A3:: @ 81681A3
msgbox gUnknown_8186F3D
Route16_EventScript_SnorlaxNoPokeFlute:: @ 81681A3
msgbox Route16_Text_MonSprawledOutInSlumber
release
end
Route16_EventScript_1681AD:: @ 81681AD
msgbox gUnknown_8186F7A, MSGBOX_SIGN
Route16_EventScript_CyclingRoadSign:: @ 81681AD
msgbox Route16_Text_CyclingRoadSign, MSGBOX_SIGN
end
Route16_EventScript_1681B6:: @ 81681B6
msgbox gUnknown_8186F98, MSGBOX_SIGN
Route16_EventScript_RouteSign:: @ 81681B6
msgbox Route16_Text_RouteSign, MSGBOX_SIGN
end
+3 -3
View File
@@ -99,15 +99,15 @@ Text_186EC7:: @ 8186EC7
.string "They're great for startling people.\n"
.string "And, they bite, too.$"
gUnknown_8186F3D:: @ 8186F3D
Route16_Text_MonSprawledOutInSlumber:: @ 8186F3D
.string "A POKéMON is sprawled out in\n"
.string "a deep and comfortable slumber.$"
gUnknown_8186F7A:: @ 8186F7A
Route16_Text_CyclingRoadSign:: @ 8186F7A
.string "Enjoy the slope!\n"
.string "CYCLING ROAD$"
gUnknown_8186F98:: @ 8186F98
Route16_Text_RouteSign:: @ 8186F98
.string "ROUTE 16\n"
.string "CELADON CITY - FUCHSIA CITY$"
+2 -2
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route22_NorthEntrance_EventScript_1704FC",
"script": "Route22_NorthEntrance_EventScript_BoulderBadgeGuard",
"flag": "0"
}
],
@@ -65,7 +65,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 0,
"script": "Route22_NorthEntrance_EventScript_17050D"
"script": "Route22_NorthEntrance_EventScript_BoulderBadgeGuardTrigger"
}
],
"bg_events": []
+6 -6
View File
@@ -1,18 +1,18 @@
Route22_NorthEntrance_MapScripts:: @ 81704FB
.byte 0
Route22_NorthEntrance_EventScript_1704FC:: @ 81704FC
Route22_NorthEntrance_EventScript_BoulderBadgeGuard:: @ 81704FC
lock
faceplayer
setvar VAR_TEMP_1, 1
getstdstring 0, 15
goto EventScript_1A7803
getstdstring 0, STDSTRING_BOULDER_BADGE
goto Route22_NorthEntrance_EventScript_BadgeGuard
end
Route22_NorthEntrance_EventScript_17050D:: @ 817050D
Route22_NorthEntrance_EventScript_BoulderBadgeGuardTrigger:: @ 817050D
lockall
setvar VAR_TEMP_1, 1
setvar VAR_0x8009, 1
getstdstring 0, 15
goto EventScript_1A796E
getstdstring 0, STDSTRING_BOULDER_BADGE
goto Route23_EventScript_BadgeGuardTrigger
end
+50 -50
View File
@@ -34,7 +34,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route23_EventScript_16850C",
"script": "Route23_EventScript_CascadeBadgeGuard",
"flag": "0"
},
{
@@ -47,7 +47,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route23_EventScript_16851D",
"script": "Route23_EventScript_ThunderBadgeGuard",
"flag": "0"
},
{
@@ -60,7 +60,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route23_EventScript_16852E",
"script": "Route23_EventScript_RainbowBadgeGuard",
"flag": "0"
},
{
@@ -73,7 +73,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route23_EventScript_16853F",
"script": "Route23_EventScript_SoulBadgeGuard",
"flag": "0"
},
{
@@ -86,7 +86,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route23_EventScript_168550",
"script": "Route23_EventScript_MarshBadgeGuard",
"flag": "0"
},
{
@@ -99,7 +99,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route23_EventScript_168561",
"script": "Route23_EventScript_VolcanoBadgeGuard",
"flag": "0"
},
{
@@ -112,7 +112,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route23_EventScript_168572",
"script": "Route23_EventScript_EarthBadgeGuard",
"flag": "0"
}
],
@@ -154,7 +154,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 1,
"script": "Route23_EventScript_168583"
"script": "Route23_EventScript_CascadeBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -163,7 +163,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 2,
"script": "Route23_EventScript_168598"
"script": "Route23_EventScript_ThunderBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -172,7 +172,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 3,
"script": "Route23_EventScript_1685AD"
"script": "Route23_EventScript_RainbowBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -181,7 +181,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 4,
"script": "Route23_EventScript_1685C2"
"script": "Route23_EventScript_SoulBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -190,7 +190,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 5,
"script": "Route23_EventScript_1685D7"
"script": "Route23_EventScript_MarshBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -199,7 +199,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 6,
"script": "Route23_EventScript_1685EC"
"script": "Route23_EventScript_VolcanoBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -208,7 +208,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 7,
"script": "Route23_EventScript_168601"
"script": "Route23_EventScript_EarthBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -217,7 +217,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 7,
"script": "Route23_EventScript_168601"
"script": "Route23_EventScript_EarthBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -226,7 +226,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 7,
"script": "Route23_EventScript_168601"
"script": "Route23_EventScript_EarthBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -235,7 +235,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 7,
"script": "Route23_EventScript_168601"
"script": "Route23_EventScript_EarthBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -244,7 +244,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 7,
"script": "Route23_EventScript_168601"
"script": "Route23_EventScript_EarthBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -253,7 +253,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 7,
"script": "Route23_EventScript_168601"
"script": "Route23_EventScript_EarthBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -262,7 +262,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 7,
"script": "Route23_EventScript_168601"
"script": "Route23_EventScript_EarthBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -271,7 +271,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 7,
"script": "Route23_EventScript_168601"
"script": "Route23_EventScript_EarthBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -280,7 +280,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 6,
"script": "Route23_EventScript_1685EC"
"script": "Route23_EventScript_VolcanoBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -289,7 +289,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 6,
"script": "Route23_EventScript_1685EC"
"script": "Route23_EventScript_VolcanoBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -298,7 +298,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 6,
"script": "Route23_EventScript_1685EC"
"script": "Route23_EventScript_VolcanoBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -307,7 +307,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 5,
"script": "Route23_EventScript_1685D7"
"script": "Route23_EventScript_MarshBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -316,7 +316,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 5,
"script": "Route23_EventScript_1685D7"
"script": "Route23_EventScript_MarshBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -325,7 +325,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 5,
"script": "Route23_EventScript_1685D7"
"script": "Route23_EventScript_MarshBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -334,7 +334,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 5,
"script": "Route23_EventScript_1685D7"
"script": "Route23_EventScript_MarshBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -343,7 +343,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 5,
"script": "Route23_EventScript_1685D7"
"script": "Route23_EventScript_MarshBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -352,7 +352,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 5,
"script": "Route23_EventScript_1685D7"
"script": "Route23_EventScript_MarshBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -361,7 +361,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 2,
"script": "Route23_EventScript_168598"
"script": "Route23_EventScript_ThunderBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -370,7 +370,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 2,
"script": "Route23_EventScript_168598"
"script": "Route23_EventScript_ThunderBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -379,7 +379,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 2,
"script": "Route23_EventScript_168598"
"script": "Route23_EventScript_ThunderBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -388,7 +388,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 3,
"script": "Route23_EventScript_1685AD"
"script": "Route23_EventScript_RainbowBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -397,7 +397,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 3,
"script": "Route23_EventScript_1685AD"
"script": "Route23_EventScript_RainbowBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -406,7 +406,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 3,
"script": "Route23_EventScript_1685AD"
"script": "Route23_EventScript_RainbowBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -415,7 +415,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 4,
"script": "Route23_EventScript_1685C2"
"script": "Route23_EventScript_SoulBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -424,7 +424,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 4,
"script": "Route23_EventScript_1685C2"
"script": "Route23_EventScript_SoulBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -433,7 +433,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 4,
"script": "Route23_EventScript_1685C2"
"script": "Route23_EventScript_SoulBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -442,7 +442,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 4,
"script": "Route23_EventScript_1685C2"
"script": "Route23_EventScript_SoulBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -451,7 +451,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 4,
"script": "Route23_EventScript_1685C2"
"script": "Route23_EventScript_SoulBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -460,7 +460,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 4,
"script": "Route23_EventScript_1685C2"
"script": "Route23_EventScript_SoulBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -469,7 +469,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 4,
"script": "Route23_EventScript_1685C2"
"script": "Route23_EventScript_SoulBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -478,7 +478,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 4,
"script": "Route23_EventScript_1685C2"
"script": "Route23_EventScript_SoulBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -487,7 +487,7 @@
"elevation": 1,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 4,
"script": "Route23_EventScript_1685C2"
"script": "Route23_EventScript_SoulBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -496,7 +496,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 1,
"script": "Route23_EventScript_168583"
"script": "Route23_EventScript_CascadeBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -505,7 +505,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 1,
"script": "Route23_EventScript_168583"
"script": "Route23_EventScript_CascadeBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -514,7 +514,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 1,
"script": "Route23_EventScript_168583"
"script": "Route23_EventScript_CascadeBadgeGuardTrigger"
},
{
"type": "trigger",
@@ -523,7 +523,7 @@
"elevation": 0,
"var": "VAR_MAP_SCENE_ROUTE23",
"var_value": 1,
"script": "Route23_EventScript_168583"
"script": "Route23_EventScript_CascadeBadgeGuardTrigger"
}
],
"bg_events": [
@@ -612,7 +612,7 @@
"x": 3,
"y": 31,
"elevation": 0,
"script": "Route23_EventScript_168616"
"script": "Route23_EventScript_VictoryRoadGateSign"
}
]
}
+44 -44
View File
@@ -11,118 +11,118 @@ Route23_OnTransition:: @ 81684F1
setvar VAR_MAP_SCENE_VICTORY_ROAD_3F, 0
end
Route23_EventScript_16850C:: @ 816850C
Route23_EventScript_CascadeBadgeGuard:: @ 816850C
lock
faceplayer
setvar VAR_TEMP_1, 2
getstdstring 0, 16
goto EventScript_1A786C
getstdstring 0, STDSTRING_CASCADE_BADGE
goto Route23_EventScript_BadgeGuard
end
Route23_EventScript_16851D:: @ 816851D
Route23_EventScript_ThunderBadgeGuard:: @ 816851D
lock
faceplayer
setvar VAR_TEMP_1, 3
getstdstring 0, 17
goto EventScript_1A786C
getstdstring 0, STDSTRING_THUNDER_BADGE
goto Route23_EventScript_BadgeGuard
end
Route23_EventScript_16852E:: @ 816852E
Route23_EventScript_RainbowBadgeGuard:: @ 816852E
lock
faceplayer
setvar VAR_TEMP_1, 4
getstdstring 0, 18
goto EventScript_1A786C
getstdstring 0, STDSTRING_RAINBOW_BADGE
goto Route23_EventScript_BadgeGuard
end
Route23_EventScript_16853F:: @ 816853F
Route23_EventScript_SoulBadgeGuard:: @ 816853F
lock
faceplayer
setvar VAR_TEMP_1, 5
getstdstring 0, 19
goto EventScript_1A786C
getstdstring 0, STDSTRING_SOUL_BADGE
goto Route23_EventScript_BadgeGuard
end
Route23_EventScript_168550:: @ 8168550
Route23_EventScript_MarshBadgeGuard:: @ 8168550
lock
faceplayer
setvar VAR_TEMP_1, 6
getstdstring 0, 20
goto EventScript_1A786C
getstdstring 0, STDSTRING_MARSH_BADGE
goto Route23_EventScript_BadgeGuard
end
Route23_EventScript_168561:: @ 8168561
Route23_EventScript_VolcanoBadgeGuard:: @ 8168561
lock
faceplayer
setvar VAR_TEMP_1, 7
getstdstring 0, 21
goto EventScript_1A786C
getstdstring 0, STDSTRING_VOLCANO_BADGE
goto Route23_EventScript_BadgeGuard
end
Route23_EventScript_168572:: @ 8168572
Route23_EventScript_EarthBadgeGuard:: @ 8168572
lock
faceplayer
setvar VAR_TEMP_1, 8
getstdstring 0, 22
goto EventScript_1A786C
getstdstring 0, STDSTRING_EARTH_BADGE
goto Route23_EventScript_BadgeGuard
end
Route23_EventScript_168583:: @ 8168583
Route23_EventScript_CascadeBadgeGuardTrigger:: @ 8168583
lockall
setvar VAR_TEMP_1, 2
setvar VAR_0x8009, 1
getstdstring 0, 16
goto EventScript_1A796E
getstdstring 0, STDSTRING_CASCADE_BADGE
goto Route23_EventScript_BadgeGuardTrigger
end
Route23_EventScript_168598:: @ 8168598
Route23_EventScript_ThunderBadgeGuardTrigger:: @ 8168598
lockall
setvar VAR_TEMP_1, 3
setvar VAR_0x8009, 2
getstdstring 0, 17
goto EventScript_1A796E
getstdstring 0, STDSTRING_THUNDER_BADGE
goto Route23_EventScript_BadgeGuardTrigger
end
Route23_EventScript_1685AD:: @ 81685AD
Route23_EventScript_RainbowBadgeGuardTrigger:: @ 81685AD
lockall
setvar VAR_TEMP_1, 4
setvar VAR_0x8009, 3
getstdstring 0, 18
goto EventScript_1A796E
getstdstring 0, STDSTRING_RAINBOW_BADGE
goto Route23_EventScript_BadgeGuardTrigger
end
Route23_EventScript_1685C2:: @ 81685C2
Route23_EventScript_SoulBadgeGuardTrigger:: @ 81685C2
lockall
setvar VAR_TEMP_1, 5
setvar VAR_0x8009, 4
getstdstring 0, 19
goto EventScript_1A796E
getstdstring 0, STDSTRING_SOUL_BADGE
goto Route23_EventScript_BadgeGuardTrigger
end
Route23_EventScript_1685D7:: @ 81685D7
Route23_EventScript_MarshBadgeGuardTrigger:: @ 81685D7
lockall
setvar VAR_TEMP_1, 6
setvar VAR_0x8009, 5
getstdstring 0, 20
goto EventScript_1A796E
getstdstring 0, STDSTRING_MARSH_BADGE
goto Route23_EventScript_BadgeGuardTrigger
end
Route23_EventScript_1685EC:: @ 81685EC
Route23_EventScript_VolcanoBadgeGuardTrigger:: @ 81685EC
lockall
setvar VAR_TEMP_1, 7
setvar VAR_0x8009, 6
getstdstring 0, 21
goto EventScript_1A796E
getstdstring 0, STDSTRING_VOLCANO_BADGE
goto Route23_EventScript_BadgeGuardTrigger
end
Route23_EventScript_168601:: @ 8168601
Route23_EventScript_EarthBadgeGuardTrigger:: @ 8168601
lockall
setvar VAR_TEMP_1, 8
setvar VAR_0x8009, 7
getstdstring 0, 22
goto EventScript_1A796E
getstdstring 0, STDSTRING_EARTH_BADGE
goto Route23_EventScript_BadgeGuardTrigger
end
Route23_EventScript_168616:: @ 8168616
msgbox gUnknown_8188C19, MSGBOX_SIGN
Route23_EventScript_VictoryRoadGateSign:: @ 8168616
msgbox Route23_Text_VictoryRoadGateSign, MSGBOX_SIGN
end
+1 -1
View File
@@ -1,4 +1,4 @@
gUnknown_8188C19:: @ 8188C19
Route23_Text_VictoryRoadGateSign:: @ 8188C19
.string "VICTORY ROAD GATE -\n"
.string "POKéMON LEAGUE$"
+1 -1
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route5_PokemonDayCare_EventScript_1BF398",
"script": "Route5_PokemonDayCare_EventScript_DaycareMan",
"flag": "0"
}
],
@@ -1,2 +1,4 @@
@ Handled by data/scripts/day_care.inc
Route5_PokemonDayCare_MapScripts:: @ 816F8FF
.byte 0
+60
View File
@@ -0,0 +1,60 @@
Route5_PokemonDayCare_Text_WantMeToRaiseMon:: @ 819DD66
.string "I run the DAY-CARE service.\p"
.string "Would you like me to raise one of\n"
.string "your POKéMON?$"
Route5_PokemonDayCare_Text_ComeAgain:: @ 819DDB2
.string "Come again.$"
Route5_PokemonDayCare_Text_WhichMonShouldIRaise:: @ 819DDBE
.string "Which POKéMON should I raise?$"
Route5_PokemonDayCare_Text_ComeAnytimeYouLike:: @ 819DDDC
.string "Fine.\n"
.string "Come anytime you like.$"
Route5_PokemonDayCare_Text_LookAfterMonForAWhile:: @ 819DDF9
.string "Fine, I'll look after your\n"
.string "{STR_VAR_1} for a while.$"
Route5_PokemonDayCare_Text_ComeSeeMeInAWhile:: @ 819DE24
.string "Come see me in a while.$"
Route5_PokemonDayCare_Text_MonNeedsToSpendMoreTime:: @ 819DE3C
.string "You're back already?\p"
.string "Your {STR_VAR_1} needs to spend\n"
.string "some more time with me.$"
Route5_PokemonDayCare_Text_OweMeXForMonsReturn:: @ 819DE80
.string "You owe me ¥{STR_VAR_2} for the return\n"
.string "of this POKéMON.$"
Route5_PokemonDayCare_Text_ThankYouHeresMon:: @ 819DEAF
.string "Thank you!\n"
.string "Here's your POKéMON.$"
Route5_PokemonDayCare_Text_PlayerGotMonBack:: @ 819DECF
.string "{PLAYER} got {STR_VAR_1} back\n"
.string "from the DAY-CARE MAN.$"
Route5_PokemonDayCare_Text_OnlyHaveOneMonWithYou:: @ 819DEF5
.string "Oh? You only have one POKéMON\n"
.string "with you.$"
Route5_PokemonDayCare_Text_WhatWillYouBattleWith:: @ 819DF1D
.string "If you leave me that POKéMON,\n"
.string "what will you battle with?$"
Route5_PokemonDayCare_Text_MonHasGrownByXLevels:: @ 819DF56
.string "Your {STR_VAR_1} has grown a lot.\n"
.string "Yes, quite a lot, I'd say.\p"
.string "Let me see…\n"
.string "By level, it's grown by {STR_VAR_2}.\p"
.string "Aren't I great?$"
Route5_PokemonDayCare_Text_YouveGotNoRoomForIt:: @ 819DFC2
.string "You can't take this POKéMON back\n"
.string "if you've got no room for it.$"
Route5_PokemonDayCare_Text_DontHaveEnoughMoney:: @ 819E001
.string "You don't have enough money.$"
-61
View File
@@ -1,64 +1,3 @@
Text_19DD66:: @ 819DD66
.string "I run the DAY-CARE service.\p"
.string "Would you like me to raise one of\n"
.string "your POKéMON?$"
Text_19DDB2:: @ 819DDB2
.string "Come again.$"
Text_19DDBE:: @ 819DDBE
.string "Which POKéMON should I raise?$"
Text_19DDDC:: @ 819DDDC
.string "Fine.\n"
.string "Come anytime you like.$"
Text_19DDF9:: @ 819DDF9
.string "Fine, I'll look after your\n"
.string "{STR_VAR_1} for a while.$"
Text_19DE24:: @ 819DE24
.string "Come see me in a while.$"
Text_19DE3C:: @ 819DE3C
.string "You're back already?\p"
.string "Your {STR_VAR_1} needs to spend\n"
.string "some more time with me.$"
Text_19DE80:: @ 819DE80
.string "You owe me ¥{STR_VAR_2} for the return\n"
.string "of this POKéMON.$"
Text_19DEAF:: @ 819DEAF
.string "Thank you!\n"
.string "Here's your POKéMON.$"
Text_19DECF:: @ 819DECF
.string "{PLAYER} got {STR_VAR_1} back\n"
.string "from the DAY-CARE MAN.$"
Text_19DEF5:: @ 819DEF5
.string "Oh? You only have one POKéMON\n"
.string "with you.$"
Text_19DF1D:: @ 819DF1D
.string "If you leave me that POKéMON,\n"
.string "what will you battle with?$"
Text_19DF56:: @ 819DF56
.string "Your {STR_VAR_1} has grown a lot.\n"
.string "Yes, quite a lot, I'd say.\p"
.string "Let me see…\n"
.string "By level, it's grown by {STR_VAR_2}.\p"
.string "Aren't I great?$"
Text_19DFC2:: @ 819DFC2
.string "You can't take this POKéMON back\n"
.string "if you've got no room for it.$"
Text_19E001:: @ 819E001
.string "You don't have enough money.$"
Text_19E01E:: @ 819E01E
.string "きみの\n"
.string "みてみるかね?$"
@@ -1,10 +0,0 @@
SafariZone_Building1_MapScripts:: @ 81623EB
.byte 0
SafariZone_Building1_EventScript_1623EC:: @ 81623EC
msgbox gUnknown_8177A5A, MSGBOX_NPC
end
SafariZone_Building1_EventScript_1623F5:: @ 81623F5
msgbox gUnknown_8177A82, MSGBOX_NPC
end
@@ -1,14 +0,0 @@
SafariZone_Building2_MapScripts:: @ 81623FE
.byte 0
SafariZone_Building2_EventScript_1623FF:: @ 81623FF
msgbox gUnknown_8177AE2, MSGBOX_NPC
end
SafariZone_Building2_EventScript_162408:: @ 8162408
msgbox gUnknown_8177AAE, MSGBOX_NPC
end
SafariZone_Building2_EventScript_162411:: @ 8162411
msgbox gUnknown_8177B16, MSGBOX_NPC
end
@@ -1,14 +0,0 @@
SafariZone_Building3_MapScripts:: @ 816241A
.byte 0
SafariZone_Building3_EventScript_16241B:: @ 816241B
msgbox gUnknown_8177BAB, MSGBOX_NPC
end
SafariZone_Building3_EventScript_162424:: @ 8162424
msgbox gUnknown_8177B38, MSGBOX_NPC
end
SafariZone_Building3_EventScript_16242D:: @ 816242D
msgbox gUnknown_8177BEC, MSGBOX_NPC
end
@@ -1,14 +0,0 @@
SafariZone_Building4_MapScripts:: @ 8162436
.byte 0
SafariZone_Building4_EventScript_162437:: @ 8162437
msgbox gUnknown_8177D39, MSGBOX_NPC
end
SafariZone_Building4_EventScript_162440:: @ 8162440
msgbox gUnknown_8177CEB, MSGBOX_NPC
end
SafariZone_Building4_EventScript_162449:: @ 8162449
msgbox gUnknown_8177D8B, MSGBOX_NPC
end
+4 -4
View File
@@ -116,7 +116,7 @@
"x": 29,
"y": 25,
"elevation": 0,
"dest_map": "MAP_SAFARI_ZONE_BUILDING1",
"dest_map": "MAP_SAFARI_ZONE_CENTER_REST_HOUSE",
"dest_warp_id": 1
}
],
@@ -127,14 +127,14 @@
"x": 30,
"y": 26,
"elevation": 0,
"script": "SafariZone_Center_EventScript_162361"
"script": "SafariZone_Center_EventScript_RestHouseSign"
},
{
"type": "bg_event_type_0",
"x": 25,
"y": 27,
"elevation": 0,
"script": "SafariZone_Center_EventScript_16236A"
"script": "SafariZone_Center_EventScript_TrainerTips"
},
{
"type": "hidden_item",
@@ -151,7 +151,7 @@
"x": 33,
"y": 20,
"elevation": 0,
"script": "SafariZone_Center_EventScript_162373"
"script": "SafariZone_Center_EventScript_AreaSign"
}
]
}
+6 -6
View File
@@ -6,14 +6,14 @@ SafariZone_Center_OnTransition:: @ 816235D
setworldmapflag FLAG_WORLD_MAP_SAFARI_ZONE_CENTER
end
SafariZone_Center_EventScript_162361:: @ 8162361
msgbox gUnknown_81777F2, MSGBOX_SIGN
SafariZone_Center_EventScript_RestHouseSign:: @ 8162361
msgbox SafariZone_Center_Text_RestHouse, MSGBOX_SIGN
end
SafariZone_Center_EventScript_16236A:: @ 816236A
msgbox gUnknown_81777FD, MSGBOX_SIGN
SafariZone_Center_EventScript_TrainerTips:: @ 816236A
msgbox SafariZone_Center_Text_PressStartToCheckTime, MSGBOX_SIGN
end
SafariZone_Center_EventScript_162373:: @ 8162373
msgbox gUnknown_817782F, MSGBOX_SIGN
SafariZone_Center_EventScript_AreaSign:: @ 8162373
msgbox SafariZone_Center_Text_CenterArea, MSGBOX_SIGN
end
+3 -3
View File
@@ -1,11 +1,11 @@
gUnknown_81777F2:: @ 81777F2
SafariZone_Center_Text_RestHouse:: @ 81777F2
.string "REST HOUSE$"
gUnknown_81777FD:: @ 81777FD
SafariZone_Center_Text_PressStartToCheckTime:: @ 81777FD
.string "TRAINER TIPS\p"
.string "Press START to check\n"
.string "remaining time.$"
gUnknown_817782F:: @ 817782F
SafariZone_Center_Text_CenterArea:: @ 817782F
.string "CENTER AREA$"
@@ -1,7 +1,7 @@
{
"id": "MAP_SAFARI_ZONE_BUILDING1",
"name": "SafariZone_Building1",
"layout": "LAYOUT_SAFARI_ZONE_BUILDING",
"id": "MAP_SAFARI_ZONE_CENTER_REST_HOUSE",
"name": "SafariZone_Center_RestHouse",
"layout": "LAYOUT_SAFARI_ZONE_REST_HOUSE",
"music": "MUS_SHINKA",
"region_map_section": "MAPSEC_KANTO_SAFARI_ZONE",
"requires_flash": false,
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SafariZone_Building1_EventScript_1623F5",
"script": "SafariZone_Center_RestHouse_EventScript_Scientist",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SafariZone_Building1_EventScript_1623EC",
"script": "SafariZone_Center_RestHouse_EventScript_Sara",
"flag": "0"
}
],
@@ -0,0 +1,10 @@
SafariZone_Center_RestHouse_MapScripts:: @ 81623EB
.byte 0
SafariZone_Center_RestHouse_EventScript_Sara:: @ 81623EC
msgbox SafariZone_Center_Text_WhereDidErikGo, MSGBOX_NPC
end
SafariZone_Center_RestHouse_EventScript_Scientist:: @ 81623F5
msgbox SafariZone_Center_Text_CatchingMonsAsGifts, MSGBOX_NPC
end
@@ -1,8 +1,8 @@
gUnknown_8177A5A:: @ 8177A5A
SafariZone_Center_Text_WhereDidErikGo:: @ 8177A5A
.string "SARA: Where did my boyfriend,\n"
.string "ERIK, go?$"
gUnknown_8177A82:: @ 8177A82
SafariZone_Center_Text_CatchingMonsAsGifts:: @ 8177A82
.string "I'm catching POKéMON to take home\n"
.string "as gifts.$"
+4 -4
View File
@@ -113,7 +113,7 @@
"x": 40,
"y": 14,
"elevation": 0,
"dest_map": "MAP_SAFARI_ZONE_BUILDING2",
"dest_map": "MAP_SAFARI_ZONE_EAST_REST_HOUSE",
"dest_warp_id": 1
}
],
@@ -124,21 +124,21 @@
"x": 18,
"y": 27,
"elevation": 0,
"script": "SafariZone_East_EventScript_16238F"
"script": "SafariZone_East_EventScript_AreaSign"
},
{
"type": "bg_event_type_0",
"x": 43,
"y": 15,
"elevation": 0,
"script": "SafariZone_East_EventScript_16237D"
"script": "SafariZone_East_EventScript_RestHouseSign"
},
{
"type": "bg_event_type_0",
"x": 17,
"y": 8,
"elevation": 0,
"script": "SafariZone_East_EventScript_162386"
"script": "SafariZone_East_EventScript_TrainerTips"
}
]
}
+6 -6
View File
@@ -1,14 +1,14 @@
SafariZone_East_MapScripts:: @ 816237C
.byte 0
SafariZone_East_EventScript_16237D:: @ 816237D
msgbox gUnknown_817783B, MSGBOX_SIGN
SafariZone_East_EventScript_RestHouseSign:: @ 816237D
msgbox SafariZone_East_Text_RestHouse, MSGBOX_SIGN
end
SafariZone_East_EventScript_162386:: @ 8162386
msgbox gUnknown_8177846, MSGBOX_SIGN
SafariZone_East_EventScript_TrainerTips:: @ 8162386
msgbox SafariZone_East_Text_TimeDeclinesOnlyWhileYouWalk, MSGBOX_SIGN
end
SafariZone_East_EventScript_16238F:: @ 816238F
msgbox gUnknown_8177884, MSGBOX_SIGN
SafariZone_East_EventScript_AreaSign:: @ 816238F
msgbox SafariZone_East_Text_AreaSign, MSGBOX_SIGN
end
+3 -3
View File
@@ -1,12 +1,12 @@
gUnknown_817783B:: @ 817783B
SafariZone_East_Text_RestHouse:: @ 817783B
.string "REST HOUSE$"
gUnknown_8177846:: @ 8177846
SafariZone_East_Text_TimeDeclinesOnlyWhileYouWalk:: @ 8177846
.string "TRAINER TIPS\p"
.string "The remaining time declines only\n"
.string "while you walk.$"
gUnknown_8177884:: @ 8177884
SafariZone_East_Text_AreaSign:: @ 8177884
.string "AREA 1\n"
.string "WEST: CENTER AREA$"

Some files were not shown because too many files have changed in this diff Show More