summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asm/field_control_avatar.s8
-rw-r--r--data/event_scripts.s1584
-rw-r--r--data/maps/CeladonCity_DepartmentStore_2F/scripts.inc4
-rw-r--r--data/maps/CeladonCity_DepartmentStore_4F/scripts.inc2
-rw-r--r--data/maps/CeladonCity_DepartmentStore_5F/scripts.inc4
-rw-r--r--data/maps/CeruleanCity_Mart/scripts.inc2
-rw-r--r--data/maps/CinnabarIsland_Mart/scripts.inc2
-rw-r--r--data/maps/FourIsland_Mart/scripts.inc2
-rw-r--r--data/maps/FuchsiaCity_Mart/scripts.inc2
-rw-r--r--data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc2
-rw-r--r--data/maps/LavenderTown_Mart/scripts.inc2
-rw-r--r--data/maps/OneIsland_PokemonCenter_1F/text.inc2
-rw-r--r--data/maps/PewterCity_Mart/scripts.inc2
-rw-r--r--data/maps/SaffronCity_Mart/scripts.inc2
-rw-r--r--data/maps/SevenIsland_Mart/scripts.inc2
-rw-r--r--data/maps/SevenIsland_TrainerTower_Lobby/scripts.inc2
-rw-r--r--data/maps/SixIsland_Mart/scripts.inc2
-rw-r--r--data/maps/ThreeIsland_Mart/scripts.inc2
-rw-r--r--data/maps/TwoIsland/scripts.inc2
-rw-r--r--data/maps/VermilionCity_Mart/scripts.inc2
-rw-r--r--data/maps/ViridianCity_Mart/scripts.inc2
-rw-r--r--data/scripts/obtain_item.inc248
-rw-r--r--data/scripts/pc.inc108
-rw-r--r--data/scripts/silphco_doors.inc585
-rw-r--r--data/scripts/test.inc27
-rw-r--r--data/text/braille.inc116
-rw-r--r--data/text/new_game_intro.inc234
-rw-r--r--data/text/obtain_item.inc47
-rw-r--r--data/text/poke_dude.inc155
-rw-r--r--data/text/save.inc26
-rw-r--r--include/event_scripts.h1
-rw-r--r--include/strings.h2
-rw-r--r--src/script_menu.c2
33 files changed, 1594 insertions, 1591 deletions
diff --git a/asm/field_control_avatar.s b/asm/field_control_avatar.s
index 3e76d76e2..a2f09c15a 100644
--- a/asm/field_control_avatar.s
+++ b/asm/field_control_avatar.s
@@ -801,7 +801,7 @@ _0806CEB8:
ldr r0, _0806CED8 @ =gUnknown_8168CE4
cmp r4, r0
beq _0806CECA
- ldr r0, _0806CEDC @ =gUnknown_81A6955
+ ldr r0, _0806CEDC @ =EventScript_PC
cmp r4, r0
beq _0806CECA
movs r0, 0x5
@@ -816,7 +816,7 @@ _0806CED2:
bx r1
.align 2, 0
_0806CED8: .4byte gUnknown_8168CE4
-_0806CEDC: .4byte gUnknown_81A6955
+_0806CEDC: .4byte EventScript_PC
thumb_func_end sub_806CEA0
thumb_func_start TryGetScriptOnPressingA
@@ -1219,11 +1219,11 @@ sub_806D1F0: @ 806D1F0
lsrs r0, 24
cmp r0, 0x1
bne _0806D218
- ldr r0, _0806D214 @ =gUnknown_81A6955
+ ldr r0, _0806D214 @ =EventScript_PC
b _0806D53E
.align 2, 0
_0806D210: .4byte gSpecialVar_Facing
-_0806D214: .4byte gUnknown_81A6955
+_0806D214: .4byte EventScript_PC
_0806D218:
adds r0, r4, 0
bl MetatileBehavior_IsRegionMap
diff --git a/data/event_scripts.s b/data/event_scripts.s
index 10b6ae676..1796bc138 100644
--- a/data/event_scripts.s
+++ b/data/event_scripts.s
@@ -860,19 +860,19 @@ Text_WeHopeToSeeYouAgain2:: @ 81A505B
Text_BootedUpPC:: @ 81A5075
.string "{PLAYER} booted up the PC.$"
-gUnknown_81A508A:: @ 81A508A
+Text_AccessWhichPC:: @ 81A508A
.string "Which PC should be accessed?$"
-Text_1A50A7:: @ 81A50A7
+Text_AccessedSomeonesPC:: @ 81A50A7
.string "Accessed Someone's PC.$"
-Text_1A50BE:: @ 81A50BE
+Text_OpenedPkmnStorage:: @ 81A50BE
.string "POKéMON Storage System opened.$"
-Text_1A50DD:: @ 81A50DD
+Text_AccessedPlayersPC:: @ 81A50DD
.string "Accessed {PLAYER}'s PC.$"
-Text_1A50EF:: @ 81A50EF
+Text_AccessedBillsPC:: @ 81A50EF
.string "Accessed BILL's PC.$"
Text_1A5103:: @ 81A5103
@@ -898,53 +898,7 @@ Text_1A51D0:: @ 81A51D0
.string "{PLAYER}{KUN}, welcome!\p"
.string "What can I do for you?$"
-Text_ObtainedTheX:: @ 81A51F6
- .string "Obtained the {STR_VAR_2}!$"
-
-Text_BagIsFull:: @ 81A5207
- .string "The BAG is full…$"
-
-Text_PutItemAway:: @ 81A5218
- .string "{PLAYER} put the {STR_VAR_2}\n"
- .string "in the {STR_VAR_3}.$"
-
-Text_FoundOneItem:: @ 81A5231
- .string "{PLAYER} found one {STR_VAR_2}!$"
-
-Text_TooBadBagFull:: @ 81A5242
- .string "Too bad!\n"
- .string "The BAG is full…$"
-
-Text_FoundXCoins:: @ 81A525C
- .string "{PLAYER} found\n"
- .string "{STR_VAR_1} {STR_VAR_2}!$"
-
-Text_PutCoinsAwayInCoinCase:: @ 81A526C
- .string "{PLAYER} put the COINS away in\n"
- .string "the COIN CASE.$"
-
-Text_CoinCaseIsFull:: @ 81A5294
- .string "Too bad!\n"
- .string "The COIN CASE is full…$"
-
-Text_NothingToPutThemIn:: @ 81A52B4
- .string "Too bad!\n"
- .string "There's nothing to put them in…$"
-
-Text_FoundXItems:: @ 81A52DD
- .string "{PLAYER} found\n"
- .string "{STR_VAR_1} {STR_VAR_2}(s)!$"
-
-Text_1A52F0:: @ 81A52F0
- .string "Obtained the {STR_VAR_2}!$"
-
-Text_1A5301:: @ 81A5301
- .string "Too bad! There's no room left for\n"
- .string "another {STR_VAR_2}…$"
-
-gUnknown_81A532F:: @ 81A532F
- .string "The {STR_VAR_2} was transferred\n"
- .string "to the PC.$"
+ .include "data/text/obtain_item.inc"
Text_1A5351:: @ 81A5351
.string "じゅんびちゅうです!$"
@@ -1091,16 +1045,16 @@ Text_ItNeedsCardKey:: @ 81A5BAD
.string "No!\n"
.string "It needs a CARD KEY!$"
-Text_1A5BC6:: @ 81A5BC6
+Text_AccessedProfOaksPC:: @ 81A5BC6
.string "Accessed PROF. OAK's PC…\p"
.string "Accessed the POKéDEX Rating\n"
.string "System…$"
-Text_1A5C03:: @ 81A5C03
+Text_HavePokedexRated:: @ 81A5C03
.string "Would you like to have your\n"
.string "POKéDEX rated?$"
-Text_1A5C2E:: @ 81A5C2E
+Text_ClosedLinkToProfOaksPC:: @ 81A5C2E
.string "Closed link to PROF. OAK's PC.$"
Text_1A5C4D:: @ 81A5C4D
@@ -1223,11 +1177,11 @@ Text_1A61E5:: @ 81A61E5
.string "POKéMON!\p"
.string "{PLAYER} whited out!$"
-Text_1A6211:: @ 81A6211
+Text_MayIHelpYou:: @ 81A6211
.string "Hi, there!\n"
.string "May I help you?$"
-Text_1A622C:: @ 81A622C
+Text_FillOutQuestionnaire:: @ 81A622C
.string "There is a questionnaire.\n"
.string "Would you like to fill it out?$"
@@ -1372,364 +1326,8 @@ EventScript_1A6551:: @ 81A6551
return
.include "data/scripts/pkmn_center_nurse.inc"
-
-EventScript_1A666F:: @ 81A666F
- copyvar VAR_MON_BOX_POS, VAR_MON_BOX_ID
- return
-
-EventScript_1A6675:: @ 81A6675
- copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS
- return
-
-Std_ObtainItem:: @ 81A667B
- copyvar VAR_MON_BOX_POS, VAR_MON_BOX_ID
- textcolor 3
- additem VAR_0x8000, VAR_0x8001
- copyvar VAR_0x8007, VAR_RESULT
- call EventScript_1A6697
- copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS
- return
-
-EventScript_1A6697:: @ 81A6697
- bufferitemnameplural 1, VAR_0x8000, VAR_0x8001
- checkitemtype VAR_0x8000
- call EventScript_1A66BC
- compare VAR_0x8007, 1
- call_if eq, EventScript_1A6749
- compare VAR_0x8007, 0
- call_if eq, EventScript_1A675E
- return
-
-EventScript_1A66BC:: @ 81A66BC
- switch VAR_RESULT
- case POCKET_ITEMS, EventScript_1A66F9
- case POCKET_KEY_ITEMS, EventScript_1A6709
- case POCKET_POKE_BALLS, EventScript_1A6719
- case POCKET_TM_CASE, EventScript_1A6729
- case POCKET_BERRY_POUCH, EventScript_1A6739
- end
-
-EventScript_1A66F9:: @ 81A66F9
- getstdstring 2, 24
- compare VAR_0x8007, 1
- call_if eq, EventScript_1A6764
- return
-
-EventScript_1A6709:: @ 81A6709
- getstdstring 2, 25
- compare VAR_0x8007, 1
- call_if eq, EventScript_1A6764
- return
-
-EventScript_1A6719:: @ 81A6719
- getstdstring 2, 26
- compare VAR_0x8007, 1
- call_if eq, EventScript_1A6764
- return
-
-EventScript_1A6729:: @ 81A6729
- getstdstring 2, 27
- compare VAR_0x8007, 1
- call_if eq, EventScript_1A6768
- return
-
-EventScript_1A6739:: @ 81A6739
- getstdstring 2, 28
- compare VAR_0x8007, 1
- call_if eq, EventScript_1A6764
- return
-
-EventScript_1A6749:: @ 81A6749
- message Text_ObtainedTheX
- waitfanfare
- waitmessage
- msgbox Text_PutItemAway
- setvar VAR_RESULT, 1
- return
-
-EventScript_1A675E:: @ 81A675E
- setvar VAR_RESULT, 0
- return
-
-EventScript_1A6764:: @ 81A6764
- playfanfare MUS_FANFA1
- return
-
-EventScript_1A6768:: @ 81A6768
- playfanfare MUS_FANFA1
- return
-
-Std_ObtainDecoration:: @ 81A676C
- adddecor VAR_0x8000
- copyvar VAR_0x8007, VAR_RESULT
- call EventScript_1A677A
- return
-
-EventScript_1A677A:: @ 81A677A
- getdecorname 1, VAR_0x8000
- compare VAR_0x8007, 1
- call_if eq, EventScript_1A6795
- compare VAR_0x8007, 0
- call_if eq, EventScript_1A67AD
- return
-
-EventScript_1A6795:: @ 81A6795
- playfanfare MUS_FANFA4
- message Text_1A52F0
- waitfanfare
- waitmessage
- msgbox gUnknown_81A532F
- setvar VAR_RESULT, 1
- return
-
-EventScript_1A67AD:: @ 81A67AD
- setvar VAR_RESULT, 0
- return
-
-Std_FindItem:: @ 81A67B3
- lock
- faceplayer
- waitse
- copyvar VAR_0x8004, VAR_0x8000
- copyvar VAR_0x8005, VAR_0x8001
- checkitemspace VAR_0x8000, VAR_0x8001
- copyvar VAR_0x8007, VAR_RESULT
- getitemname 1, VAR_0x8000
- checkitemtype VAR_0x8000
- call EventScript_1A66BC
- compare VAR_0x8007, 1
- call_if eq, EventScript_1A67EE
- compare VAR_0x8007, 0
- call_if eq, EventScript_1A682D
- release
- return
-
-EventScript_1A67EE:: @ 81A67EE
- removeobject VAR_LAST_TALKED
- additem VAR_0x8004, VAR_0x8005
- specialvar VAR_RESULT, Special_ItemIsTM_GetMoveName
- copyvar VAR_0x8008, VAR_RESULT
- compare VAR_0x8008, 1
- call_if eq, EventScript_1A6821
- compare VAR_0x8008, 0
- call_if eq, EventScript_1A6827
- waitfanfare
- waitmessage
- msgbox Text_PutItemAway
- return
-
-EventScript_1A6821:: @ 81A6821
- message Text_1A63E8
- return
-
-EventScript_1A6827:: @ 81A6827
- message Text_FoundOneItem
- return
-
-EventScript_1A682D:: @ 81A682D
- msgbox Text_ObtainedTheX
- msgbox Text_TooBadBagFull
- setvar VAR_RESULT, 0
- return
-
-EventScript_PickUpHiddenItem:: @ 81A6843
- lockall
- textcolor 3
- waitse
- compare VAR_0x8005, 0
- goto_if eq, EventScript_PickUpHiddenCoins
- call EventScript_GiveItem
- compare VAR_0x8007, 1
- goto_if eq, EventScript_ItemInPocketMessage
- compare VAR_0x8007, 0
- goto_if eq, EventScript_BagIsFullMessage
- end
-
-EventScript_GiveItem::
- additem VAR_0x8005, VAR_0x8006
- copyvar VAR_0x8007, VAR_RESULT
- getitemname 1, VAR_0x8005
- checkitemtype VAR_0x8005
- call EventScript_1A66BC
- return
-
-EventScript_ItemInPocketMessage::
- compare VAR_0x8006, 1
- call_if eq, EventScript_FoundSingleItemMessage
- compare VAR_0x8006, 1
- call_if ne, EventScript_FoundMultipleItemsMessage
- waitfanfare
- waitmessage
- msgbox Text_PutItemAway
- special Special_SetHiddenItemFlag
- releaseall
- end
-
-EventScript_FoundSingleItemMessage::
- message Text_FoundOneItem
- return
-
-EventScript_FoundCoinsMessage::
- getnumberstring 0, VAR_0x8006
- message Text_FoundXCoins
- return
-
-EventScript_FoundMultipleItemsMessage::
- getnumberstring 0, VAR_0x8006
- message Text_FoundXItems
- return
-
-EventScript_BagIsFullMessage::
- msgbox Text_FoundOneItem
- msgbox Text_TooBadBagFull
- setvar VAR_RESULT, 0
- releaseall
- end
-
-EventScript_PickUpHiddenCoins::
- checkflag FLAG_GOT_COIN_CASE
- goto_if FALSE, EventScript_HiddenCoinsButNoCoinCase
- checkcoins VAR_RESULT
- specialvar VAR_RESULT, Special_CheckAddCoins
- compare VAR_RESULT, 0
- goto_if eq, EventScript_HiddenCoinsButTheCoinCaseIsFull
- givecoins VAR_0x8006
- getstdstring 1, 0x17
- call EventScript_1A6764
- call EventScript_FoundCoinsMessage
- waitfanfare
- waitmessage
- msgbox Text_PutCoinsAwayInCoinCase
- special Special_SetHiddenItemFlag
- releaseall
- end
-
-EventScript_HiddenCoinsButTheCoinCaseIsFull::
- getnumberstring 0, VAR_0x8006
- getstdstring 1, 0x17
- msgbox Text_FoundXCoins
- msgbox Text_CoinCaseIsFull
- setvar VAR_RESULT, 0
- releaseall
- end
-
-EventScript_HiddenCoinsButNoCoinCase::
- getnumberstring 0, VAR_0x8006
- getstdstring 1, 0x17
- msgbox Text_FoundXCoins
- msgbox Text_NothingToPutThemIn
- setvar VAR_RESULT, 0
- releaseall
- end
-
-gUnknown_81A6955:: @ 81A6955
- special sub_8110AB4
- compare VAR_RESULT, 2
- goto_if eq, EventScript_1A7AE0
- lockall
- checkflag FLAG_SYS_PC_STORAGE_DISABLED
- goto_if TRUE, EventScript_1A698E
- setvar VAR_0x8004, 27
- special Special_SetSomeVariable
- setvar VAR_0x8004, 0
- special Special_AnimatePcTurnOn
- playse SE_PC_ON
- msgbox Text_BootedUpPC
- goto EventScript_1A6998
- end
-
-EventScript_1A698E:: @ 81A698E
- msgbox Text_1A1390
- releaseall
- end
-
-EventScript_1A6998:: @ 81A6998
- message gUnknown_81A508A
- waitmessage
- special ScrSpecial_CreatePCMenu
- waitstate
- goto EventScript_1A69A8
- end
-
-EventScript_1A69A8:: @ 81A69A8
- switch VAR_RESULT
- case 0, EventScript_1A6A05
- case 1, EventScript_1A69F0
- case 2, EventScript_1A6A7A
- case 3, EventScript_1A6A56
- case 4, EventScript_1A6A46
- case SCR_MENU_CANCEL, EventScript_1A6A46
- end
-
-EventScript_1A69F0:: @ 81A69F0
- playse SE_PC_LOGIN
- msgbox Text_1A50DD
- special PlayerPC
- waitstate
- goto EventScript_1A6998
- end
-
-EventScript_1A6A05:: @ 81A6A05
- playse SE_PC_LOGIN
- checkflag FLAG_SYS_NOT_SOMEONES_PC
- call_if FALSE, EventScript_1A6A34
- checkflag FLAG_SYS_NOT_SOMEONES_PC
- call_if TRUE, EventScript_1A6A3D
- msgbox Text_1A50BE
- special ShowPokemonStorageSystem
- waitstate
- setvar VAR_0x8004, 27
- special Special_SetSomeVariable
- goto EventScript_1A6998
- end
-
-EventScript_1A6A34:: @ 81A6A34
- msgbox Text_1A50A7
- return
-
-EventScript_1A6A3D:: @ 81A6A3D
- msgbox Text_1A50EF
- return
-
-EventScript_1A6A46:: @ 81A6A46
- setvar VAR_0x8004, 0
- playse SE_PC_OFF
- special Special_AnimatePcTurnOff
- special sub_812B35C
- releaseall
- end
-
-EventScript_1A6A56:: @ 81A6A56
- checkflag FLAG_SYS_GAME_CLEAR
- goto_if FALSE, EventScript_1A6A46
- playse SE_PC_LOGIN
- setvar VAR_0x8004, 31
- special HelpSystem_BackupSomeVariable
- special Special_SetSomeVariable
- special HallOfFamePCBeginFade
- waitstate
- special HelpSystem_RestoreSomeVariable
- goto EventScript_1A69A8
- end
-
-EventScript_1A6A7A:: @ 81A6A7A
- checkflag FLAG_SYS_POKEDEX_GET
- goto_if FALSE, EventScript_1A6A46
- playse SE_PC_LOGIN
- msgbox Text_1A5BC6
- msgbox Text_1A5C03, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if eq, EventScript_1A6AB2
- setflag FLAG_OAKS_RATING_IS_VIA_PC
- call EventScript_1A73E0
- clearflag FLAG_OAKS_RATING_IS_VIA_PC
- goto EventScript_1A6AB2
- end
-
-EventScript_1A6AB2:: @ 81A6AB2
- msgbox Text_1A5C2E
- goto EventScript_1A6998
- end
+ .include "data/scripts/obtain_item.inc"
+ .include "data/scripts/pc.inc"
EventScript_1A6AC0:: @ 81A6AC0
fadescreen 1
@@ -2231,7 +1829,7 @@ gUnknown_81A76F9:: @ 81A76F9
gUnknown_81A7702:: @ 81A7702
lockall
textcolor 3
- msgbox Text_1A622C, MSGBOX_YESNO
+ msgbox Text_FillOutQuestionnaire, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if eq, EventScript_1A778A
setvar VAR_0x8004, 14
@@ -2791,591 +2389,7 @@ EventScript_1A80FE:: @ 81A80FE
releaseall
end
-EventScript_NeedCardKey:: @ 81A8135
- msgbox Text_ItNeedsCardKey
- releaseall
- end
-
-EventScript_DoorUnlocked:: @ 81A813F
- msgbox Text_TheDoorIsOpen
- releaseall
- end
-
-EventScript_Close2FDoor1:: @ 81A8149
- setmetatile 5, 8, 944, 1
- setmetatile 6, 8, 945, 1
- setmetatile 5, 9, 952, 1
- setmetatile 6, 9, 953, 1
- setmetatile 6, 10, 821, 0
- return
-
-EventScript_Close2FDoor2:: @ 81A8177
- setmetatile 5, 15, 944, 1
- setmetatile 6, 15, 945, 1
- setmetatile 5, 16, 952, 1
- setmetatile 6, 16, 953, 1
- setmetatile 6, 17, 821, 0
- return
-
-EventScript_Close3FDoor1:: @ 81A81A5
- setmetatile 9, 11, 960, 1
- setmetatile 10, 11, 961, 1
- setmetatile 9, 12, 962, 1
- setmetatile 10, 12, 963, 1
- setmetatile 9, 13, 964, 1
- setmetatile 10, 13, 965, 1
- return
-
-EventScript_Close3FDoor2:: @ 81A81DC
- setmetatile 20, 11, 960, 1
- setmetatile 21, 11, 961, 1
- setmetatile 20, 12, 962, 1
- setmetatile 21, 12, 963, 1
- setmetatile 20, 13, 964, 1
- setmetatile 21, 13, 965, 1
- return
-
-EventScript_Close4FDoor1:: @ 81A8213
- setmetatile 3, 16, 944, 1
- setmetatile 4, 16, 945, 1
- setmetatile 3, 17, 952, 1
- setmetatile 4, 17, 953, 1
- setmetatile 4, 18, 821, 0
- return
-
-EventScript_Close4FDoor2:: @ 81A8241
- setmetatile 14, 11, 944, 1
- setmetatile 15, 11, 945, 1
- setmetatile 14, 12, 952, 1
- setmetatile 15, 12, 953, 1
- setmetatile 15, 13, 821, 0
- return
-
-EventScript_Close5FDoor1:: @ 81A826F
- setmetatile 7, 8, 960, 1
- setmetatile 8, 8, 961, 1
- setmetatile 7, 9, 962, 1
- setmetatile 8, 9, 963, 1
- setmetatile 7, 10, 964, 1
- setmetatile 8, 10, 965, 1
- return
-
-EventScript_Close5FDoor2:: @ 81A82A6
- setmetatile 7, 17, 960, 1
- setmetatile 8, 17, 961, 1
- setmetatile 7, 18, 962, 1
- setmetatile 8, 18, 963, 1
- setmetatile 7, 19, 964, 1
- setmetatile 8, 19, 965, 1
- return
-
-EventScript_Close5FDoor3:: @ 81A82DD
- setmetatile 18, 12, 960, 1
- setmetatile 19, 12, 961, 1
- setmetatile 18, 13, 962, 1
- setmetatile 19, 13, 963, 1
- setmetatile 18, 14, 964, 1
- setmetatile 19, 14, 965, 1
- return
-
-EventScript_Close6FDoor:: @ 81A8314
- setmetatile 5, 14, 960, 1
- setmetatile 6, 14, 961, 1
- setmetatile 5, 15, 962, 1
- setmetatile 6, 15, 963, 1
- setmetatile 5, 16, 964, 1
- setmetatile 6, 16, 965, 1
- return
-
-EventScript_Close7FDoor1:: @ 81A834B
- setmetatile 11, 8, 944, 1
- setmetatile 12, 8, 945, 1
- setmetatile 11, 9, 952, 1
- setmetatile 12, 9, 953, 1
- setmetatile 12, 10, 821, 0
- return
-
-EventScript_Close7FDoor2:: @ 81A8379
- setmetatile 24, 7, 944, 1
- setmetatile 25, 7, 945, 1
- setmetatile 24, 8, 952, 1
- setmetatile 25, 8, 953, 1
- setmetatile 25, 9, 821, 0
- return
-
-EventScript_Close7FDoor3:: @ 81A83A7
- setmetatile 25, 13, 944, 1
- setmetatile 26, 13, 945, 1
- setmetatile 25, 14, 952, 1
- setmetatile 26, 14, 953, 1
- setmetatile 26, 15, 821, 0
- return
-
-EventScript_Close8FDoor:: @ 81A83D5
- setmetatile 5, 9, 960, 1
- setmetatile 6, 9, 961, 1
- setmetatile 5, 10, 962, 1
- setmetatile 6, 10, 963, 1
- setmetatile 5, 11, 964, 1
- setmetatile 6, 11, 965, 1
- return
-
-EventScript_Close9FDoor1:: @ 81A840C
- setmetatile 2, 9, 960, 1
- setmetatile 3, 9, 961, 1
- setmetatile 2, 10, 962, 1
- setmetatile 3, 10, 963, 1
- setmetatile 2, 11, 964, 1
- setmetatile 3, 11, 965, 1
- return
-
-EventScript_Close9FDoor2:: @ 81A8443
- setmetatile 12, 15, 960, 1
- setmetatile 13, 15, 961, 1
- setmetatile 12, 16, 962, 1
- setmetatile 13, 16, 963, 1
- setmetatile 12, 17, 964, 1
- setmetatile 13, 17, 965, 1
- return
-
-EventScript_Close9FDoor3:: @ 81A847A
- setmetatile 21, 6, 944, 1
- setmetatile 22, 6, 945, 1
- setmetatile 21, 7, 952, 1
- setmetatile 22, 7, 953, 1
- setmetatile 22, 8, 821, 0
- return
-
-EventScript_Close9FDoor4:: @ 81A84A8
- setmetatile 21, 12, 944, 1
- setmetatile 22, 12, 945, 1
- setmetatile 21, 13, 952, 1
- setmetatile 22, 13, 953, 1
- setmetatile 22, 14, 821, 0
- return
-
-EventScript_Close10FDoor:: @ 81A84D6
- setmetatile 12, 11, 944, 1
- setmetatile 13, 11, 945, 1
- setmetatile 12, 12, 952, 1
- setmetatile 13, 12, 953, 1
- setmetatile 13, 13, 821, 0
- return
-
-EventScript_Close11FDoor:: @ 81A8504
- setmetatile 5, 16, 944, 1
- setmetatile 6, 16, 945, 1
- setmetatile 5, 17, 952, 1
- setmetatile 6, 17, 953, 1
- setmetatile 6, 18, 821, 0
- return
-
-EventScript_Open2FDoor1:: @ 81A8532
- setmetatile 5, 8, 821, 0
- setmetatile 6, 8, 820, 0
- setmetatile 5, 9, 821, 0
- setmetatile 6, 9, 820, 0
- setmetatile 6, 10, 820, 0
- return
-
-EventScript_Open2FDoor2:: @ 81A8560
- setmetatile 5, 15, 821, 0
- setmetatile 6, 15, 820, 0
- setmetatile 5, 16, 821, 0
- setmetatile 6, 16, 820, 0
- setmetatile 6, 17, 820, 0
- return
-
-EventScript_Open3FDoor1:: @ 81A858E
- setmetatile 9, 11, 839, 1
- setmetatile 10, 11, 838, 1
- setmetatile 9, 12, 821, 0
- setmetatile 10, 12, 821, 0
- setmetatile 9, 13, 825, 0
- setmetatile 10, 13, 826, 0
- return
-
-EventScript_Open3FDoor2:: @ 81A85C5
- setmetatile 20, 11, 839, 1
- setmetatile 21, 11, 838, 1
- setmetatile 20, 12, 821, 0
- setmetatile 21, 12, 821, 0
- setmetatile 20, 13, 825, 0
- setmetatile 21, 13, 826, 0
- return
-
-EventScript_Open4FDoor1:: @ 81A85FC
- setmetatile 3, 16, 821, 0
- setmetatile 4, 16, 820, 0
- setmetatile 3, 17, 821, 0
- setmetatile 4, 17, 820, 0
- setmetatile 4, 18, 820, 0
- return
-
-EventScript_Open4FDoor2:: @ 81A862A
- setmetatile 14, 11, 821, 0
- setmetatile 15, 11, 820, 0
- setmetatile 14, 12, 821, 0
- setmetatile 15, 12, 820, 0
- setmetatile 15, 13, 820, 0
- return
-
-EventScript_Open5FDoor1:: @ 81A8658
- setmetatile 7, 8, 839, 1
- setmetatile 8, 8, 838, 1
- setmetatile 7, 9, 821, 0
- setmetatile 8, 9, 821, 0
- setmetatile 7, 10, 825, 0
- setmetatile 8, 10, 826, 0
- return
-
-EventScript_Open5FDoor2:: @ 81A868F
- setmetatile 7, 17, 839, 1
- setmetatile 8, 17, 838, 1
- setmetatile 7, 18, 821, 0
- setmetatile 8, 18, 821, 0
- setmetatile 7, 19, 825, 0
- setmetatile 8, 19, 826, 0
- return
-
-EventScript_Open5FDoor3:: @ 81A86C6
- setmetatile 18, 12, 839, 1
- setmetatile 19, 12, 838, 1
- setmetatile 18, 13, 821, 0
- setmetatile 19, 13, 821, 0
- setmetatile 18, 14, 825, 0
- setmetatile 19, 14, 826, 0
- return
-
-EventScript_Open6FDoor:: @ 81A86FD
- setmetatile 5, 14, 839, 1
- setmetatile 6, 14, 838, 1
- setmetatile 5, 15, 821, 0
- setmetatile 6, 15, 821, 0
- setmetatile 5, 16, 825, 0
- setmetatile 6, 16, 826, 0
- return
-
-EventScript_Open7FDoor1:: @ 81A8734
- setmetatile 11, 8, 821, 0
- setmetatile 12, 8, 820, 0
- setmetatile 11, 9, 821, 0
- setmetatile 12, 9, 820, 0
- setmetatile 12, 10, 820, 0
- return
-
-EventScript_Open7FDoor2:: @ 81A8762
- setmetatile 24, 7, 821, 0
- setmetatile 25, 7, 820, 0
- setmetatile 24, 8, 821, 0
- setmetatile 25, 8, 820, 0
- setmetatile 25, 9, 820, 0
- return
-
-EventScript_Open7FDoor3:: @ 81A8790
- setmetatile 25, 13, 821, 0
- setmetatile 26, 13, 820, 0
- setmetatile 25, 14, 821, 0
- setmetatile 26, 14, 820, 0
- setmetatile 26, 15, 820, 0
- return
-
-EventScript_Open8FDoor:: @ 81A87BE
- setmetatile 5, 9, 839, 1
- setmetatile 6, 9, 838, 1
- setmetatile 5, 10, 821, 0
- setmetatile 6, 10, 821, 0
- setmetatile 5, 11, 825, 0
- setmetatile 6, 11, 826, 0
- return
-
-EventScript_Open9FDoor1:: @ 81A87F5
- setmetatile 2, 9, 839, 1
- setmetatile 3, 9, 838, 1
- setmetatile 2, 10, 821, 0
- setmetatile 3, 10, 821, 0
- setmetatile 2, 11, 825, 0
- setmetatile 3, 11, 826, 0
- return
-
-EventScript_Open9FDoor2:: @ 81A882C
- setmetatile 12, 15, 839, 1
- setmetatile 13, 15, 838, 1
- setmetatile 12, 16, 821, 0
- setmetatile 13, 16, 821, 0
- setmetatile 12, 17, 825, 0
- setmetatile 13, 17, 826, 0
- return
-
-EventScript_Open9FDoor3:: @ 81A8863
- setmetatile 21, 6, 821, 0
- setmetatile 22, 6, 820, 0
- setmetatile 21, 7, 821, 0
- setmetatile 22, 7, 820, 0
- setmetatile 22, 8, 820, 0
- return
-
-EventScript_Open9FDoor4:: @ 81A8891
- setmetatile 21, 12, 821, 0
- setmetatile 22, 12, 820, 0
- setmetatile 21, 13, 821, 0
- setmetatile 22, 13, 820, 0
- setmetatile 22, 14, 820, 0
- return
-
-EventScript_Open10FDoor:: @ 81A88BF
- setmetatile 12, 11, 821, 0
- setmetatile 13, 11, 820, 0
- setmetatile 12, 12, 821, 0
- setmetatile 13, 12, 820, 0
- setmetatile 13, 13, 820, 0
- return
-
-EventScript_Open11FDoor:: @ 81A88ED
- setmetatile 5, 16, 821, 0
- setmetatile 6, 16, 820, 0
- setmetatile 5, 17, 821, 0
- setmetatile 6, 17, 820, 0
- setmetatile 6, 18, 820, 0
- return
-
-SilphCo_2F_EventScript_Door1:: @ 81A891B
- lockall
- setvar VAR_0x4001, 1
- setvar VAR_0x8004, 634
- checkflag FLAG_SILPH_2F_DOOR_1
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_2F_EventScript_Door2:: @ 81A8935
- lockall
- setvar VAR_0x4001, 2
- setvar VAR_0x8004, 635
- checkflag FLAG_SILPH_2F_DOOR_2
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_3F_EventScript_Door1:: @ 81A894F
- lockall
- setvar VAR_0x4001, 3
- setvar VAR_0x8004, 636
- checkflag FLAG_SILPH_3F_DOOR_1
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_3F_EventScript_Door2:: @ 81A8969
- lockall
- setvar VAR_0x4001, 4
- setvar VAR_0x8004, 637
- checkflag FLAG_SILPH_3F_DOOR_2
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_4F_EventScript_Door1:: @ 81A8983
- lockall
- setvar VAR_0x4001, 5
- setvar VAR_0x8004, 638
- checkflag FLAG_SILPH_4F_DOOR_1
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_4F_EventScript_Door2:: @ 81A899D
- lockall
- setvar VAR_0x4001, 6
- setvar VAR_0x8004, 639
- checkflag FLAG_SILPH_4F_DOOR_2
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_5F_EventScript_Door1:: @ 81A89B7
- lockall
- setvar VAR_0x4001, 7
- setvar VAR_0x8004, 640
- checkflag FLAG_SILPH_5F_DOOR_1
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_5F_EventScript_Door2:: @ 81A89D1
- lockall
- setvar VAR_0x4001, 8
- setvar VAR_0x8004, 641
- checkflag FLAG_SILPH_5F_DOOR_2
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_5F_EventScript_Door3:: @ 81A89EB
- lockall
- setvar VAR_0x4001, 9
- setvar VAR_0x8004, 642
- checkflag FLAG_SILPH_5F_DOOR_3
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_6F_EventScript_Door:: @ 81A8A05
- lockall
- setvar VAR_0x4001, 10
- setvar VAR_0x8004, 643
- checkflag FLAG_SILPH_6F_DOOR
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_7F_EventScript_Door1:: @ 81A8A1F
- lockall
- setvar VAR_0x4001, 11
- setvar VAR_0x8004, 644
- checkflag FLAG_SILPH_7F_DOOR_1
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_7F_EventScript_Door2:: @ 81A8A39
- lockall
- setvar VAR_0x4001, 12
- setvar VAR_0x8004, 645
- checkflag FLAG_SILPH_7F_DOOR_2
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_7F_EventScript_Door3:: @ 81A8A53
- lockall
- setvar VAR_0x4001, 13
- setvar VAR_0x8004, 646
- checkflag FLAG_SILPH_7F_DOOR_3
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_8F_EventScript_Door:: @ 81A8A6D
- lockall
- setvar VAR_0x4001, 14
- setvar VAR_0x8004, 647
- checkflag FLAG_SILPH_8F_DOOR
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_9F_EventScript_Door1:: @ 81A8A87
- lockall
- setvar VAR_0x4001, 15
- setvar VAR_0x8004, 648
- checkflag FLAG_SILPH_9F_DOOR_1
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_9F_EventScript_Door2:: @ 81A8AA1
- lockall
- setvar VAR_0x4001, 16
- setvar VAR_0x8004, 649
- checkflag FLAG_SILPH_9F_DOOR_2
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_9F_EventScript_Door3:: @ 81A8ABB
- lockall
- setvar VAR_0x4001, 17
- setvar VAR_0x8004, 650
- checkflag FLAG_SILPH_9F_DOOR_3
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_9F_EventScript_Door4:: @ 81A8AD5
- lockall
- setvar VAR_0x4001, 18
- setvar VAR_0x8004, 651
- checkflag FLAG_SILPH_9F_DOOR_4
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_10F_EventScript_Door:: @ 81A8AEF
- lockall
- setvar VAR_0x4001, 19
- setvar VAR_0x8004, 652
- checkflag FLAG_SILPH_10F_DOOR
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-SilphCo_11F_EventScript_Door:: @ 81A8B09
- lockall
- setvar VAR_0x4001, 20
- setvar VAR_0x8004, 653
- checkflag FLAG_SILPH_11F_DOOR
- goto_if TRUE, EventScript_DoorUnlocked
- goto EventScript_TryUnlockDoor
- end
-
-EventScript_TryUnlockDoor:: @ 81A8B23
- checkflag FLAG_HIDE_SILPH_CO_5F_CARD_KEY
- goto_if TRUE, EventScript_OpenDoor
- goto EventScript_NeedCardKey
- end
-
-EventScript_OpenDoor:: @ 81A8B32
- playfanfare MUS_FANFA1
- msgbox Text_CardKeyOpenedDoor
- waitfanfare
- compare VAR_0x4001, 1
- call_if eq, EventScript_Open2FDoor1
- compare VAR_0x4001, 2
- call_if eq, EventScript_Open2FDoor2
- compare VAR_0x4001, 3
- call_if eq, EventScript_Open3FDoor1
- compare VAR_0x4001, 4
- call_if eq, EventScript_Open3FDoor2
- compare VAR_0x4001, 5
- call_if eq, EventScript_Open4FDoor1
- compare VAR_0x4001, 6
- call_if eq, EventScript_Open4FDoor2
- compare VAR_0x4001, 7
- call_if eq, EventScript_Open5FDoor1
- compare VAR_0x4001, 8
- call_if eq, EventScript_Open5FDoor2
- compare VAR_0x4001, 9
- call_if eq, EventScript_Open5FDoor3
- compare VAR_0x4001, 10
- call_if eq, EventScript_Open6FDoor
- compare VAR_0x4001, 11
- call_if eq, EventScript_Open7FDoor1
- compare VAR_0x4001, 12
- call_if eq, EventScript_Open7FDoor2
- compare VAR_0x4001, 13
- call_if eq, EventScript_Open7FDoor3
- compare VAR_0x4001, 14
- call_if eq, EventScript_Open8FDoor
- compare VAR_0x4001, 15
- call_if eq, EventScript_Open9FDoor1
- compare VAR_0x4001, 16
- call_if eq, EventScript_Open9FDoor2
- compare VAR_0x4001, 17
- call_if eq, EventScript_Open9FDoor3
- compare VAR_0x4001, 18
- call_if eq, EventScript_Open9FDoor4
- compare VAR_0x4001, 19
- call_if eq, EventScript_Open10FDoor
- compare VAR_0x4001, 20
- call_if eq, EventScript_Open11FDoor
- waitse
- playse SE_KI_GASYAN
- special DrawWholeMapView
- waitse
- special Special_SetHiddenItemFlag
- releaseall
- end
+ .include "data/scripts/silphco_doors.inc"
EventScript_1A8C27:: @ 81A8C27
countpokemon
@@ -3940,123 +2954,7 @@ EventScript_1A927C:: @ 81A927C
release
end
-gUnknown_81A9288:: @ 81A9288
- .braille "UP$"
-
-gUnknown_81A928B:: @ 81A928B
- .braille "DOWN$"
-
-gUnknown_81A9290:: @ 81A9290
- .braille "RIGHT$"
-
-gUnknown_81A9296:: @ 81A9296
- .braille "LEFT$"
-
-gUnknown_81A929B:: @ 81A929B
- .braille "CUT$"
-
-gUnknown_81A929F:: @ 81A929F
- .braille "ABC$"
-
-gUnknown_81A92A3:: @ 81A92A3
- .braille "GHI$"
-
-gUnknown_81A92A7:: @ 81A92A7
- .braille "MNO$"
-
-gUnknown_81A92AB:: @ 81A92AB
- .braille "TUV$"
-
-gUnknown_81A92AF:: @ 81A92AF
- .braille "DEF$"
-
-gUnknown_81A92B3:: @ 81A92B3
- .braille "JKL$"
-
-gUnknown_81A92B7:: @ 81A92B7
- .braille "PQRS$"
-
-gUnknown_81A92BC:: @ 81A92BC
- .braille "WXYZ$"
-
-gUnknown_81A92C1:: @ 81A92C1
- .braille ".$"
-
-gUnknown_81A92C3:: @ 81A92C3
- .braille ",$"
-
-gUnknown_81A92C5:: @ 81A92C5
- .braille "EVERYTHING$"
-
-gUnknown_81A92D0:: @ 81A92D0
- .braille "HAS MEANING$"
-
-gUnknown_81A92DC:: @ 81A92DC
- .braille "EXISTENCE$"
-
-gUnknown_81A92E6:: @ 81A92E6
- .braille "HAS MEANING$"
-
-gUnknown_81A92F2:: @ 81A92F2
- .braille "BEING ALIVE$"
-
-gUnknown_81A92FE:: @ 81A92FE
- .braille "HAS MEANING$"
-
-gUnknown_81A930A:: @ 81A930A
- .braille "HAVE DREAMS$"
-
-gUnknown_81A9316:: @ 81A9316
- .braille "USE POWER.$"
-
-gUnknown_81A9321:: @ 81A9321
- .braille "LET THE TWO$"
-
-gUnknown_81A932D:: @ 81A932D
- .braille "GLITTERING$"
-
-gUnknown_81A9338:: @ 81A9338
- .braille "STONES$"
-
-gUnknown_81A933F:: @ 81A933F
- .braille "ONE IN RED$"
-
-gUnknown_81A934A:: @ 81A934A
- .braille "ONE IN BLUE$"
-
-gUnknown_81A9356:: @ 81A9356
- .braille "CONNECT THE$"
-
-gUnknown_81A9362:: @ 81A9362
- .braille "PAST.$"
-
-gUnknown_81A9368:: @ 81A9368
- .braille "TWO FRIENDS$"
-
-gUnknown_81A9374:: @ 81A9374
- .braille "SHARING$"
-
-gUnknown_81A937C:: @ 81A937C
- .braille "POWER OPEN$"
-
-gUnknown_81A9387:: @ 81A9387
- .braille "A WINDOW TO$"
-
-gUnknown_81A9393:: @ 81A9393
- .braille "A NEW WORLD$"
-
-gUnknown_81A939F:: @ 81A939F
- .braille "THAT GLOWS.$"
-
-gUnknown_81A93AB:: @ 81A93AB
- .braille "THE NEXT$"
-
-gUnknown_81A93B4:: @ 81A93B4
- .braille "WORLD WAITS$"
-
-gUnknown_81A93C0:: @ 81A93C0
- .braille "FOR YOU.$"
-
+ .include "data/text/braille.inc"
.include "data/scripts/trainers.inc"
@ Test message!
@@ -5583,449 +4481,7 @@ Movement_1C5550:: @ 81C5550
face_down
step_end
-EventScript_1C5550:: @ 81C5552
- msgbox Text_1C556D, MSGBOX_NPC
- end
-
-EventScript_1C555B:: @ 81C555B
- msgbox Text_1C558D, MSGBOX_SIGN
- end
-
-EventScript_1C5564:: @ 81C5564
- msgbox Text_1C55A4, MSGBOX_SIGN
- end
-
-Text_1C556D:: @ 81C556D
- .string "テストよう メッセージです!\n"
- .string "ポケモンの せかいへ ようこそ!$"
-
-Text_1C558D:: @ 81C558D
- .string "テストよう メッセージです!\n"
- .string "かんばん です$"
-
-Text_1C55A4:: @ 81C55A4
- .string "テストよう メッセージです!\n"
- .string "ざひょう チェックの イベントです$"
-
- .align 2
-Text_1C55C8:: @ 81C55C8
- .string "$"
-
-gText_WouldYouLikeToSaveTheGame:: @ 81C55C9
- .string "Would you like to save the game?$"
-
-gText_AlreadySaveFile_WouldLikeToOverwrite:: @ 81C55EA
- .string "There is already a saved file.\n"
- .string "Is it okay to overwrite it?$"
-
-gText_SavingDontTurnOffThePower:: @ 81C5625
- .string "SAVING…\n"
- .string "DON'T TURN OFF THE POWER.$"
-
-gText_PlayerSavedTheGame:: @ 81C5647
- .string "{PLAYER} saved the game.$"
-
-gUnknown_81C565A::
- .string "セーブに しっぱい しました‥$"
-
-gText_DifferentGameFile:: @ 81C566A
- .string "WARNING!\p"
- .string "There is a different game file that\n"
- .string "is already saved.\p"
- .string "If you save now, the other file's\n"
- .string "adventure, including items and\l"
- .string "POKéMON, will be entirely lost.\p"
- .string "Are you sure you want to save now\n"
- .string "and overwrite the other save file?$"
-
-gOtherText_NewName:: @ 81C574F
- .string "NEW NAME$"
-
-gNameChoice_Green:: @ 81C5758
- .string "GREEN$"
-
-gNameChoice_Red:: @ 81C575E
- .string "RED$"
-
-gNameChoice_Leaf:: @ 81C5762
- .string "LEAF$"
-
-gNameChoice_Fire:: @ 81C5767
- .string "FIRE$"
-
-gNameChoice_Gary:: @ 81C576C
- .string "GARY$"
-
-gNameChoice_Kaz:: @ 81C5771
- .string "KAZ$"
-
-gNameChoice_Toru:: @ 81C5775
- .string "TORU$"
-
-gNameChoice_Ash:: @ 81C577A
- .string "ASH$"
-
-gNameChoice_Kene:: @ 81C577E
- .string "KENE$"
-
-gNameChoice_Geki:: @ 81C5783
- .string "GEKI$"
-
-gNameChoice_Jak:: @ 81C5788
- .string "JAK$"
-
-gNameChoice_Janne:: @ 81C578C
- .string "JANNE$"
-
-gNameChoice_Jonn:: @ 81C5792
- .string "JONN$"
-
-gNameChoice_Kamon:: @ 81C5797
- .string "KAMON$"
-
-gNameChoice_Karl:: @ 81C579D
- .string "KARL$"
-
-gNameChoice_Taylor:: @ 81C57A2
- .string "TAYLOR$"
-
-gNameChoice_Oscar:: @ 81C57A9
- .string "OSCAR$"
-
-gNameChoice_Hiro:: @ 81C57AF
- .string "HIRO$"
-
-gNameChoice_Max:: @ 81C57B4
- .string "MAX$"
-
-gNameChoice_Jon:: @ 81C57B8
- .string "JON$"
-
-gNameChoice_Ralph:: @ 81C57BC
- .string "RALPH$"
-
-gNameChoice_Kay:: @ 81C57C2
- .string "KAY$"
-
-gNameChoice_Tosh:: @ 81C57C6
- .string "TOSH$"
-
-gNameChoice_Roak:: @ 81C57CB
- .string "ROAK$"
-
-gNameChoice_Omi:: @ 81C57D0
- .string "OMI$"
-
-gNameChoice_Jodi:: @ 81C57D4
- .string "JODI$"
-
-gNameChoice_Amanda:: @ 81C57D9
- .string "AMANDA$"
-
-gNameChoice_Hillary:: @ 81C57E0
- .string "HILLARY$"
-
-gNameChoice_Makey:: @ 81C57E8
- .string "MAKEY$"
-
-gNameChoice_Michi:: @ 81C57EE
- .string "MICHI$"
-
-gNameChoice_Paula:: @ 81C57F4
- .string "PAULA$"
-
-gNameChoice_June:: @ 81C57FA
- .string "JUNE$"
-
-gNameChoice_Cassie:: @ 81C57FF
- .string "CASSIE$"
-
-gNameChoice_Rey:: @ 81C5806
- .string "REY$"
-
-gNameChoice_Seda:: @ 81C580A
- .string "SEDA$"
-
-gNameChoice_Kiko:: @ 81C580F
- .string "KIKO$"
-
-gNameChoice_Mina:: @ 81C5814
- .string "MINA$"
-
-gNameChoice_Norie:: @ 81C5819
- .string "NORIE$"
-
-gNameChoice_Sai:: @ 81C581F
- .string "SAI$"
-
-gNameChoice_Momo:: @ 81C5823
- .string "MOMO$"
-
-gNameChoice_Suzi:: @ 81C5828
- .string "SUZI$"
-
-gNewGame_HelpDocs1:: @ 81C582D
- .string "The various buttons will be explained in\n"
- .string "the order of their importance.$"
-
-gNewGame_HelpDocs2:: @ 81C5875
- .string "Moves the main character.\n"
- .string "Also used to choose various data\n"
- .string "headings.$"
-
-gNewGame_HelpDocs3:: @ 81C58BA
- .string "Used to confirm a choice, check\n"
- .string "things, chat, and scroll text.$"
-
-gNewGame_HelpDocs4:: @ 81C58F9
- .string "Used to exit, cancel a choice,\n"
- .string "and cancel a mode.$"
-
-gNewGame_HelpDocs5:: @ 81C592B
- .string "Press this button to open the\n"
- .string "MENU.$"
-
-gNewGame_HelpDocs6:: @ 81C594F
- .string "Used to shift items and to use\n"
- .string "a registered item.$"
-
-gNewGame_HelpDocs7:: @ 81C5981
- .string "If you need help playing the\n"
- .string "game, or on how to do things,\n"
- .string "press the L or R Button.$"
-
-gOakText_AskPlayerGender:: @ 81C59D5
- .string "Now tell me. Are you a boy?\n"
- .string "Or are you a girl?$"
-
-gNewGameAdventureIntro1::
- .string "In the world which you are about to\n"
- .string "enter, you will embark on a grand\n"
- .string "adventure with you as the hero.\n"
- .string "\n"
- .string "Speak to people and check things\n"
- .string "wherever you go, be it towns, roads,\n"
- .string "or caves. Gather information and\n"
- .string "hints from every source.$"
-
-gNewGameAdventureIntro2::
- .string "New paths will open to you by helping\n"
- .string "people in need, overcoming challenges,\n"
- .string "and solving mysteries.\n"
- .string "\n"
- .string "At times, you will be challenged by\n"
- .string "others and attacked by wild creatures.\n"
- .string "Be brave and keep pushing on.$"
-
-gNewGameAdventureIntro3::
- .string "Through your adventure, we hope\n"
- .string "that you will interact with all sorts\n"
- .string "of people and achieve personal growth.\n"
- .string "That is our biggest objective.\n"
- .string "\n"
- .string "Press the A Button, and let your\n"
- .string "adventure begin!$"
-
-gOakText_WelcomeToTheWorld:: @ 81C5C78
- .string "Hello, there!\n"
- .string "Glad to meet you!\pWelcome to the world of POKéMON!\pMy name is OAK.\pPeople affectionately refer to me\n"
- .string "as the POKéMON PROFESSOR.\p$"
-
-gOakText_WorldInhabited1:: @ 81C5D06
- .string "This world…$"
-
-gOakText_WorldInhabited2:: @ 81C5D12
- .string "…is inhabited far and wide by\n"
- .string "creatures called POKéMON.\p$"
-
-gOakText_PetsBattlingStudy:: @ 81C5D4B
- .string "For some people, POKéMON are pets.\n"
- .string "Others use them for battling.\pAs for myself…\pI study POKéMON as a profession.\p$"
-
-gOakText_TellMeALittleAboutYourself:: @ 81C5DBD
- .string "But first, tell me a little about\n"
- .string "yourself.\p$"
-
-gOakText_AskPlayerName:: @ 81C5DEA
- .string "Let's begin with your name.\n"
- .string "What is it?\p$"
-
-gOakText_FinalizePlayerName:: @ 81C5E13
- .string "Right…\n"
- .string "So your name is {PLAYER}.$"
-
-gOakText_IntroduceRival:: @ 81C5E2E
- .string "This is my grandson.\pHe's been your rival since you both\n"
- .string "were babies.\p…Erm, what was his name now?$"
-
-gOakText_AskRivalName:: @ 81C5E91
- .string "Your rival's name, what was it now?$"
-
-gOakText_ConfirmRivalName:: @ 81C5EB5
- .string "…Er, was it {RIVAL}?$"
-
-gOakText_RememberRivalName:: @ 81C5EC5
- .string "That's right! I remember now!\n"
- .string "His name is {RIVAL}!\p$"
-
-gOakText_LegendAboutToUnfold:: @ 81C5EF4
- .string "{PLAYER}!\pYour very own POKéMON legend is\n"
- .string "about to unfold!\pA world of dreams and adventures\n"
- .string "with POKéMON awaits! Let's go!$"
-
-@ pokedude data
-gUnknown_81C5F69::
- .string "POKé DUDE: The speedier of the\n"
- .string "battlers gets to attack first.$"
-
-gUnknown_81C5FA7::
- .string "It looks like my RATTATA was\n"
- .string "faster than the PIDGEY.$"
-
-gUnknown_81C5FDC::
- .string "The battlers take turns attacking\n"
- .string "and reducing each other's HP.$"
-
-gUnknown_81C601C::
- .string "My RATTATA reduced the foe's HP\n"
- .string "to zero, so it wins!\p"
-
- .string "The POKéMON that took part in the\n"
- .string "battle get EXP. Points.\p"
-
- .string "When a POKéMON collects enough\n"
- .string "EXP. Points, it levels up.\p"
-
- .string "Leveling up makes your POKéMON\n"
- .string "stronger than before.$"
-
-gUnknown_81C60FA::
- .string "POKé DUDE: Uh-oh…\n"
- .string "My RATTATA has been poisoned…\p"
-
- .string "If a POKéMON is poisoned, it loses\n"
- .string "HP steadily.$"
-
-gUnknown_81C615A::
- .string "If a POKéMON develops a status\n"
- .string "problem, heal it right away.$"
-
-gUnknown_81C6196::
- .string "Using an item on a POKéMON uses\n"
- .string "up one turn, though.\p"
-
- .string "Now, it's the opponent's turn!$"
-
-gUnknown_81C61EA::
- .string "Yay!\n"
- .string "We managed to win!$"
-
-gUnknown_81C6202::
- .string "POKé DUDE: The move BUBBLE is\n"
- .string "a WATER-type attack.\p"
-
- .string "The targeted ODDISH is a\n"
- .string "GRASS/POISON-type POKéMON.\p"
-
- .string "The WATER-type attack is absorbed\n"
- .string "by the GRASS-type POKéMON…\p"
-
- .string "As a result, the move becomes not\n"
- .string "very effective, and inflicts only\l"
- .string "half the usual damage.$"
-
-gUnknown_81C6301::
- .string "Uh-oh, this is not good!\p"
-
- .string "The ABSORB attack you just saw\n"
- .string "is a GRASS-type move.\p"
-
- .string "POLIWAG is a WATER-type POKéMON.\p"
-
- .string "So, ABSORB becomes super\n"
- .string "effective, doubling the damage.$"
-
-gUnknown_81C63A9::
- .string "It's not going to be easy to win\n"
- .string "with this matchup…\p"
-
- .string "Let's try shifting POKéMON!$"
-
-gUnknown_81C63F9::
- .string "Shifting POKéMON in and out uses\n"
- .string "up one turn.\p"
-
- .string "Now, it's the opponent's turn.$"
-
-gUnknown_81C6446::
- .string "BUTTERFREE is a BUG/FLYING-type\n"
- .string "POKéMON.\p"
-
- .string "Against this POKéMON, a GRASS-\n"
- .string "type attack…\p"
-
- .string "…inflicts only half the usual\n"
- .string "damage on a BUG-type POKéMON…\p"
-
- .string "…And, it also causes only half the\n"
- .string "damage on a FLYING-type POKéMON.\p"
-
- .string "Therefore, BUTTERFREE, being a\n"
- .string "BUG/FLYING POKéMON, only takes\l"
- .string "one quarter of the usual damage.$"
-
-gUnknown_81C657A::
- .string "ODDISH is a GRASS/POISON-type\n"
- .string "POKéMON.\p"
-
- .string "A FLYING- or PSYCHIC-type attack\n"
- .string "is super effective against it.\p"
-
- .string "One of those types of attacks will\n"
- .string "inflict double the usual damage.\p"
-
- .string "Okay, here we go!$"
-
-gUnknown_81C6637::
- .string "Yeah!\n"
- .string "We won!$"
-
-gUnknown_81C6645::
- .string "POKé DUDE: When you're trying to\n"
- .string "catch a POKéMON, don't throw any\l"
- .string "POKé BALLS right away.\p"
-
- .string "First, you need to weaken it by\n"
- .string "reducing its HP.$"
-
-gUnknown_81C66CF::
- .string "Okay, that should be good enough.\p"
-
- .string "But, if it's possible, it would be\n"
- .string "best if the target has a status\l"
- .string "problem.\p"
-
- .string "For instance, it would be easier\n"
- .string "to catch if it were asleep or\l"
- .string "paralyzed.$"
-
-gUnknown_81C6787::
- .string "This will make the POKéMON a lot\n"
- .string "easier to catch!\p"
-
- .string "Oh, yes. If you paralyze a\n"
- .string "POKéMON, you can't make it fall\l"
- .string "asleep on top of paralysis.\p"
-
- .string "In other words, you can't double\n"
- .string "up status problems, okay?$"
-
-gUnknown_81C684B::
- .string "Okay!\n"
- .string "Let me throw my POKé BALL!$"
-
-gUnknown_81C686C::
- .string "Before you throw a POKé BALL,\n"
- .string "consider the condition and the\l"
- .string "type of POKéMON, and pick the kind\l"
- .string "of BALL that would work best.$"
+ .include "data/scripts/test.inc"
+ .include "data/text/save.inc"
+ .include "data/text/new_game_intro.inc"
+ .include "data/text/poke_dude.inc"
diff --git a/data/maps/CeladonCity_DepartmentStore_2F/scripts.inc b/data/maps/CeladonCity_DepartmentStore_2F/scripts.inc
index 8f4c34162..a9a7ec544 100644
--- a/data/maps/CeladonCity_DepartmentStore_2F/scripts.inc
+++ b/data/maps/CeladonCity_DepartmentStore_2F/scripts.inc
@@ -19,7 +19,7 @@ CeladonCity_DepartmentStore_2F_EventScript_16BB10:: @ 816BB10
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16BB38
msgbox gUnknown_81A5190
@@ -47,7 +47,7 @@ CeladonCity_DepartmentStore_2F_EventScript_16BB4E:: @ 816BB4E
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16BB74
msgbox gUnknown_81A5190
diff --git a/data/maps/CeladonCity_DepartmentStore_4F/scripts.inc b/data/maps/CeladonCity_DepartmentStore_4F/scripts.inc
index 7d358f621..c55eee6b7 100644
--- a/data/maps/CeladonCity_DepartmentStore_4F/scripts.inc
+++ b/data/maps/CeladonCity_DepartmentStore_4F/scripts.inc
@@ -19,7 +19,7 @@ CeladonCity_DepartmentStore_4F_EventScript_16BC0A:: @ 816BC0A
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16BC30
msgbox gUnknown_81A5190
diff --git a/data/maps/CeladonCity_DepartmentStore_5F/scripts.inc b/data/maps/CeladonCity_DepartmentStore_5F/scripts.inc
index 8556833c7..19f21c149 100644
--- a/data/maps/CeladonCity_DepartmentStore_5F/scripts.inc
+++ b/data/maps/CeladonCity_DepartmentStore_5F/scripts.inc
@@ -19,7 +19,7 @@ CeladonCity_DepartmentStore_5F_EventScript_16BC5C:: @ 816BC5C
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16BC84
msgbox gUnknown_81A5190
@@ -45,7 +45,7 @@ CeladonCity_DepartmentStore_5F_EventScript_16BC96:: @ 816BC96
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16BCBC
msgbox gUnknown_81A5190
diff --git a/data/maps/CeruleanCity_Mart/scripts.inc b/data/maps/CeruleanCity_Mart/scripts.inc
index eda64ebfe..ccac24aed 100644
--- a/data/maps/CeruleanCity_Mart/scripts.inc
+++ b/data/maps/CeruleanCity_Mart/scripts.inc
@@ -15,7 +15,7 @@ CeruleanCity_Mart_EventScript_16ACB0:: @ 816ACB0
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16ACD8
msgbox gUnknown_81A5190
diff --git a/data/maps/CinnabarIsland_Mart/scripts.inc b/data/maps/CinnabarIsland_Mart/scripts.inc
index a303f9b27..b6bb33d34 100644
--- a/data/maps/CinnabarIsland_Mart/scripts.inc
+++ b/data/maps/CinnabarIsland_Mart/scripts.inc
@@ -15,7 +15,7 @@ CinnabarIsland_Mart_EventScript_16EA22:: @ 816EA22
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16EA48
msgbox gUnknown_81A5190
diff --git a/data/maps/FourIsland_Mart/scripts.inc b/data/maps/FourIsland_Mart/scripts.inc
index fc3664764..b2e3b5bb4 100644
--- a/data/maps/FourIsland_Mart/scripts.inc
+++ b/data/maps/FourIsland_Mart/scripts.inc
@@ -7,7 +7,7 @@ FourIsland_Mart_EventScript_171CAE:: @ 8171CAE
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_171CD4
msgbox gUnknown_81A5190
diff --git a/data/maps/FuchsiaCity_Mart/scripts.inc b/data/maps/FuchsiaCity_Mart/scripts.inc
index 04854d419..824cdefe7 100644
--- a/data/maps/FuchsiaCity_Mart/scripts.inc
+++ b/data/maps/FuchsiaCity_Mart/scripts.inc
@@ -15,7 +15,7 @@ FuchsiaCity_Mart_EventScript_16D4F3:: @ 816D4F3
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16D518
msgbox gUnknown_81A5190
diff --git a/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc b/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
index 7b467aa83..00a11018f 100644
--- a/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
+++ b/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
@@ -48,7 +48,7 @@ IndigoPlateau_PokemonCenter_1F_EventScript_16EACC:: @ 816EACC
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16EAF4
msgbox gUnknown_81A5190
diff --git a/data/maps/LavenderTown_Mart/scripts.inc b/data/maps/LavenderTown_Mart/scripts.inc
index f5ebc9bc8..47c1b2df8 100644
--- a/data/maps/LavenderTown_Mart/scripts.inc
+++ b/data/maps/LavenderTown_Mart/scripts.inc
@@ -19,7 +19,7 @@ LavenderTown_Mart_EventScript_16B36B:: @ 816B36B
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16B390
msgbox gUnknown_81A5190
diff --git a/data/maps/OneIsland_PokemonCenter_1F/text.inc b/data/maps/OneIsland_PokemonCenter_1F/text.inc
index 3e9e5b521..e2d6c7fed 100644
--- a/data/maps/OneIsland_PokemonCenter_1F/text.inc
+++ b/data/maps/OneIsland_PokemonCenter_1F/text.inc
@@ -108,7 +108,7 @@ gUnknown_81A1321:: @ 81A1321
.string "I'm also sorry for being such a \n"
.string "poor host on your visit here.$"
-Text_1A1390:: @ 81A1390
+Text_UsualPCServicesUnavailable:: @ 81A1390
.string "The usual PC services aren't\n"
.string "available…$"
diff --git a/data/maps/PewterCity_Mart/scripts.inc b/data/maps/PewterCity_Mart/scripts.inc
index adbde2b4c..31ab70f51 100644
--- a/data/maps/PewterCity_Mart/scripts.inc
+++ b/data/maps/PewterCity_Mart/scripts.inc
@@ -15,7 +15,7 @@ PewterCity_Mart_EventScript_16A6E0:: @ 816A6E0
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16A708
msgbox gUnknown_81A5190
diff --git a/data/maps/SaffronCity_Mart/scripts.inc b/data/maps/SaffronCity_Mart/scripts.inc
index b4e263da3..c40cb783c 100644
--- a/data/maps/SaffronCity_Mart/scripts.inc
+++ b/data/maps/SaffronCity_Mart/scripts.inc
@@ -15,7 +15,7 @@ SaffronCity_Mart_EventScript_16EFB5:: @ 816EFB5
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16EFDC
msgbox gUnknown_81A5190
diff --git a/data/maps/SevenIsland_Mart/scripts.inc b/data/maps/SevenIsland_Mart/scripts.inc
index d4a17878b..2e7e2ad8a 100644
--- a/data/maps/SevenIsland_Mart/scripts.inc
+++ b/data/maps/SevenIsland_Mart/scripts.inc
@@ -7,7 +7,7 @@ SevenIsland_Mart_EventScript_170B31:: @ 8170B31
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_170B58
msgbox gUnknown_81A5190
diff --git a/data/maps/SevenIsland_TrainerTower_Lobby/scripts.inc b/data/maps/SevenIsland_TrainerTower_Lobby/scripts.inc
index 353b9dd9f..7c4e287a2 100644
--- a/data/maps/SevenIsland_TrainerTower_Lobby/scripts.inc
+++ b/data/maps/SevenIsland_TrainerTower_Lobby/scripts.inc
@@ -129,7 +129,7 @@ SevenIsland_TrainerTower_Lobby_EventScript_164992:: @ 8164992
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_1649B8
msgbox gUnknown_81A5190
diff --git a/data/maps/SixIsland_Mart/scripts.inc b/data/maps/SixIsland_Mart/scripts.inc
index 2558fc999..3e2a19d53 100644
--- a/data/maps/SixIsland_Mart/scripts.inc
+++ b/data/maps/SixIsland_Mart/scripts.inc
@@ -7,7 +7,7 @@ SixIsland_Mart_EventScript_171E66:: @ 8171E66
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_171E8C
msgbox gUnknown_81A5190
diff --git a/data/maps/ThreeIsland_Mart/scripts.inc b/data/maps/ThreeIsland_Mart/scripts.inc
index 171eff139..531e0de7b 100644
--- a/data/maps/ThreeIsland_Mart/scripts.inc
+++ b/data/maps/ThreeIsland_Mart/scripts.inc
@@ -7,7 +7,7 @@ ThreeIsland_Mart_EventScript_17188D:: @ 817188D
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_1718B4
msgbox gUnknown_81A5190
diff --git a/data/maps/TwoIsland/scripts.inc b/data/maps/TwoIsland/scripts.inc
index 64eeb39ca..12f3163a2 100644
--- a/data/maps/TwoIsland/scripts.inc
+++ b/data/maps/TwoIsland/scripts.inc
@@ -119,7 +119,7 @@ EventScript_16768E:: @ 816768E
end
EventScript_1676A6:: @ 81676A6
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
compare VAR_MAP_SCENE_TWO_ISLAND, 4
goto_if eq, EventScript_167728
diff --git a/data/maps/VermilionCity_Mart/scripts.inc b/data/maps/VermilionCity_Mart/scripts.inc
index 49bf508ee..49b9799b0 100644
--- a/data/maps/VermilionCity_Mart/scripts.inc
+++ b/data/maps/VermilionCity_Mart/scripts.inc
@@ -15,7 +15,7 @@ VermilionCity_Mart_EventScript_16B666:: @ 816B666
goto_if eq, EventScript_1A7AE0
lock
faceplayer
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16B68C
msgbox gUnknown_81A5190
diff --git a/data/maps/ViridianCity_Mart/scripts.inc b/data/maps/ViridianCity_Mart/scripts.inc
index 665bbe118..f0958605a 100644
--- a/data/maps/ViridianCity_Mart/scripts.inc
+++ b/data/maps/ViridianCity_Mart/scripts.inc
@@ -59,7 +59,7 @@ ViridianCity_Mart_EventScript_16A268:: @ 816A268
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A7AE0
- message Text_1A6211
+ message Text_MayIHelpYou
waitmessage
pokemart Items_16A298
msgbox gUnknown_81A5190
diff --git a/data/scripts/obtain_item.inc b/data/scripts/obtain_item.inc
new file mode 100644
index 000000000..d919d5fc6
--- /dev/null
+++ b/data/scripts/obtain_item.inc
@@ -0,0 +1,248 @@
+EventScript_1A666F:: @ 81A666F
+ copyvar VAR_MON_BOX_POS, VAR_MON_BOX_ID
+ return
+
+EventScript_1A6675:: @ 81A6675
+ copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS
+ return
+
+Std_ObtainItem:: @ 81A667B
+ copyvar VAR_MON_BOX_POS, VAR_MON_BOX_ID
+ textcolor 3
+ additem VAR_0x8000, VAR_0x8001
+ copyvar VAR_0x8007, VAR_RESULT
+ call EventScript_1A6697
+ copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS
+ return
+
+EventScript_1A6697:: @ 81A6697
+ bufferitemnameplural 1, VAR_0x8000, VAR_0x8001
+ checkitemtype VAR_0x8000
+ call EventScript_1A66BC
+ compare VAR_0x8007, 1
+ call_if eq, EventScript_1A6749
+ compare VAR_0x8007, 0
+ call_if eq, EventScript_1A675E
+ return
+
+EventScript_1A66BC:: @ 81A66BC
+ switch VAR_RESULT
+ case POCKET_ITEMS, EventScript_1A66F9
+ case POCKET_KEY_ITEMS, EventScript_1A6709
+ case POCKET_POKE_BALLS, EventScript_1A6719
+ case POCKET_TM_CASE, EventScript_1A6729
+ case POCKET_BERRY_POUCH, EventScript_1A6739
+ end
+
+EventScript_1A66F9:: @ 81A66F9
+ getstdstring 2, 24
+ compare VAR_0x8007, 1
+ call_if eq, EventScript_1A6764
+ return
+
+EventScript_1A6709:: @ 81A6709
+ getstdstring 2, 25
+ compare VAR_0x8007, 1
+ call_if eq, EventScript_1A6764
+ return
+
+EventScript_1A6719:: @ 81A6719
+ getstdstring 2, 26
+ compare VAR_0x8007, 1
+ call_if eq, EventScript_1A6764
+ return
+
+EventScript_1A6729:: @ 81A6729
+ getstdstring 2, 27
+ compare VAR_0x8007, 1
+ call_if eq, EventScript_1A6768
+ return
+
+EventScript_1A6739:: @ 81A6739
+ getstdstring 2, 28
+ compare VAR_0x8007, 1
+ call_if eq, EventScript_1A6764
+ return
+
+EventScript_1A6749:: @ 81A6749
+ message Text_ObtainedTheX
+ waitfanfare
+ waitmessage
+ msgbox Text_PutItemAway
+ setvar VAR_RESULT, 1
+ return
+
+EventScript_1A675E:: @ 81A675E
+ setvar VAR_RESULT, 0
+ return
+
+EventScript_1A6764:: @ 81A6764
+ playfanfare MUS_FANFA1
+ return
+
+EventScript_1A6768:: @ 81A6768
+ playfanfare MUS_FANFA1
+ return
+
+Std_ObtainDecoration:: @ 81A676C
+ adddecor VAR_0x8000
+ copyvar VAR_0x8007, VAR_RESULT
+ call EventScript_1A677A
+ return
+
+EventScript_1A677A:: @ 81A677A
+ getdecorname 1, VAR_0x8000
+ compare VAR_0x8007, 1
+ call_if eq, EventScript_1A6795
+ compare VAR_0x8007, 0
+ call_if eq, EventScript_1A67AD
+ return
+
+EventScript_1A6795:: @ 81A6795
+ playfanfare MUS_FANFA4
+ message Text_1A52F0
+ waitfanfare
+ waitmessage
+ msgbox gUnknown_81A532F
+ setvar VAR_RESULT, 1
+ return
+
+EventScript_1A67AD:: @ 81A67AD
+ setvar VAR_RESULT, 0
+ return
+
+Std_FindItem:: @ 81A67B3
+ lock
+ faceplayer
+ waitse
+ copyvar VAR_0x8004, VAR_0x8000
+ copyvar VAR_0x8005, VAR_0x8001
+ checkitemspace VAR_0x8000, VAR_0x8001
+ copyvar VAR_0x8007, VAR_RESULT
+ getitemname 1, VAR_0x8000
+ checkitemtype VAR_0x8000
+ call EventScript_1A66BC
+ compare VAR_0x8007, 1
+ call_if eq, EventScript_1A67EE
+ compare VAR_0x8007, 0
+ call_if eq, EventScript_1A682D
+ release
+ return
+
+EventScript_1A67EE:: @ 81A67EE
+ removeobject VAR_LAST_TALKED
+ additem VAR_0x8004, VAR_0x8005
+ specialvar VAR_RESULT, Special_ItemIsTM_GetMoveName
+ copyvar VAR_0x8008, VAR_RESULT
+ compare VAR_0x8008, 1
+ call_if eq, EventScript_1A6821
+ compare VAR_0x8008, 0
+ call_if eq, EventScript_1A6827
+ waitfanfare
+ waitmessage
+ msgbox Text_PutItemAway
+ return
+
+EventScript_1A6821:: @ 81A6821
+ message Text_1A63E8
+ return
+
+EventScript_1A6827:: @ 81A6827
+ message Text_FoundOneItem
+ return
+
+EventScript_1A682D:: @ 81A682D
+ msgbox Text_ObtainedTheX
+ msgbox Text_TooBadBagFull
+ setvar VAR_RESULT, 0
+ return
+
+EventScript_PickUpHiddenItem:: @ 81A6843
+ lockall
+ textcolor 3
+ waitse
+ compare VAR_0x8005, 0
+ goto_if eq, EventScript_PickUpHiddenCoins
+ call EventScript_GiveItem
+ compare VAR_0x8007, 1
+ goto_if eq, EventScript_ItemInPocketMessage
+ compare VAR_0x8007, 0
+ goto_if eq, EventScript_BagIsFullMessage
+ end
+
+EventScript_GiveItem::
+ additem VAR_0x8005, VAR_0x8006
+ copyvar VAR_0x8007, VAR_RESULT
+ getitemname 1, VAR_0x8005
+ checkitemtype VAR_0x8005
+ call EventScript_1A66BC
+ return
+
+EventScript_ItemInPocketMessage::
+ compare VAR_0x8006, 1
+ call_if eq, EventScript_FoundSingleItemMessage
+ compare VAR_0x8006, 1
+ call_if ne, EventScript_FoundMultipleItemsMessage
+ waitfanfare
+ waitmessage
+ msgbox Text_PutItemAway
+ special Special_SetHiddenItemFlag
+ releaseall
+ end
+
+EventScript_FoundSingleItemMessage::
+ message Text_FoundOneItem
+ return
+
+EventScript_FoundCoinsMessage::
+ getnumberstring 0, VAR_0x8006
+ message Text_FoundXCoins
+ return
+
+EventScript_FoundMultipleItemsMessage::
+ getnumberstring 0, VAR_0x8006
+ message Text_FoundXItems
+ return
+
+EventScript_BagIsFullMessage::
+ msgbox Text_FoundOneItem
+ msgbox Text_TooBadBagFull
+ setvar VAR_RESULT, 0
+ releaseall
+ end
+
+EventScript_PickUpHiddenCoins::
+ checkflag FLAG_GOT_COIN_CASE
+ goto_if FALSE, EventScript_HiddenCoinsButNoCoinCase
+ checkcoins VAR_RESULT
+ specialvar VAR_RESULT, Special_CheckAddCoins
+ compare VAR_RESULT, 0
+ goto_if eq, EventScript_HiddenCoinsButTheCoinCaseIsFull
+ givecoins VAR_0x8006
+ getstdstring 1, 0x17
+ call EventScript_1A6764
+ call EventScript_FoundCoinsMessage
+ waitfanfare
+ waitmessage
+ msgbox Text_PutCoinsAwayInCoinCase
+ special Special_SetHiddenItemFlag
+ releaseall
+ end
+
+EventScript_HiddenCoinsButTheCoinCaseIsFull::
+ getnumberstring 0, VAR_0x8006
+ getstdstring 1, 0x17
+ msgbox Text_FoundXCoins
+ msgbox Text_CoinCaseIsFull
+ setvar VAR_RESULT, 0
+ releaseall
+ end
+
+EventScript_HiddenCoinsButNoCoinCase::
+ getnumberstring 0, VAR_0x8006
+ getstdstring 1, 0x17
+ msgbox Text_FoundXCoins
+ msgbox Text_NothingToPutThemIn
+ setvar VAR_RESULT, 0
+ releaseall
+ end
diff --git a/data/scripts/pc.inc b/data/scripts/pc.inc
new file mode 100644
index 000000000..9666a1fd1
--- /dev/null
+++ b/data/scripts/pc.inc
@@ -0,0 +1,108 @@
+EventScript_PC:: @ 81A6955
+ special sub_8110AB4
+ compare VAR_RESULT, 2
+ goto_if eq, EventScript_1A7AE0
+ lockall
+ checkflag FLAG_SYS_PC_STORAGE_DISABLED
+ goto_if TRUE, EventScript_PCDisabled
+ setvar VAR_0x8004, 27
+ special Special_SetSomeVariable
+ setvar VAR_0x8004, 0
+ special Special_AnimatePcTurnOn
+ playse SE_PC_ON
+ msgbox Text_BootedUpPC
+ goto EventScript_PCMainMenu
+ end
+
+EventScript_PCDisabled:: @ 81A698E
+ msgbox Text_UsualPCServicesUnavailable
+ releaseall
+ end
+
+EventScript_PCMainMenu:: @ 81A6998
+ message Text_AccessWhichPC
+ waitmessage
+ special ScrSpecial_CreatePCMenu
+ waitstate
+ goto EventScript_ChoosePCMenu
+ end
+
+EventScript_ChoosePCMenu:: @ 81A69A8
+ switch VAR_RESULT
+ case 0, EventScript_AccessPokemonStorage
+ case 1, EventScript_AccessPlayersPC
+ case 2, EventScript_AccessProfOaksPC
+ case 3, EventScript_1A6A56
+ case 4, EventScript_1A6A46
+ case SCR_MENU_CANCEL, EventScript_1A6A46
+ end
+
+EventScript_AccessPlayersPC:: @ 81A69F0
+ playse SE_PC_LOGIN
+ msgbox Text_AccessedPlayersPC
+ special PlayerPC
+ waitstate
+ goto EventScript_PCMainMenu
+ end
+
+EventScript_AccessPokemonStorage:: @ 81A6A05
+ playse SE_PC_LOGIN
+ checkflag FLAG_SYS_NOT_SOMEONES_PC
+ call_if FALSE, EventScript_1A6A34
+ checkflag FLAG_SYS_NOT_SOMEONES_PC
+ call_if TRUE, EventScript_1A6A3D
+ msgbox Text_OpenedPkmnStorage
+ special ShowPokemonStorageSystem
+ waitstate
+ setvar VAR_0x8004, 27
+ special Special_SetSomeVariable
+ goto EventScript_PCMainMenu
+ end
+
+EventScript_1A6A34:: @ 81A6A34
+ msgbox Text_AccessedSomeonesPC
+ return
+
+EventScript_1A6A3D:: @ 81A6A3D
+ msgbox Text_AccessedBillsPC
+ return
+
+EventScript_1A6A46:: @ 81A6A46
+ setvar VAR_0x8004, 0
+ playse SE_PC_OFF
+ special Special_AnimatePcTurnOff
+ special sub_812B35C
+ releaseall
+ end
+
+EventScript_1A6A56:: @ 81A6A56
+ checkflag FLAG_SYS_GAME_CLEAR
+ goto_if FALSE, EventScript_1A6A46
+ playse SE_PC_LOGIN
+ setvar VAR_0x8004, 31
+ special HelpSystem_BackupSomeVariable
+ special Special_SetSomeVariable
+ special HallOfFamePCBeginFade
+ waitstate
+ special HelpSystem_RestoreSomeVariable
+ goto EventScript_ChoosePCMenu
+ end
+
+EventScript_AccessProfOaksPC:: @ 81A6A7A
+ checkflag FLAG_SYS_POKEDEX_GET
+ goto_if FALSE, EventScript_1A6A46
+ playse SE_PC_LOGIN
+ msgbox Text_AccessedProfOaksPC
+ msgbox Text_HavePokedexRated, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if eq, EventScript_ExitOaksPC
+ setflag FLAG_OAKS_RATING_IS_VIA_PC
+ call EventScript_1A73E0
+ clearflag FLAG_OAKS_RATING_IS_VIA_PC
+ goto EventScript_ExitOaksPC
+ end
+
+EventScript_ExitOaksPC:: @ 81A6AB2
+ msgbox Text_ClosedLinkToProfOaksPC
+ goto EventScript_PCMainMenu
+ end
diff --git a/data/scripts/silphco_doors.inc b/data/scripts/silphco_doors.inc
new file mode 100644
index 000000000..07e1db17d
--- /dev/null
+++ b/data/scripts/silphco_doors.inc
@@ -0,0 +1,585 @@
+EventScript_NeedCardKey:: @ 81A8135
+ msgbox Text_ItNeedsCardKey
+ releaseall
+ end
+
+EventScript_DoorUnlocked:: @ 81A813F
+ msgbox Text_TheDoorIsOpen
+ releaseall
+ end
+
+EventScript_Close2FDoor1:: @ 81A8149
+ setmetatile 5, 8, 944, 1
+ setmetatile 6, 8, 945, 1
+ setmetatile 5, 9, 952, 1
+ setmetatile 6, 9, 953, 1
+ setmetatile 6, 10, 821, 0
+ return
+
+EventScript_Close2FDoor2:: @ 81A8177
+ setmetatile 5, 15, 944, 1
+ setmetatile 6, 15, 945, 1
+ setmetatile 5, 16, 952, 1
+ setmetatile 6, 16, 953, 1
+ setmetatile 6, 17, 821, 0
+ return
+
+EventScript_Close3FDoor1:: @ 81A81A5
+ setmetatile 9, 11, 960, 1
+ setmetatile 10, 11, 961, 1
+ setmetatile 9, 12, 962, 1
+ setmetatile 10, 12, 963, 1
+ setmetatile 9, 13, 964, 1
+ setmetatile 10, 13, 965, 1
+ return
+
+EventScript_Close3FDoor2:: @ 81A81DC
+ setmetatile 20, 11, 960, 1
+ setmetatile 21, 11, 961, 1
+ setmetatile 20, 12, 962, 1
+ setmetatile 21, 12, 963, 1
+ setmetatile 20, 13, 964, 1
+ setmetatile 21, 13, 965, 1
+ return
+
+EventScript_Close4FDoor1:: @ 81A8213
+ setmetatile 3, 16, 944, 1
+ setmetatile 4, 16, 945, 1
+ setmetatile 3, 17, 952, 1
+ setmetatile 4, 17, 953, 1
+ setmetatile 4, 18, 821, 0
+ return
+
+EventScript_Close4FDoor2:: @ 81A8241
+ setmetatile 14, 11, 944, 1
+ setmetatile 15, 11, 945, 1
+ setmetatile 14, 12, 952, 1
+ setmetatile 15, 12, 953, 1
+ setmetatile 15, 13, 821, 0
+ return
+
+EventScript_Close5FDoor1:: @ 81A826F
+ setmetatile 7, 8, 960, 1
+ setmetatile 8, 8, 961, 1
+ setmetatile 7, 9, 962, 1
+ setmetatile 8, 9, 963, 1
+ setmetatile 7, 10, 964, 1
+ setmetatile 8, 10, 965, 1
+ return
+
+EventScript_Close5FDoor2:: @ 81A82A6
+ setmetatile 7, 17, 960, 1
+ setmetatile 8, 17, 961, 1
+ setmetatile 7, 18, 962, 1
+ setmetatile 8, 18, 963, 1
+ setmetatile 7, 19, 964, 1
+ setmetatile 8, 19, 965, 1
+ return
+
+EventScript_Close5FDoor3:: @ 81A82DD
+ setmetatile 18, 12, 960, 1
+ setmetatile 19, 12, 961, 1
+ setmetatile 18, 13, 962, 1
+ setmetatile 19, 13, 963, 1
+ setmetatile 18, 14, 964, 1
+ setmetatile 19, 14, 965, 1
+ return
+
+EventScript_Close6FDoor:: @ 81A8314
+ setmetatile 5, 14, 960, 1
+ setmetatile 6, 14, 961, 1
+ setmetatile 5, 15, 962, 1
+ setmetatile 6, 15, 963, 1
+ setmetatile 5, 16, 964, 1
+ setmetatile 6, 16, 965, 1
+ return
+
+EventScript_Close7FDoor1:: @ 81A834B
+ setmetatile 11, 8, 944, 1
+ setmetatile 12, 8, 945, 1
+ setmetatile 11, 9, 952, 1
+ setmetatile 12, 9, 953, 1
+ setmetatile 12, 10, 821, 0
+ return
+
+EventScript_Close7FDoor2:: @ 81A8379
+ setmetatile 24, 7, 944, 1
+ setmetatile 25, 7, 945, 1
+ setmetatile 24, 8, 952, 1
+ setmetatile 25, 8, 953, 1
+ setmetatile 25, 9, 821, 0
+ return
+
+EventScript_Close7FDoor3:: @ 81A83A7
+ setmetatile 25, 13, 944, 1
+ setmetatile 26, 13, 945, 1
+ setmetatile 25, 14, 952, 1
+ setmetatile 26, 14, 953, 1
+ setmetatile 26, 15, 821, 0
+ return
+
+EventScript_Close8FDoor:: @ 81A83D5
+ setmetatile 5, 9, 960, 1
+ setmetatile 6, 9, 961, 1
+ setmetatile 5, 10, 962, 1
+ setmetatile 6, 10, 963, 1
+ setmetatile 5, 11, 964, 1
+ setmetatile 6, 11, 965, 1
+ return
+
+EventScript_Close9FDoor1:: @ 81A840C
+ setmetatile 2, 9, 960, 1
+ setmetatile 3, 9, 961, 1
+ setmetatile 2, 10, 962, 1
+ setmetatile 3, 10, 963, 1
+ setmetatile 2, 11, 964, 1
+ setmetatile 3, 11, 965, 1
+ return
+
+EventScript_Close9FDoor2:: @ 81A8443
+ setmetatile 12, 15, 960, 1
+ setmetatile 13, 15, 961, 1
+ setmetatile 12, 16, 962, 1
+ setmetatile 13, 16, 963, 1
+ setmetatile 12, 17, 964, 1
+ setmetatile 13, 17, 965, 1
+ return
+
+EventScript_Close9FDoor3:: @ 81A847A
+ setmetatile 21, 6, 944, 1
+ setmetatile 22, 6, 945, 1
+ setmetatile 21, 7, 952, 1
+ setmetatile 22, 7, 953, 1
+ setmetatile 22, 8, 821, 0
+ return
+
+EventScript_Close9FDoor4:: @ 81A84A8
+ setmetatile 21, 12, 944, 1
+ setmetatile 22, 12, 945, 1
+ setmetatile 21, 13, 952, 1
+ setmetatile 22, 13, 953, 1
+ setmetatile 22, 14, 821, 0
+ return
+
+EventScript_Close10FDoor:: @ 81A84D6
+ setmetatile 12, 11, 944, 1
+ setmetatile 13, 11, 945, 1
+ setmetatile 12, 12, 952, 1
+ setmetatile 13, 12, 953, 1
+ setmetatile 13, 13, 821, 0
+ return
+
+EventScript_Close11FDoor:: @ 81A8504
+ setmetatile 5, 16, 944, 1
+ setmetatile 6, 16, 945, 1
+ setmetatile 5, 17, 952, 1
+ setmetatile 6, 17, 953, 1
+ setmetatile 6, 18, 821, 0
+ return
+
+EventScript_Open2FDoor1:: @ 81A8532
+ setmetatile 5, 8, 821, 0
+ setmetatile 6, 8, 820, 0
+ setmetatile 5, 9, 821, 0
+ setmetatile 6, 9, 820, 0
+ setmetatile 6, 10, 820, 0
+ return
+
+EventScript_Open2FDoor2:: @ 81A8560
+ setmetatile 5, 15, 821, 0
+ setmetatile 6, 15, 820, 0
+ setmetatile 5, 16, 821, 0
+ setmetatile 6, 16, 820, 0
+ setmetatile 6, 17, 820, 0
+ return
+
+EventScript_Open3FDoor1:: @ 81A858E
+ setmetatile 9, 11, 839, 1
+ setmetatile 10, 11, 838, 1
+ setmetatile 9, 12, 821, 0
+ setmetatile 10, 12, 821, 0
+ setmetatile 9, 13, 825, 0
+ setmetatile 10, 13, 826, 0
+ return
+
+EventScript_Open3FDoor2:: @ 81A85C5
+ setmetatile 20, 11, 839, 1
+ setmetatile 21, 11, 838, 1
+ setmetatile 20, 12, 821, 0
+ setmetatile 21, 12, 821, 0
+ setmetatile 20, 13, 825, 0
+ setmetatile 21, 13, 826, 0
+ return
+
+EventScript_Open4FDoor1:: @ 81A85FC
+ setmetatile 3, 16, 821, 0
+ setmetatile 4, 16, 820, 0
+ setmetatile 3, 17, 821, 0
+ setmetatile 4, 17, 820, 0
+ setmetatile 4, 18, 820, 0
+ return
+
+EventScript_Open4FDoor2:: @ 81A862A
+ setmetatile 14, 11, 821, 0
+ setmetatile 15, 11, 820, 0
+ setmetatile 14, 12, 821, 0
+ setmetatile 15, 12, 820, 0
+ setmetatile 15, 13, 820, 0
+ return
+
+EventScript_Open5FDoor1:: @ 81A8658
+ setmetatile 7, 8, 839, 1
+ setmetatile 8, 8, 838, 1
+ setmetatile 7, 9, 821, 0
+ setmetatile 8, 9, 821, 0
+ setmetatile 7, 10, 825, 0
+ setmetatile 8, 10, 826, 0
+ return
+
+EventScript_Open5FDoor2:: @ 81A868F
+ setmetatile 7, 17, 839, 1
+ setmetatile 8, 17, 838, 1
+ setmetatile 7, 18, 821, 0
+ setmetatile 8, 18, 821, 0
+ setmetatile 7, 19, 825, 0
+ setmetatile 8, 19, 826, 0
+ return
+
+EventScript_Open5FDoor3:: @ 81A86C6
+ setmetatile 18, 12, 839, 1
+ setmetatile 19, 12, 838, 1
+ setmetatile 18, 13, 821, 0
+ setmetatile 19, 13, 821, 0
+ setmetatile 18, 14, 825, 0
+ setmetatile 19, 14, 826, 0
+ return
+
+EventScript_Open6FDoor:: @ 81A86FD
+ setmetatile 5, 14, 839, 1
+ setmetatile 6, 14, 838, 1
+ setmetatile 5, 15, 821, 0
+ setmetatile 6, 15, 821, 0
+ setmetatile 5, 16, 825, 0
+ setmetatile 6, 16, 826, 0
+ return
+
+EventScript_Open7FDoor1:: @ 81A8734
+ setmetatile 11, 8, 821, 0
+ setmetatile 12, 8, 820, 0
+ setmetatile 11, 9, 821, 0
+ setmetatile 12, 9, 820, 0
+ setmetatile 12, 10, 820, 0
+ return
+
+EventScript_Open7FDoor2:: @ 81A8762
+ setmetatile 24, 7, 821, 0
+ setmetatile 25, 7, 820, 0
+ setmetatile 24, 8, 821, 0
+ setmetatile 25, 8, 820, 0
+ setmetatile 25, 9, 820, 0
+ return
+
+EventScript_Open7FDoor3:: @ 81A8790
+ setmetatile 25, 13, 821, 0
+ setmetatile 26, 13, 820, 0
+ setmetatile 25, 14, 821, 0
+ setmetatile 26, 14, 820, 0
+ setmetatile 26, 15, 820, 0
+ return
+
+EventScript_Open8FDoor:: @ 81A87BE
+ setmetatile 5, 9, 839, 1
+ setmetatile 6, 9, 838, 1
+ setmetatile 5, 10, 821, 0
+ setmetatile 6, 10, 821, 0
+ setmetatile 5, 11, 825, 0
+ setmetatile 6, 11, 826, 0
+ return
+
+EventScript_Open9FDoor1:: @ 81A87F5
+ setmetatile 2, 9, 839, 1
+ setmetatile 3, 9, 838, 1
+ setmetatile 2, 10, 821, 0
+ setmetatile 3, 10, 821, 0
+ setmetatile 2, 11, 825, 0
+ setmetatile 3, 11, 826, 0
+ return
+
+EventScript_Open9FDoor2:: @ 81A882C
+ setmetatile 12, 15, 839, 1
+ setmetatile 13, 15, 838, 1
+ setmetatile 12, 16, 821, 0
+ setmetatile 13, 16, 821, 0
+ setmetatile 12, 17, 825, 0
+ setmetatile 13, 17, 826, 0
+ return
+
+EventScript_Open9FDoor3:: @ 81A8863
+ setmetatile 21, 6, 821, 0
+ setmetatile 22, 6, 820, 0
+ setmetatile 21, 7, 821, 0
+ setmetatile 22, 7, 820, 0
+ setmetatile 22, 8, 820, 0
+ return
+
+EventScript_Open9FDoor4:: @ 81A8891
+ setmetatile 21, 12, 821, 0
+ setmetatile 22, 12, 820, 0
+ setmetatile 21, 13, 821, 0
+ setmetatile 22, 13, 820, 0
+ setmetatile 22, 14, 820, 0
+ return
+
+EventScript_Open10FDoor:: @ 81A88BF
+ setmetatile 12, 11, 821, 0
+ setmetatile 13, 11, 820, 0
+ setmetatile 12, 12, 821, 0
+ setmetatile 13, 12, 820, 0
+ setmetatile 13, 13, 820, 0
+ return
+
+EventScript_Open11FDoor:: @ 81A88ED
+ setmetatile 5, 16, 821, 0
+ setmetatile 6, 16, 820, 0
+ setmetatile 5, 17, 821, 0
+ setmetatile 6, 17, 820, 0
+ setmetatile 6, 18, 820, 0
+ return
+
+SilphCo_2F_EventScript_Door1:: @ 81A891B
+ lockall
+ setvar VAR_0x4001, 1
+ setvar VAR_0x8004, 634
+ checkflag FLAG_SILPH_2F_DOOR_1
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_2F_EventScript_Door2:: @ 81A8935
+ lockall
+ setvar VAR_0x4001, 2
+ setvar VAR_0x8004, 635
+ checkflag FLAG_SILPH_2F_DOOR_2
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_3F_EventScript_Door1:: @ 81A894F
+ lockall
+ setvar VAR_0x4001, 3
+ setvar VAR_0x8004, 636
+ checkflag FLAG_SILPH_3F_DOOR_1
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_3F_EventScript_Door2:: @ 81A8969
+ lockall
+ setvar VAR_0x4001, 4
+ setvar VAR_0x8004, 637
+ checkflag FLAG_SILPH_3F_DOOR_2
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_4F_EventScript_Door1:: @ 81A8983
+ lockall
+ setvar VAR_0x4001, 5
+ setvar VAR_0x8004, 638
+ checkflag FLAG_SILPH_4F_DOOR_1
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_4F_EventScript_Door2:: @ 81A899D
+ lockall
+ setvar VAR_0x4001, 6
+ setvar VAR_0x8004, 639
+ checkflag FLAG_SILPH_4F_DOOR_2
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_5F_EventScript_Door1:: @ 81A89B7
+ lockall
+ setvar VAR_0x4001, 7
+ setvar VAR_0x8004, 640
+ checkflag FLAG_SILPH_5F_DOOR_1
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_5F_EventScript_Door2:: @ 81A89D1
+ lockall
+ setvar VAR_0x4001, 8
+ setvar VAR_0x8004, 641
+ checkflag FLAG_SILPH_5F_DOOR_2
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_5F_EventScript_Door3:: @ 81A89EB
+ lockall
+ setvar VAR_0x4001, 9
+ setvar VAR_0x8004, 642
+ checkflag FLAG_SILPH_5F_DOOR_3
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_6F_EventScript_Door:: @ 81A8A05
+ lockall
+ setvar VAR_0x4001, 10
+ setvar VAR_0x8004, 643
+ checkflag FLAG_SILPH_6F_DOOR
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_7F_EventScript_Door1:: @ 81A8A1F
+ lockall
+ setvar VAR_0x4001, 11
+ setvar VAR_0x8004, 644
+ checkflag FLAG_SILPH_7F_DOOR_1
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_7F_EventScript_Door2:: @ 81A8A39
+ lockall
+ setvar VAR_0x4001, 12
+ setvar VAR_0x8004, 645
+ checkflag FLAG_SILPH_7F_DOOR_2
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_7F_EventScript_Door3:: @ 81A8A53
+ lockall
+ setvar VAR_0x4001, 13
+ setvar VAR_0x8004, 646
+ checkflag FLAG_SILPH_7F_DOOR_3
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_8F_EventScript_Door:: @ 81A8A6D
+ lockall
+ setvar VAR_0x4001, 14
+ setvar VAR_0x8004, 647
+ checkflag FLAG_SILPH_8F_DOOR
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_9F_EventScript_Door1:: @ 81A8A87
+ lockall
+ setvar VAR_0x4001, 15
+ setvar VAR_0x8004, 648
+ checkflag FLAG_SILPH_9F_DOOR_1
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_9F_EventScript_Door2:: @ 81A8AA1
+ lockall
+ setvar VAR_0x4001, 16
+ setvar VAR_0x8004, 649
+ checkflag FLAG_SILPH_9F_DOOR_2
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_9F_EventScript_Door3:: @ 81A8ABB
+ lockall
+ setvar VAR_0x4001, 17
+ setvar VAR_0x8004, 650
+ checkflag FLAG_SILPH_9F_DOOR_3
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_9F_EventScript_Door4:: @ 81A8AD5
+ lockall
+ setvar VAR_0x4001, 18
+ setvar VAR_0x8004, 651
+ checkflag FLAG_SILPH_9F_DOOR_4
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_10F_EventScript_Door:: @ 81A8AEF
+ lockall
+ setvar VAR_0x4001, 19
+ setvar VAR_0x8004, 652
+ checkflag FLAG_SILPH_10F_DOOR
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+SilphCo_11F_EventScript_Door:: @ 81A8B09
+ lockall
+ setvar VAR_0x4001, 20
+ setvar VAR_0x8004, 653
+ checkflag FLAG_SILPH_11F_DOOR
+ goto_if TRUE, EventScript_DoorUnlocked
+ goto EventScript_TryUnlockDoor
+ end
+
+EventScript_TryUnlockDoor:: @ 81A8B23
+ checkflag FLAG_HIDE_SILPH_CO_5F_CARD_KEY
+ goto_if TRUE, EventScript_OpenDoor
+ goto EventScript_NeedCardKey
+ end
+
+EventScript_OpenDoor:: @ 81A8B32
+ playfanfare MUS_FANFA1
+ msgbox Text_CardKeyOpenedDoor
+ waitfanfare
+ compare VAR_0x4001, 1
+ call_if eq, EventScript_Open2FDoor1
+ compare VAR_0x4001, 2
+ call_if eq, EventScript_Open2FDoor2
+ compare VAR_0x4001, 3
+ call_if eq, EventScript_Open3FDoor1
+ compare VAR_0x4001, 4
+ call_if eq, EventScript_Open3FDoor2
+ compare VAR_0x4001, 5
+ call_if eq, EventScript_Open4FDoor1
+ compare VAR_0x4001, 6
+ call_if eq, EventScript_Open4FDoor2
+ compare VAR_0x4001, 7
+ call_if eq, EventScript_Open5FDoor1
+ compare VAR_0x4001, 8
+ call_if eq, EventScript_Open5FDoor2
+ compare VAR_0x4001, 9
+ call_if eq, EventScript_Open5FDoor3
+ compare VAR_0x4001, 10
+ call_if eq, EventScript_Open6FDoor
+ compare VAR_0x4001, 11
+ call_if eq, EventScript_Open7FDoor1
+ compare VAR_0x4001, 12
+ call_if eq, EventScript_Open7FDoor2
+ compare VAR_0x4001, 13
+ call_if eq, EventScript_Open7FDoor3
+ compare VAR_0x4001, 14
+ call_if eq, EventScript_Open8FDoor
+ compare VAR_0x4001, 15
+ call_if eq, EventScript_Open9FDoor1
+ compare VAR_0x4001, 16
+ call_if eq, EventScript_Open9FDoor2
+ compare VAR_0x4001, 17
+ call_if eq, EventScript_Open9FDoor3
+ compare VAR_0x4001, 18
+ call_if eq, EventScript_Open9FDoor4
+ compare VAR_0x4001, 19
+ call_if eq, EventScript_Open10FDoor
+ compare VAR_0x4001, 20
+ call_if eq, EventScript_Open11FDoor
+ waitse
+ playse SE_KI_GASYAN
+ special DrawWholeMapView
+ waitse
+ special Special_SetHiddenItemFlag
+ releaseall
+ end
diff --git a/data/scripts/test.inc b/data/scripts/test.inc
new file mode 100644
index 000000000..55578f159
--- /dev/null
+++ b/data/scripts/test.inc
@@ -0,0 +1,27 @@
+EventScript_1C5550:: @ 81C5552
+ msgbox Text_1C556D, MSGBOX_NPC
+ end
+
+EventScript_1C555B:: @ 81C555B
+ msgbox Text_1C558D, MSGBOX_SIGN
+ end
+
+EventScript_1C5564:: @ 81C5564
+ msgbox Text_1C55A4, MSGBOX_SIGN
+ end
+
+Text_1C556D:: @ 81C556D
+ .string "テストよう メッセージです!\n"
+ .string "ポケモンの せかいへ ようこそ!$"
+
+Text_1C558D:: @ 81C558D
+ .string "テストよう メッセージです!\n"
+ .string "かんばん です$"
+
+Text_1C55A4:: @ 81C55A4
+ .string "テストよう メッセージです!\n"
+ .string "ざひょう チェックの イベントです$"
+
+ .align 2
+Text_1C55C8:: @ 81C55C8
+ .string "$"
diff --git a/data/text/braille.inc b/data/text/braille.inc
new file mode 100644
index 000000000..a057ec84e
--- /dev/null
+++ b/data/text/braille.inc
@@ -0,0 +1,116 @@
+gUnknown_81A9288:: @ 81A9288
+ .braille "UP$"
+
+gUnknown_81A928B:: @ 81A928B
+ .braille "DOWN$"
+
+gUnknown_81A9290:: @ 81A9290
+ .braille "RIGHT$"
+
+gUnknown_81A9296:: @ 81A9296
+ .braille "LEFT$"
+
+gUnknown_81A929B:: @ 81A929B
+ .braille "CUT$"
+
+gUnknown_81A929F:: @ 81A929F
+ .braille "ABC$"
+
+gUnknown_81A92A3:: @ 81A92A3
+ .braille "GHI$"
+
+gUnknown_81A92A7:: @ 81A92A7
+ .braille "MNO$"
+
+gUnknown_81A92AB:: @ 81A92AB
+ .braille "TUV$"
+
+gUnknown_81A92AF:: @ 81A92AF
+ .braille "DEF$"
+
+gUnknown_81A92B3:: @ 81A92B3
+ .braille "JKL$"
+
+gUnknown_81A92B7:: @ 81A92B7
+ .braille "PQRS$"
+
+gUnknown_81A92BC:: @ 81A92BC
+ .braille "WXYZ$"
+
+gUnknown_81A92C1:: @ 81A92C1
+ .braille ".$"
+
+gUnknown_81A92C3:: @ 81A92C3
+ .braille ",$"
+
+gUnknown_81A92C5:: @ 81A92C5
+ .braille "EVERYTHING$"
+
+gUnknown_81A92D0:: @ 81A92D0
+ .braille "HAS MEANING$"
+
+gUnknown_81A92DC:: @ 81A92DC
+ .braille "EXISTENCE$"
+
+gUnknown_81A92E6:: @ 81A92E6
+ .braille "HAS MEANING$"
+
+gUnknown_81A92F2:: @ 81A92F2
+ .braille "BEING ALIVE$"
+
+gUnknown_81A92FE:: @ 81A92FE
+ .braille "HAS MEANING$"
+
+gUnknown_81A930A:: @ 81A930A
+ .braille "HAVE DREAMS$"
+
+gUnknown_81A9316:: @ 81A9316
+ .braille "USE POWER.$"
+
+gUnknown_81A9321:: @ 81A9321
+ .braille "LET THE TWO$"
+
+gUnknown_81A932D:: @ 81A932D
+ .braille "GLITTERING$"
+
+gUnknown_81A9338:: @ 81A9338
+ .braille "STONES$"
+
+gUnknown_81A933F:: @ 81A933F
+ .braille "ONE IN RED$"
+
+gUnknown_81A934A:: @ 81A934A
+ .braille "ONE IN BLUE$"
+
+gUnknown_81A9356:: @ 81A9356
+ .braille "CONNECT THE$"
+
+gUnknown_81A9362:: @ 81A9362
+ .braille "PAST.$"
+
+gUnknown_81A9368:: @ 81A9368
+ .braille "TWO FRIENDS$"
+
+gUnknown_81A9374:: @ 81A9374
+ .braille "SHARING$"
+
+gUnknown_81A937C:: @ 81A937C
+ .braille "POWER OPEN$"
+
+gUnknown_81A9387:: @ 81A9387
+ .braille "A WINDOW TO$"
+
+gUnknown_81A9393:: @ 81A9393
+ .braille "A NEW WORLD$"
+
+gUnknown_81A939F:: @ 81A939F
+ .braille "THAT GLOWS.$"
+
+gUnknown_81A93AB:: @ 81A93AB
+ .braille "THE NEXT$"
+
+gUnknown_81A93B4:: @ 81A93B4
+ .braille "WORLD WAITS$"
+
+gUnknown_81A93C0:: @ 81A93C0
+ .braille "FOR YOU.$"
diff --git a/data/text/new_game_intro.inc b/data/text/new_game_intro.inc
new file mode 100644
index 000000000..8a3696c8b
--- /dev/null
+++ b/data/text/new_game_intro.inc
@@ -0,0 +1,234 @@
+gOtherText_NewName:: @ 81C574F
+ .string "NEW NAME$"
+
+gNameChoice_Green:: @ 81C5758
+ .string "GREEN$"
+
+gNameChoice_Red:: @ 81C575E
+ .string "RED$"
+
+gNameChoice_Leaf:: @ 81C5762
+ .string "LEAF$"
+
+gNameChoice_Fire:: @ 81C5767
+ .string "FIRE$"
+
+gNameChoice_Gary:: @ 81C576C
+ .string "GARY$"
+
+gNameChoice_Kaz:: @ 81C5771
+ .string "KAZ$"
+
+gNameChoice_Toru:: @ 81C5775
+ .string "TORU$"
+
+gNameChoice_Ash:: @ 81C577A
+ .string "ASH$"
+
+gNameChoice_Kene:: @ 81C577E
+ .string "KENE$"
+
+gNameChoice_Geki:: @ 81C5783
+ .string "GEKI$"
+
+gNameChoice_Jak:: @ 81C5788
+ .string "JAK$"
+
+gNameChoice_Janne:: @ 81C578C
+ .string "JANNE$"
+
+gNameChoice_Jonn:: @ 81C5792
+ .string "JONN$"
+
+gNameChoice_Kamon:: @ 81C5797
+ .string "KAMON$"
+
+gNameChoice_Karl:: @ 81C579D
+ .string "KARL$"
+
+gNameChoice_Taylor:: @ 81C57A2
+ .string "TAYLOR$"
+
+gNameChoice_Oscar:: @ 81C57A9
+ .string "OSCAR$"
+
+gNameChoice_Hiro:: @ 81C57AF
+ .string "HIRO$"
+
+gNameChoice_Max:: @ 81C57B4
+ .string "MAX$"
+
+gNameChoice_Jon:: @ 81C57B8
+ .string "JON$"
+
+gNameChoice_Ralph:: @ 81C57BC
+ .string "RALPH$"
+
+gNameChoice_Kay:: @ 81C57C2
+ .string "KAY$"
+
+gNameChoice_Tosh:: @ 81C57C6
+ .string "TOSH$"
+
+gNameChoice_Roak:: @ 81C57CB
+ .string "ROAK$"
+
+gNameChoice_Omi:: @ 81C57D0
+ .string "OMI$"
+
+gNameChoice_Jodi:: @ 81C57D4
+ .string "JODI$"
+
+gNameChoice_Amanda:: @ 81C57D9
+ .string "AMANDA$"
+
+gNameChoice_Hillary:: @ 81C57E0
+ .string "HILLARY$"
+
+gNameChoice_Makey:: @ 81C57E8
+ .string "MAKEY$"
+
+gNameChoice_Michi:: @ 81C57EE
+ .string "MICHI$"
+
+gNameChoice_Paula:: @ 81C57F4
+ .string "PAULA$"
+
+gNameChoice_June:: @ 81C57FA
+ .string "JUNE$"
+
+gNameChoice_Cassie:: @ 81C57FF
+ .string "CASSIE$"
+
+gNameChoice_Rey:: @ 81C5806
+ .string "REY$"
+
+gNameChoice_Seda:: @ 81C580A
+ .string "SEDA$"
+
+gNameChoice_Kiko:: @ 81C580F
+ .string "KIKO$"
+
+gNameChoice_Mina:: @ 81C5814
+ .string "MINA$"
+
+gNameChoice_Norie:: @ 81C5819
+ .string "NORIE$"
+
+gNameChoice_Sai:: @ 81C581F
+ .string "SAI$"
+
+gNameChoice_Momo:: @ 81C5823
+ .string "MOMO$"
+
+gNameChoice_Suzi:: @ 81C5828
+ .string "SUZI$"
+
+gNewGame_HelpDocs1:: @ 81C582D
+ .string "The various buttons will be explained in\n"
+ .string "the order of their importance.$"
+
+gNewGame_HelpDocs2:: @ 81C5875
+ .string "Moves the main character.\n"
+ .string "Also used to choose various data\n"
+ .string "headings.$"
+
+gNewGame_HelpDocs3:: @ 81C58BA
+ .string "Used to confirm a choice, check\n"
+ .string "things, chat, and scroll text.$"
+
+gNewGame_HelpDocs4:: @ 81C58F9
+ .string "Used to exit, cancel a choice,\n"
+ .string "and cancel a mode.$"
+
+gNewGame_HelpDocs5:: @ 81C592B
+ .string "Press this button to open the\n"
+ .string "MENU.$"
+
+gNewGame_HelpDocs6:: @ 81C594F
+ .string "Used to shift items and to use\n"
+ .string "a registered item.$"
+
+gNewGame_HelpDocs7:: @ 81C5981
+ .string "If you need help playing the\n"
+ .string "game, or on how to do things,\n"
+ .string "press the L or R Button.$"
+
+gOakText_AskPlayerGender:: @ 81C59D5
+ .string "Now tell me. Are you a boy?\n"
+ .string "Or are you a girl?$"
+
+gNewGameAdventureIntro1::
+ .string "In the world which you are about to\n"
+ .string "enter, you will embark on a grand\n"
+ .string "adventure with you as the hero.\n"
+ .string "\n"
+ .string "Speak to people and check things\n"
+ .string "wherever you go, be it towns, roads,\n"
+ .string "or caves. Gather information and\n"
+ .string "hints from every source.$"
+
+gNewGameAdventureIntro2::
+ .string "New paths will open to you by helping\n"
+ .string "people in need, overcoming challenges,\n"
+ .string "and solving mysteries.\n"
+ .string "\n"
+ .string "At times, you will be challenged by\n"
+ .string "others and attacked by wild creatures.\n"
+ .string "Be brave and keep pushing on.$"
+
+gNewGameAdventureIntro3::
+ .string "Through your adventure, we hope\n"
+ .string "that you will interact with all sorts\n"
+ .string "of people and achieve personal growth.\n"
+ .string "That is our biggest objective.\n"
+ .string "\n"
+ .string "Press the A Button, and let your\n"
+ .string "adventure begin!$"
+
+gOakText_WelcomeToTheWorld:: @ 81C5C78
+ .string "Hello, there!\n"
+ .string "Glad to meet you!\pWelcome to the world of POKéMON!\pMy name is OAK.\pPeople affectionately refer to me\n"
+ .string "as the POKéMON PROFESSOR.\p$"
+
+gOakText_WorldInhabited1:: @ 81C5D06
+ .string "This world…$"
+
+gOakText_WorldInhabited2:: @ 81C5D12
+ .string "…is inhabited far and wide by\n"
+ .string "creatures called POKéMON.\p$"
+
+gOakText_PetsBattlingStudy:: @ 81C5D4B
+ .string "For some people, POKéMON are pets.\n"
+ .string "Others use them for battling.\pAs for myself…\pI study POKéMON as a profession.\p$"
+
+gOakText_TellMeALittleAboutYourself:: @ 81C5DBD
+ .string "But first, tell me a little about\n"
+ .string "yourself.\p$"
+
+gOakText_AskPlayerName:: @ 81C5DEA
+ .string "Let's begin with your name.\n"
+ .string "What is it?\p$"
+
+gOakText_FinalizePlayerName:: @ 81C5E13
+ .string "Right…\n"
+ .string "So your name is {PLAYER}.$"
+
+gOakText_IntroduceRival:: @ 81C5E2E
+ .string "This is my grandson.\pHe's been your rival since you both\n"
+ .string "were babies.\p…Erm, what was his name now?$"
+
+gOakText_AskRivalName:: @ 81C5E91
+ .string "Your rival's name, what was it now?$"
+
+gOakText_ConfirmRivalName:: @ 81C5EB5
+ .string "…Er, was it {RIVAL}?$"
+
+gOakText_RememberRivalName:: @ 81C5EC5
+ .string "That's right! I remember now!\n"
+ .string "His name is {RIVAL}!\p$"
+
+gOakText_LegendAboutToUnfold:: @ 81C5EF4
+ .string "{PLAYER}!\pYour very own POKéMON legend is\n"
+ .string "about to unfold!\pA world of dreams and adventures\n"
+ .string "with POKéMON awaits! Let's go!$"
diff --git a/data/text/obtain_item.inc b/data/text/obtain_item.inc
new file mode 100644
index 000000000..74a2716f8
--- /dev/null
+++ b/data/text/obtain_item.inc
@@ -0,0 +1,47 @@
+Text_ObtainedTheX:: @ 81A51F6
+ .string "Obtained the {STR_VAR_2}!$"
+
+Text_BagIsFull:: @ 81A5207
+ .string "The BAG is full…$"
+
+Text_PutItemAway:: @ 81A5218
+ .string "{PLAYER} put the {STR_VAR_2}\n"
+ .string "in the {STR_VAR_3}.$"
+
+Text_FoundOneItem:: @ 81A5231
+ .string "{PLAYER} found one {STR_VAR_2}!$"
+
+Text_TooBadBagFull:: @ 81A5242
+ .string "Too bad!\n"
+ .string "The BAG is full…$"
+
+Text_FoundXCoins:: @ 81A525C
+ .string "{PLAYER} found\n"
+ .string "{STR_VAR_1} {STR_VAR_2}!$"
+
+Text_PutCoinsAwayInCoinCase:: @ 81A526C
+ .string "{PLAYER} put the COINS away in\n"
+ .string "the COIN CASE.$"
+
+Text_CoinCaseIsFull:: @ 81A5294
+ .string "Too bad!\n"
+ .string "The COIN CASE is full…$"
+
+Text_NothingToPutThemIn:: @ 81A52B4
+ .string "Too bad!\n"
+ .string "There's nothing to put them in…$"
+
+Text_FoundXItems:: @ 81A52DD
+ .string "{PLAYER} found\n"
+ .string "{STR_VAR_1} {STR_VAR_2}(s)!$"
+
+Text_1A52F0:: @ 81A52F0
+ .string "Obtained the {STR_VAR_2}!$"
+
+Text_1A5301:: @ 81A5301
+ .string "Too bad! There's no room left for\n"
+ .string "another {STR_VAR_2}…$"
+
+gUnknown_81A532F:: @ 81A532F
+ .string "The {STR_VAR_2} was transferred\n"
+ .string "to the PC.$"
diff --git a/data/text/poke_dude.inc b/data/text/poke_dude.inc
new file mode 100644
index 000000000..fc1273056
--- /dev/null
+++ b/data/text/poke_dude.inc
@@ -0,0 +1,155 @@
+gUnknown_81C5F69::
+ .string "POKé DUDE: The speedier of the\n"
+ .string "battlers gets to attack first.$"
+
+gUnknown_81C5FA7::
+ .string "It looks like my RATTATA was\n"
+ .string "faster than the PIDGEY.$"
+
+gUnknown_81C5FDC::
+ .string "The battlers take turns attacking\n"
+ .string "and reducing each other's HP.$"
+
+gUnknown_81C601C::
+ .string "My RATTATA reduced the foe's HP\n"
+ .string "to zero, so it wins!\p"
+
+ .string "The POKéMON that took part in the\n"
+ .string "battle get EXP. Points.\p"
+
+ .string "When a POKéMON collects enough\n"
+ .string "EXP. Points, it levels up.\p"
+
+ .string "Leveling up makes your POKéMON\n"
+ .string "stronger than before.$"
+
+gUnknown_81C60FA::
+ .string "POKé DUDE: Uh-oh…\n"
+ .string "My RATTATA has been poisoned…\p"
+
+ .string "If a POKéMON is poisoned, it loses\n"
+ .string "HP steadily.$"
+
+gUnknown_81C615A::
+ .string "If a POKéMON develops a status\n"
+ .string "problem, heal it right away.$"
+
+gUnknown_81C6196::
+ .string "Using an item on a POKéMON uses\n"
+ .string "up one turn, though.\p"
+
+ .string "Now, it's the opponent's turn!$"
+
+gUnknown_81C61EA::
+ .string "Yay!\n"
+ .string "We managed to win!$"
+
+gUnknown_81C6202::
+ .string "POKé DUDE: The move BUBBLE is\n"
+ .string "a WATER-type attack.\p"
+
+ .string "The targeted ODDISH is a\n"
+ .string "GRASS/POISON-type POKéMON.\p"
+
+ .string "The WATER-type attack is absorbed\n"
+ .string "by the GRASS-type POKéMON…\p"
+
+ .string "As a result, the move becomes not\n"
+ .string "very effective, and inflicts only\l"
+ .string "half the usual damage.$"
+
+gUnknown_81C6301::
+ .string "Uh-oh, this is not good!\p"
+
+ .string "The ABSORB attack you just saw\n"
+ .string "is a GRASS-type move.\p"
+
+ .string "POLIWAG is a WATER-type POKéMON.\p"
+
+ .string "So, ABSORB becomes super\n"
+ .string "effective, doubling the damage.$"
+
+gUnknown_81C63A9::
+ .string "It's not going to be easy to win\n"
+ .string "with this matchup…\p"
+
+ .string "Let's try shifting POKéMON!$"
+
+gUnknown_81C63F9::
+ .string "Shifting POKéMON in and out uses\n"
+ .string "up one turn.\p"
+
+ .string "Now, it's the opponent's turn.$"
+
+gUnknown_81C6446::
+ .string "BUTTERFREE is a BUG/FLYING-type\n"
+ .string "POKéMON.\p"
+
+ .string "Against this POKéMON, a GRASS-\n"
+ .string "type attack…\p"
+
+ .string "…inflicts only half the usual\n"
+ .string "damage on a BUG-type POKéMON…\p"
+
+ .string "…And, it also causes only half the\n"
+ .string "damage on a FLYING-type POKéMON.\p"
+
+ .string "Therefore, BUTTERFREE, being a\n"
+ .string "BUG/FLYING POKéMON, only takes\l"
+ .string "one quarter of the usual damage.$"
+
+gUnknown_81C657A::
+ .string "ODDISH is a GRASS/POISON-type\n"
+ .string "POKéMON.\p"
+
+ .string "A FLYING- or PSYCHIC-type attack\n"
+ .string "is super effective against it.\p"
+
+ .string "One of those types of attacks will\n"
+ .string "inflict double the usual damage.\p"
+
+ .string "Okay, here we go!$"
+
+gUnknown_81C6637::
+ .string "Yeah!\n"
+ .string "We won!$"
+
+gUnknown_81C6645::
+ .string "POKé DUDE: When you're trying to\n"
+ .string "catch a POKéMON, don't throw any\l"
+ .string "POKé BALLS right away.\p"
+
+ .string "First, you need to weaken it by\n"
+ .string "reducing its HP.$"
+
+gUnknown_81C66CF::
+ .string "Okay, that should be good enough.\p"
+
+ .string "But, if it's possible, it would be\n"
+ .string "best if the target has a status\l"
+ .string "problem.\p"
+
+ .string "For instance, it would be easier\n"
+ .string "to catch if it were asleep or\l"
+ .string "paralyzed.$"
+
+gUnknown_81C6787::
+ .string "This will make the POKéMON a lot\n"
+ .string "easier to catch!\p"
+
+ .string "Oh, yes. If you paralyze a\n"
+ .string "POKéMON, you can't make it fall\l"
+ .string "asleep on top of paralysis.\p"
+
+ .string "In other words, you can't double\n"
+ .string "up status problems, okay?$"
+
+gUnknown_81C684B::
+ .string "Okay!\n"
+ .string "Let me throw my POKé BALL!$"
+
+gUnknown_81C686C::
+ .string "Before you throw a POKé BALL,\n"
+ .string "consider the condition and the\l"
+ .string "type of POKéMON, and pick the kind\l"
+ .string "of BALL that would work best.$"
diff --git a/data/text/save.inc b/data/text/save.inc
new file mode 100644
index 000000000..4d459a7f3
--- /dev/null
+++ b/data/text/save.inc
@@ -0,0 +1,26 @@
+gText_WouldYouLikeToSaveTheGame:: @ 81C55C9
+ .string "Would you like to save the game?$"
+
+gText_AlreadySaveFile_WouldLikeToOverwrite:: @ 81C55EA
+ .string "There is already a saved file.\n"
+ .string "Is it okay to overwrite it?$"
+
+gText_SavingDontTurnOffThePower:: @ 81C5625
+ .string "SAVING…\n"
+ .string "DON'T TURN OFF THE POWER.$"
+
+gText_PlayerSavedTheGame:: @ 81C5647
+ .string "{PLAYER} saved the game.$"
+
+gUnknown_81C565A::
+ .string "セーブに しっぱい しました‥$"
+
+gText_DifferentGameFile:: @ 81C566A
+ .string "WARNING!\p"
+ .string "There is a different game file that\n"
+ .string "is already saved.\p"
+ .string "If you save now, the other file's\n"
+ .string "adventure, including items and\l"
+ .string "POKéMON, will be entirely lost.\p"
+ .string "Are you sure you want to save now\n"
+ .string "and overwrite the other save file?$"
diff --git a/include/event_scripts.h b/include/event_scripts.h
index b899a217b..08b5b8c01 100644
--- a/include/event_scripts.h
+++ b/include/event_scripts.h
@@ -1184,6 +1184,7 @@ extern const u8 Text_1BCB42[];
extern const u8 Text_1BCA95[];
extern const u8 Text_1BCACB[];
extern const u8 Text_1BCAF2[];
+extern const u8 EventScript_PC[];
extern const u8 EventScript_RepelWoreOff[];
diff --git a/include/strings.h b/include/strings.h
index 4379ebb65..33650663d 100644
--- a/include/strings.h
+++ b/include/strings.h
@@ -706,6 +706,7 @@ extern const u8 gText_HpUp_1000[];
extern const u8 gText_PpUp_3000[];
// script_menu
+extern const u8 Text_AccessWhichPC[];
extern const u8 gText_SomeoneSPc[];
extern const u8 gText_BillSPc[];
extern const u8 gText_SPc[];
@@ -713,7 +714,6 @@ extern const u8 gText_HallOfFame_2[];
extern const u8 gText_LogOff[];
extern const u8 gText_ProfOakSPc[];
extern const u8 gText_Other[];
-extern const u8 gUnknown_81A508A[];
extern const u8 gOtherText_Double[];
extern const u8 gOtherText_Knockout[];
extern const u8 gOtherText_Mixed[];
diff --git a/src/script_menu.c b/src/script_menu.c
index be8578cd0..827f79fa6 100644
--- a/src/script_menu.c
+++ b/src/script_menu.c
@@ -1007,7 +1007,7 @@ static void CreatePCMenuWindow(void)
void ScriptMenu_DisplayPCStartupPrompt(void)
{
sub_80F7768(0, TRUE);
- AddTextPrinterParameterized2(0, 2, gUnknown_81A508A, 0, NULL, 2, 1, 3);
+ AddTextPrinterParameterized2(0, 2, Text_AccessWhichPC, 0, NULL, 2, 1, 3);
}
static void Task_ScriptShowMonPic(u8 taskId)