summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2019-10-13 22:04:51 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2019-10-13 22:04:51 -0400
commit8fd0bc424541cec7fc76a4f841035c2b9e793b0e (patch)
treea823c569134fda669d661dd6085dd6a2980ad931 /data
parent6bffe8613e2f764a03f551ad61b360dab9395eec (diff)
Decompile start_menu
Diffstat (limited to 'data')
-rw-r--r--data/map_event_scripts.inc34
-rw-r--r--data/maps/PalletTown_PlayersHouse_2F/scripts.inc2
-rw-r--r--data/specials.inc8
-rw-r--r--data/start_menu.s28
-rw-r--r--data/strings.s44
-rw-r--r--data/tileset_anims.s3
6 files changed, 53 insertions, 66 deletions
diff --git a/data/map_event_scripts.inc b/data/map_event_scripts.inc
index abfd0d550..62a34d33c 100644
--- a/data/map_event_scripts.inc
+++ b/data/map_event_scripts.inc
@@ -774,7 +774,7 @@ EventScript_1A4EAE:: @ 81A4EAE
return
EventScript_1A4EAF:: @ 81A4EAF
- special sub_806F67C
+ special Field_AskSaveTheGame
waitstate
return
@@ -4447,21 +4447,33 @@ SevenIsland_TrainerTower_1F_EventScript_1C54EA:: @ 81C54EA
gUnknown_81C555B:: @ 81C555B
.incbin "baserom.gba", 0x1C555B, 0x6E
-gUnknown_81C55C9:: @ 81C55C9
- .incbin "baserom.gba", 0x1C55C9, 0x21
+gText_WouldYouLikeToSaveTheGame:: @ 81C55C9
+ .string "Would you like to save the game?$"
-gUnknown_81C55EA:: @ 81C55EA
- .incbin "baserom.gba", 0x1C55EA, 0x3B
+gText_AlreadySaveFile_WouldLikeToOverwrite:: @ 81C55EA
+ .string "There is already a saved file.\n"
+ .string "Is it okay to overwrite it?$"
-gUnknown_81C5625:: @ 81C5625
- .incbin "baserom.gba", 0x1C5625, 0x22
+gText_SavingDontTurnOffThePower:: @ 81C5625
+ .string "SAVING…\n"
+ .string "DON'T TURN OFF THE POWER.$"
-gUnknown_81C5647:: @ 81C5647
- .incbin "baserom.gba", 0x1C5647, 0x23
+gText_PlayerSavedTheGame:: @ 81C5647
+ .string "{PLAYER} saved the game.$"
+
+gUnknown_81C565A::
+ .string "セーブに しっぱい しました‥$"
@ 0xE5
-gUnknown_81C566A:: @ 81C566A
- .incbin "baserom.gba", 0x1C566A, 0xE5
+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$"
diff --git a/data/maps/PalletTown_PlayersHouse_2F/scripts.inc b/data/maps/PalletTown_PlayersHouse_2F/scripts.inc
index 77ff855e4..51865301c 100644
--- a/data/maps/PalletTown_PlayersHouse_2F/scripts.inc
+++ b/data/maps/PalletTown_PlayersHouse_2F/scripts.inc
@@ -36,7 +36,7 @@ PalletTown_PlayersHouse_2F_EventScript_168CE4:: @ 8168CE4
goto_if_eq EventScript_1A7AE0
lockall
setvar VAR_0x8004, 32
- special sub_812B220
+ special Special_SetSomeVariable
setvar VAR_0x8004, 1
special sub_80CA86C
playse SE_PC_ON
diff --git a/data/specials.inc b/data/specials.inc
index 6111e4836..d8d208d43 100644
--- a/data/specials.inc
+++ b/data/specials.inc
@@ -102,7 +102,7 @@ gSpecials:: @ 815FD60
def_special nullsub_75
def_special nullsub_75
def_special sub_8081128
- def_special sub_806F67C
+ def_special Field_AskSaveTheGame
def_special nullsub_56
def_special sub_80FEE44
def_special sub_80BDA7C
@@ -390,9 +390,9 @@ gSpecials:: @ 815FD60
def_special TakePokemonFromRoute5Daycare
def_special ScrSpecial_SeaGallopFerry
def_special sub_80CC48C
- def_special sub_812B220
- def_special sub_812B234
- def_special sub_812B248
+ def_special Special_SetSomeVariable
+ def_special HelpSystem_BackupSomeVariable
+ def_special HelpSystem_RestoreSomeVariable
def_special ValidateReceivedWonderCard
def_special sub_810B810
def_special sub_811999C
diff --git a/data/start_menu.s b/data/start_menu.s
deleted file mode 100644
index e004a6628..000000000
--- a/data/start_menu.s
+++ /dev/null
@@ -1,28 +0,0 @@
- .section .rodata
- .align 2
-gUnknown_83A7344:: @ 83A7344
- .incbin "baserom.gba", 0x3A7344, 0x48
-
-gUnknown_83A738C:: @ 83A738C
- .incbin "baserom.gba", 0x3A738C, 0x8
-
-gUnknown_83A7394:: @ 83A7394
- .incbin "baserom.gba", 0x3A7394, 0x24
-
-gUnknown_83A73B8:: @ 83A73B8
- .incbin "baserom.gba", 0x3A73B8, 0x4
-
-gUnknown_83A73BC:: @ 83A73BC
- .incbin "baserom.gba", 0x3A73BC, 0x10
-
-gUnknown_83A73CC:: @ 83A73CC
- .incbin "baserom.gba", 0x3A73CC, 0x8
-
-gUnknown_83A73D4:: @ 83A73D4
- .incbin "baserom.gba", 0x3A73D4, 0x4
-
-gUnknown_83A73D8:: @ 83A73D8
- .incbin "baserom.gba", 0x3A73D8, 0x4
-
-gUnknown_83A73DC:: @ 83A73DC
- .incbin "baserom.gba", 0x3A73DC, 0x284
diff --git a/data/strings.s b/data/strings.s
index 4f0fefb19..6efa519e6 100644
--- a/data/strings.s
+++ b/data/strings.s
@@ -45,7 +45,7 @@ gExpandedPlaceholder_Green:: @ 8415A5C
gText_EggNickname:: @ 8415A62
.string "EGG$"
-gText_Pokemon:: @ 8415A66
+gStartMenuText_Pokemon:: @ 8415A66
.string "POKéMON$"
gText_NewGame:: @ 8415A6E
@@ -351,19 +351,19 @@ gUnknown_8416133:: @ 0x8416133
gUnknown_8416146:: @ 0x8416146
.string "ポケモン$"
-gUnknown_841614B:: @ 841614B
+gText_SaveError_PleaseExchangeBackupMemory:: @ 841614B
.string "Save error.\pPlease exchange the\nbackup memory.$"
-gUnknown_841617A:: @ 841617A
+gSaveStatName_Player:: @ 841617A
.string "PLAYER$"
-gUnknown_8416181:: @ 8416181
+gSaveStatName_Badges:: @ 8416181
.string "BADGES$"
-gUnknown_8416188:: @ 8416188
+gSaveStatName_Pokedex:: @ 8416188
.string "POKéDEX$"
-gUnknown_8416190:: @ 8416190
+gSaveStatName_Time:: @ 8416190
.string "TIME$"
gUnknown_8416195::
@@ -482,28 +482,28 @@ gText_GoBackToThePreviousMenu::
gText_WhatWouldYouLikeToDo:: @ 8416262
.string "What would you like to do?$"
-gUnknown_841627D::
+gStartMenuText_Pokedex::
.string "POKéDEX$"
-gUnknown_8416285:: @ 8416285
+gStartMenuText_Bag:: @ 8416285
.string "BAG$"
gUnknown_8416289::
.string "ポケナビ$"
-gUnknown_841628E::
+gStartMenuText_Player::
.string "{PLAYER}$"
-gUnknown_8416291::
+gStartMenuText_Save::
.string "SAVE$"
-gUnknown_8416296::
+gStartMenuText_Option::
.string "OPTION$"
-gUnknown_841629D::
+gStartMenuText_Exit::
.string "EXIT$"
-gUnknown_84162A2::
+gStartMenuText_Retire::
.string "RETIRE$"
gUnknown_84162A9:: @ 84162A9
@@ -2820,38 +2820,38 @@ gUnknown_8419F10:: @ 0x8419F10
gUnknown_8419F2D:: @ 0x8419F2D
.string "ゲ-ムない じかんの しゅうせい システムが\nつかえる ように なりました!$"
-gUnknown_8419F54:: @ 8419F54
+gText_SavingDontTurnOffThePower2:: @ 8419F54
.string "SAVING…\n"
.string "DON'T TURN OFF THE POWER.$"
// Start menu option descriptions
-gUnknown_8419F76:: @ 8419F76 // Pokedex
+gStartMenuDesc_Pokedex:: @ 8419F76 // Pokedex
.string "A device that records POKéMON secrets\n"
.string "upon meeting or catching them.$"
-gUnknown_8419FBB:: @ 8419FBB // Pokemon
+gStartMenuDesc_Pokemon:: @ 8419FBB // Pokemon
.string "Check and organize POKéMON that are\n"
.string "traveling with you in your party.$"
-gUnknown_841A001:: @ 841A001 // Bag
+gStartMenuDesc_Bag:: @ 841A001 // Bag
.string "Equipped with pockets for storing items\n"
.string "you bought, received, or found.$"
-gUnknown_841A049:: @ 841A049 // {PLAYER}
+gStartMenuDesc_Player:: @ 841A049 // {PLAYER}
.string "Check your money and other game data.$"
-gUnknown_841A06F:: @ 841A06F // Save
+gStartMenuDesc_Save:: @ 841A06F // Save
.string "Save your game with a complete record\n"
.string "of your progress to take a break.$"
-gUnknown_841A0B7:: @ 841A0B7 // Options
+gStartMenuDesc_Option:: @ 841A0B7 // Options
.string "Adjust various game settings such as text\n"
.string "speed, game rules, etc.$"
-gUnknown_841A0F9:: @ 841A0F9 // Quit
+gStartMenuDesc_Exit:: @ 841A0F9 // Quit
.string "Close this MENU window.$"
-gUnknown_841A111:: @ 841A111 // Retire
+gStartMenuDesc_Retire:: @ 841A111 // Retire
.string "Retire from the SAFARI GAME and return to\n"
.string "the registration counter.$"
diff --git a/data/tileset_anims.s b/data/tileset_anims.s
index 9881cdd3f..5f2320fd3 100644
--- a/data/tileset_anims.s
+++ b/data/tileset_anims.s
@@ -1,5 +1,8 @@
.section .rodata
.align 2
+gUnknown_83A73E0:: @ 83A73E0
+ .incbin "baserom.gba", 0x3A73E0, 0x280
+
gUnknown_83A7660:: @ 83A7660
.incbin "baserom.gba", 0x3A7660, 0x2FF4