diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-06-30 18:59:17 -0400 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-06-30 18:59:17 -0400 |
commit | 6607a006745aab863eb9689fd2404837ac3d453f (patch) | |
tree | 479f90ce5921776449ba0a585b4bc8920e2cacfe | |
parent | 1b9318d8af8181ab9a4f64170d193c4b76d84dc3 (diff) |
add data to C file
-rw-r--r-- | data/sound_check_menu.s | 121 | ||||
-rw-r--r-- | data/text/song_names.inc | 1105 | ||||
-rwxr-xr-x | ld_script.txt | 2 | ||||
-rwxr-xr-x | src/sound_check_menu.c | 960 |
4 files changed, 926 insertions, 1262 deletions
diff --git a/data/sound_check_menu.s b/data/sound_check_menu.s deleted file mode 100644 index 9278b8b45..000000000 --- a/data/sound_check_menu.s +++ /dev/null @@ -1,121 +0,0 @@ - .include "asm/macros.inc" - .include "constants/constants.inc" - - .section .rodata - - .align 2 @ object file boundary? - -gDebugText_SoundCheckJap:: @ 83D02C8 - .string "サウンドチェック$" @ Sound Check - -gDebugText_BGM:: @ 83D02D1 - .string "BGM$" - -gDebugText_SE:: @ 83D02D5 - .string "SE $" - -gDebugText_ABDesc:: @ 83D02D9 - .string "A‥さいせい B‥おわり$" - -gDebugText_UpDown:: @ 83D02E6 - .string "L‥UP R‥DOWN$" - -gDebugText_DriverTest:: @ 83D02F2 - .string "R‥DRIVER-TEST$" - -gUnknown_083D0300:: @ 83D0300 - .byte 1, 1 - .byte 1, 3 - .byte 1, 5 - .byte 1, 7 - .byte 1, 9 - .byte 1, 11 - .byte 1, 13 - .byte 1, 15 - .byte 1, 17 - -gDebugText_BBack:: @ 83D0312 - .string "Bぼたんで もどる$" @ back - -gDebugText_APlay:: @ 83D031C - .string "Aぼたんで さいせい$" @ play - -gDebugText_Voice:: @ 83D0327 - .string "VOICE‥‥‥‥$" - -gDebugText_Volume:: @ 83D0331 - .string "VOLUME‥‥‥$" - -gDebugText_Panpot:: @ 83D033B - .string "PANPOT‥‥‥$" - -gDebugText_Pitch:: @ 83D0345 - .string "PITCH‥‥‥‥$" - -gDebugText_Length:: @ 83D034F - .string "LENGTH‥‥‥$" - -gDebugText_Release:: @ 83D0359 - .string "RELEASE‥‥$" - -gDebugText_Progress:: @ 83D0363 - .string "PROGRESS‥$" - -gDebugText_Chorus:: @ 83D036D - .string "CHORUS‥‥‥$" - -gDebugText_Priority:: @ 83D0377 - .string "PRIORITY‥$" - -gDebugText_Playing:: @ 83D0381 - .string "さいせいちゆう‥$" @ 再生中 (playing) - -gDebugText_Reverse:: @ 83D038A - .string "はんてん‥‥‥‥$" @ 反転 (reverse) - -gDebugText_Stereo:: @ 83D0393 - .string "すてれお‥‥‥‥$" @ stereo - - .align 2 -gUnknown_083D039C:: @ 83D039C - .4byte 0, 387 - .4byte 0, 127 - .4byte -127, 127 - .4byte -128, 32639 - .4byte 0, 65535 - .4byte 0, 255 - .4byte 0, 65535 - .4byte -64, 63 - -gUnknown_083D03DC:: @ 83D03DC - .string "▶$" - -gUnknown_083D03DE:: @ 83D03DE - .string " $" - - .align 2 -gUnknown_083D03E0:: @ 83D03E0 - .4byte 1 - .4byte 10 - .4byte 100 - .4byte 1000 - .4byte 10000 - .4byte 100000 - -gUnknown_083D03F8:: @ 83D03F8 - .byte 0x3F, 0x00, 0xC0, 0x7F, 0x80 @ stereo panning - -gOtherText_SE:: @ 83D03FD - .string "SE$" - -gOtherText_Pan:: @ 83D0400 - .string "PAN$" - -gOtherText_LR:: @ 83D0404 - .string " LR$" - -gOtherText_RL:: @ 83D0409 - .string " RL$" - -@ 83D040E - .include "data/text/song_names.inc" diff --git a/data/text/song_names.inc b/data/text/song_names.inc deleted file mode 100644 index 29fad36e1..000000000 --- a/data/text/song_names.inc +++ /dev/null @@ -1,1105 +0,0 @@ -BGMName_STOP: - .string "STOP$" -BGMName_TETSUJI: - .string "TETSUJI$" -BGMName_FIELD13: - .string "FIELD13$" -BGMName_KACHI22: - .string "KACHI22$" -BGMName_KACHI2: - .string "KACHI2$" -BGMName_KACHI3: - .string "KACHI3$" -BGMName_KACHI5: - .string "KACHI5$" -BGMName_PCC: - .string "PCC$" -BGMName_NIBI: - .string "NIBI$" -BGMName_SUIKUN: - .string "SUIKUN$" -BGMName_DOORO1: - .string "DOORO1$" -BGMName_DOORO_X1: - .string "DOORO-X1$" -BGMName_DOORO_X3: - .string "DOORO-X3$" -BGMName_MACHI_S2: - .string "MACHI-S2$" -BGMName_MACHI_S4: - .string "MACHI-S4$" -BGMName_GIM: - .string "GIM$" -BGMName_NAMINORI: - .string "NAMINORI$" -BGMName_DAN01: - .string "DAN01$" -BGMName_FANFA1: - .string "FANFA1$" -BGMName_ME_ASA: - .string "ME-ASA$" -BGMName_ME_BACHI: - .string "ME-BACHI$" -BGMName_FANFA4: - .string "FANFA4$" -BGMName_FANFA5: - .string "FANFA5$" -BGMName_ME_WAZA: - .string "ME-WAZA$" -BGMName_BIJYUTU: - .string "BIJYUTU$" -BGMName_DOORO_X4: - .string "DOORO-X4$" -BGMName_FUNE_KAN: - .string "FUNE-KAN$" -BGMName_ME_SHINKA: - .string "ME-SHINKA$" -BGMName_SHINKA: - .string "SHINKA$" -BGMName_ME_WASURE: - .string "ME-WASURE$" -BGMName_SYOUJOEYE: - .string "SYOUJOEYE$" -BGMName_BOYEYE: - .string "BOYEYE$" -BGMName_DAN02: - .string "DAN02$" -BGMName_MACHI_S3: - .string "MACHI-S3$" -BGMName_ODAMAKI: - .string "ODAMAKI$" -BGMName_B_TOWER: - .string "B-TOWER$" -BGMName_SWIMEYE: - .string "SWIMEYE$" -BGMName_DAN03: - .string "DAN03$" -BGMName_ME_KINOMI: - .string "ME-KINOMI$" -BGMName_ME_TAMA: - .string "ME-TAMA$" -BGMName_ME_B_BIG: - .string "ME-B-BIG$" -BGMName_ME_B_SMALL: - .string "ME-B-SMALL$" -BGMName_ME_ZANNEN: - .string "ME-ZANNEN$" -BGMName_BD_TIME: - .string "BD-TIME$" -BGMName_TEST1: - .string "TEST1$" -BGMName_TEST2: - .string "TEST2$" -BGMName_TEST3: - .string "TEST3$" -BGMName_TEST4: - .string "TEST4$" -BGMName_TEST: - .string "TEST$" -BGMName_GOMACHI0: - .string "GOMACHI0$" -BGMName_GOTOWN: - .string "GOTOWN$" -BGMName_POKECEN: - .string "POKECEN$" -BGMName_NEXTROAD: - .string "NEXTROAD$" -BGMName_GRANROAD: - .string "GRANROAD$" -BGMName_CYCLING: - .string "CYCLING$" -BGMName_FRIENDLY: - .string "FRIENDLY$" -BGMName_MISHIRO: - .string "MISHIRO$" -BGMName_TOZAN: - .string "TOZAN$" -BGMName_GIRLEYE: - .string "GIRLEYE$" -BGMName_MINAMO: - .string "MINAMO$" -BGMName_ASHROAD: - .string "ASHROAD$" -BGMName_EVENT0: - .string "EVENT0$" -BGMName_DEEPDEEP: - .string "DEEPDEEP$" -BGMName_KACHI1: - .string "KACHI1$" -BGMName_TITLE3: - .string "TITLE3$" -BGMName_DEMO1: - .string "DEMO1$" -BGMName_GIRL_SUP: - .string "GIRL-SUP$" -BGMName_HAGESHII: - .string "HAGESHII$" -BGMName_KAKKOII: - .string "KAKKOII$" -BGMName_KAZANBAI: - .string "KAZANBAI$" -BGMName_AQA_0: - .string "AQA-0$" -BGMName_TSURETEK: - .string "TSURETEK$" -BGMName_BOY_SUP: - .string "BOY-SUP$" -BGMName_RAINBOW: - .string "RAINBOW$" -BGMName_AYASII: - .string "AYASII$" -BGMName_KACHI4: - .string "KACHI4$" -BGMName_ROPEWAY: - .string "ROPEWAY$" -BGMName_CASINO: - .string "CASINO$" -BGMName_HIGHTOWN: - .string "HIGHTOWN$" -BGMName_SAFARI: - .string "SAFARI$" -BGMName_C_ROAD: - .string "C-ROAD$" -BGMName_AJITO: - .string "AJITO$" -BGMName_M_BOAT: - .string "M-BOAT$" -BGMName_M_DUNGON: - .string "M-DUNGON$" -BGMName_FINECITY: - .string "FINECITY$" -BGMName_MACHUPI: - .string "MACHUPI$" -BGMName_P_SCHOOL: - .string "P-SCHOOL$" -BGMName_DENDOU: - .string "DENDOU$" -BGMName_TONEKUSA: - .string "TONEKUSA$" -BGMName_MABOROSI: - .string "MABOROSI$" -BGMName_CON_FAN: - .string "CON-FAN$" -BGMName_CONTEST0: - .string "CONTEST0$" -BGMName_MGM0: - .string "MGM0$" -BGMName_T_BATTLE: - .string "T-BATTLE$" -BGMName_OOAME: - .string "OOAME$" -BGMName_HIDERI: - .string "HIDERI$" -BGMName_RUNECITY: - .string "RUNECITY$" -BGMName_CON_K: - .string "CON-K$" -BGMName_EIKOU_R: - .string "EIKOU-R$" -BGMName_KARAKURI: - .string "KARAKURI$" -BGMName_HUTAGO: - .string "HUTAGO$" -BGMName_SITENNOU: - .string "SITENNOU$" -BGMName_YAMA_EYE: - .string "YAMA-EYE$" -BGMName_CONLOBBY: - .string "CONLOBBY$" -BGMName_INTER_V: - .string "INTER-V$" -BGMName_DAIGO: - .string "DAIGO$" -BGMName_THANKFOR: - .string "THANKFOR$" -BGMName_END: - .string "END$" -BGMName_BATTLE27: - .string "BATTLE27$" -BGMName_BATTLE31: - .string "BATTLE31$" -BGMName_BATTLE20: - .string "BATTLE20$" -BGMName_BATTLE32: - .string "BATTLE32$" -BGMName_BATTLE33: - .string "BATTLE33$" -BGMName_BATTLE36: - .string "BATTLE36$" -BGMName_BATTLE34: - .string "BATTLE34$" -BGMName_BATTLE35: - .string "BATTLE35$" -BGMName_BATTLE38: - .string "BATTLE38$" -BGMName_BATTLE30: - .string "BATTLE30$" - - .align 2 -gBGMNames:: @ 83D07AC - .word BGMName_STOP - .word BGMName_TETSUJI - .word BGMName_FIELD13 - .word BGMName_KACHI22 - .word BGMName_KACHI2 - .word BGMName_KACHI3 - .word BGMName_KACHI5 - .word BGMName_PCC - .word BGMName_NIBI - .word BGMName_SUIKUN - .word BGMName_DOORO1 - .word BGMName_DOORO_X1 - .word BGMName_DOORO_X3 - .word BGMName_MACHI_S2 - .word BGMName_MACHI_S4 - .word BGMName_GIM - .word BGMName_NAMINORI - .word BGMName_DAN01 - .word BGMName_FANFA1 - .word BGMName_ME_ASA - .word BGMName_ME_BACHI - .word BGMName_FANFA4 - .word BGMName_FANFA5 - .word BGMName_ME_WAZA - .word BGMName_BIJYUTU - .word BGMName_DOORO_X4 - .word BGMName_FUNE_KAN - .word BGMName_ME_SHINKA - .word BGMName_SHINKA - .word BGMName_ME_WASURE - .word BGMName_SYOUJOEYE - .word BGMName_BOYEYE - .word BGMName_DAN02 - .word BGMName_MACHI_S3 - .word BGMName_ODAMAKI - .word BGMName_B_TOWER - .word BGMName_SWIMEYE - .word BGMName_DAN03 - .word BGMName_ME_KINOMI - .word BGMName_ME_TAMA - .word BGMName_ME_B_BIG - .word BGMName_ME_B_SMALL - .word BGMName_ME_ZANNEN - .word BGMName_BD_TIME - .word BGMName_TEST1 - .word BGMName_TEST2 - .word BGMName_TEST3 - .word BGMName_TEST4 - .word BGMName_TEST - .word BGMName_GOMACHI0 - .word BGMName_GOTOWN - .word BGMName_POKECEN - .word BGMName_NEXTROAD - .word BGMName_GRANROAD - .word BGMName_CYCLING - .word BGMName_FRIENDLY - .word BGMName_MISHIRO - .word BGMName_TOZAN - .word BGMName_GIRLEYE - .word BGMName_MINAMO - .word BGMName_ASHROAD - .word BGMName_EVENT0 - .word BGMName_DEEPDEEP - .word BGMName_KACHI1 - .word BGMName_TITLE3 - .word BGMName_DEMO1 - .word BGMName_GIRL_SUP - .word BGMName_HAGESHII - .word BGMName_KAKKOII - .word BGMName_KAZANBAI - .word BGMName_AQA_0 - .word BGMName_TSURETEK - .word BGMName_BOY_SUP - .word BGMName_RAINBOW - .word BGMName_AYASII - .word BGMName_KACHI4 - .word BGMName_ROPEWAY - .word BGMName_CASINO - .word BGMName_HIGHTOWN - .word BGMName_SAFARI - .word BGMName_C_ROAD - .word BGMName_AJITO - .word BGMName_M_BOAT - .word BGMName_M_DUNGON - .word BGMName_FINECITY - .word BGMName_MACHUPI - .word BGMName_P_SCHOOL - .word BGMName_DENDOU - .word BGMName_TONEKUSA - .word BGMName_MABOROSI - .word BGMName_CON_FAN - .word BGMName_CONTEST0 - .word BGMName_MGM0 - .word BGMName_T_BATTLE - .word BGMName_OOAME - .word BGMName_HIDERI - .word BGMName_RUNECITY - .word BGMName_CON_K - .word BGMName_EIKOU_R - .word BGMName_KARAKURI - .word BGMName_HUTAGO - .word BGMName_SITENNOU - .word BGMName_YAMA_EYE - .word BGMName_CONLOBBY - .word BGMName_INTER_V - .word BGMName_DAIGO - .word BGMName_THANKFOR - .word BGMName_END - .word BGMName_BATTLE27 - .word BGMName_BATTLE31 - .word BGMName_BATTLE20 - .word BGMName_BATTLE32 - .word BGMName_BATTLE33 - .word BGMName_BATTLE36 - .word BGMName_BATTLE34 - .word BGMName_BATTLE35 - .word BGMName_BATTLE38 - .word BGMName_BATTLE30 - -SEName_STOP: - .string "STOP$" -SEName_KAIFUKU: - .string "KAIFUKU$" -SEName_PC_LOGON: - .string "PC-LOGON$" -SEName_PC_OFF: - .string "PC-OFF$" -SEName_PC_ON: - .string "PC-ON$" -SEName_SELECT: - .string "SELECT$" -SEName_WIN_OPEN: - .string "WIN-OPEN$" -SEName_WALL_HIT: - .string "WALL-HIT$" -SEName_DOOR: - .string "DOOR$" -SEName_KAIDAN: - .string "KAIDAN$" -SEName_DANSA: - .string "DANSA$" -SEName_JITENSYA: - .string "JITENSYA$" -SEName_KOUKA_L: - .string "KOUKA-L$" -SEName_KOUKA_M: - .string "KOUKA-M$" -SEName_KOUKA_H: - .string "KOUKA-H$" -SEName_BOWA2: - .string "BOWA2$" -SEName_POKE_DEAD: - .string "POKE-DEAD$" -SEName_NIGERU: - .string "NIGERU$" -SEName_JIDO_DOA: - .string "JIDO-DOA$" -SEName_NAMINORI: - .string "NAMINORI$" -SEName_BAN: - .string "BAN$" -SEName_PIN: - .string "PIN$" -SEName_BOO: - .string "BOO$" -SEName_BOWA: - .string "BOWA$" -SEName_JYUNI: - .string "JYUNI$" -SEName_A: - .string "A$" -SEName_I: - .string "I$" -SEName_U: - .string "U$" -SEName_E: - .string "E$" -SEName_O: - .string "O$" -SEName_N: - .string "N$" -SEName_SEIKAI: - .string "SEIKAI$" -SEName_HAZURE: - .string "HAZURE$" -SEName_EXP: - .string "EXP$" -SEName_JITE_PYOKO: - .string "JITE-PYOKO$" -SEName_MU_PACHI: - .string "MU-PACHI$" -SEName_TK_KASYA: - .string "TK-KASYA$" -SEName_FU_ZAKU: - .string "FU-ZAKU$" -SEName_FU_ZAKU2: - .string "FU-ZAKU2$" -SEName_FU_ZUZUZU: - .string "FU-ZUZUZU$" -SEName_RU_GASHIN: - .string "RU-GASHIN$" -SEName_RU_GASYAN: - .string "RU-GASYAN$" -SEName_RU_BARI: - .string "RU-BARI$" -SEName_RU_HYUU: - .string "RU-HYUU$" -SEName_KI_GASYAN: - .string "KI-GASYAN$" -SEName_TK_WARPIN: - .string "TK-WARPIN$" -SEName_TK_WARPOUT: - .string "TK-WARPOUT$" -SEName_TU_SAA: - .string "TU-SAA$" -SEName_HI_TURUN: - .string "HI-TURUN$" -SEName_TRACK_MOVE: - .string "TRACK-MOVE$" -SEName_TRACK_STOP: - .string "TRACK-STOP$" -SEName_TRACK_HAIK: - .string "TRACK-HAIK$" -SEName_TRACK_DOOR: - .string "TRACK-DOOR$" -SEName_MOTER: - .string "MOTER$" -SEName_CARD: - .string "CARD$" -SEName_SAVE: - .string "SAVE$" -SEName_KON: - .string "KON$" -SEName_KON2: - .string "KON2$" -SEName_KON3: - .string "KON3$" -SEName_KON4: - .string "KON4$" -SEName_SUIKOMU: - .string "SUIKOMU$" -SEName_NAGERU: - .string "NAGERU$" -SEName_TOY_C: - .string "TOY-C$" -SEName_TOY_D: - .string "TOY-D$" -SEName_TOY_E: - .string "TOY-E$" -SEName_TOY_F: - .string "TOY-F$" -SEName_TOY_G: - .string "TOY-G$" -SEName_TOY_A: - .string "TOY-A$" -SEName_TOY_B: - .string "TOY-B$" -SEName_TOY_C1: - .string "TOY-C1$" -SEName_MIZU: - .string "MIZU$" -SEName_HASHI: - .string "HASHI$" -SEName_DAUGI: - .string "DAUGI$" -SEName_PINPON: - .string "PINPON$" -SEName_FUUSEN1: - .string "FUUSEN1$" -SEName_FUUSEN2: - .string "FUUSEN2$" -SEName_FUUSEN3: - .string "FUUSEN3$" -SEName_TOY_KABE: - .string "TOY-KABE$" -SEName_TOY_DANGO: - .string "TOY-DANGO$" -SEName_DOKU: - .string "DOKU$" -SEName_ESUKA: - .string "ESUKA$" -SEName_T_AME: - .string "T-AME$" -SEName_T_AME_E: - .string "T-AME-E$" -SEName_T_OOAME: - .string "T-OOAME$" -SEName_T_OOAME_E: - .string "T-OOAME-E$" -SEName_T_KOAME: - .string "T-KOAME$" -SEName_T_KOAME_E: - .string "T-KOAME-E$" -SEName_T_KAMI: - .string "T-KAMI$" -SEName_T_KAMI2: - .string "T-KAMI2$" -SEName_ELEBETA: - .string "ELEBETA$" -SEName_HINSI: - .string "HINSI$" -SEName_EXPMAX: - .string "EXPMAX$" -SEName_TAMAKORO: - .string "TAMAKORO$" -SEName_TAMAKORO_E: - .string "TAMAKORO-E$" -SEName_BASABASA: - .string "BASABASA$" -SEName_REGI: - .string "REGI$" -SEName_C_GAJI: - .string "C-GAJI$" -SEName_C_MAKU_U: - .string "C-MAKU-U$" -SEName_C_MAKU_D: - .string "C-MAKU-D$" -SEName_C_PASI: - .string "C-PASI$" -SEName_C_SYU: - .string "C-SYU$" -SEName_C_PIKON: - .string "C-PIKON$" -SEName_REAPOKE: - .string "REAPOKE$" -SEName_OP_BASYU: - .string "OP-BASYU$" -SEName_BT_START: - .string "BT-START$" -SEName_DENDOU: - .string "DENDOU$" -SEName_JIHANKI: - .string "JIHANKI$" -SEName_TAMA: - .string "TAMA$" -SEName_Z_SCROLL: - .string "Z-SCROLL$" -SEName_Z_PAGE: - .string "Z-PAGE$" -SEName_PN_ON: - .string "PN-ON$" -SEName_PN_OFF: - .string "PN-OFF$" -SEName_Z_SEARCH: - .string "Z-SEARCH$" -SEName_TAMAGO: - .string "TAMAGO$" -SEName_TB_START: - .string "TB-START$" -SEName_TB_KON: - .string "TB-KON$" -SEName_TB_KARA: - .string "TB-KARA$" -SEName_BIDORO: - .string "BIDORO$" -SEName_W085: - .string "W085$" -SEName_W085B: - .string "W085B$" -SEName_W231: - .string "W231$" -SEName_W171: - .string "W171$" -SEName_W233: - .string "W233$" -SEName_W233B: - .string "W233B$" -SEName_W145: - .string "W145$" -SEName_W145B: - .string "W145B$" -SEName_W145C: - .string "W145C$" -SEName_W240: - .string "W240$" -SEName_W015: - .string "W015$" -SEName_W081: - .string "W081$" -SEName_W081B: - .string "W081B$" -SEName_W088: - .string "W088$" -SEName_W016: - .string "W016$" -SEName_W016B: - .string "W016B$" -SEName_W003: - .string "W003$" -SEName_W104: - .string "W104$" -SEName_W013: - .string "W013$" -SEName_W196: - .string "W196$" -SEName_W086: - .string "W086$" -SEName_W004: - .string "W004$" -SEName_W025: - .string "W025$" -SEName_W025B: - .string "W025B$" -SEName_W152: - .string "W152$" -SEName_W026: - .string "W026$" -SEName_W172: - .string "W172$" -SEName_W172B: - .string "W172B$" -SEName_W053: - .string "W053$" -SEName_W007: - .string "W007$" -SEName_W092: - .string "W092$" -SEName_W221: - .string "W221$" -SEName_W221B: - .string "W221B$" -SEName_W052: - .string "W052$" -SEName_W036: - .string "W036$" -SEName_W059: - .string "W059$" -SEName_W059B: - .string "W059B$" -SEName_W010: - .string "W010$" -SEName_W011: - .string "W011$" -SEName_W017: - .string "W017$" -SEName_W019: - .string "W019$" -SEName_W028: - .string "W028$" -SEName_W013B: - .string "W013B$" -SEName_W044: - .string "W044$" -SEName_W029: - .string "W029$" -SEName_W057: - .string "W057$" -SEName_W056: - .string "W056$" -SEName_W250: - .string "W250$" -SEName_W030: - .string "W030$" -SEName_W039: - .string "W039$" -SEName_W054: - .string "W054$" -SEName_W077: - .string "W077$" -SEName_W020: - .string "W020$" -SEName_W082: - .string "W082$" -SEName_W047: - .string "W047$" -SEName_W195: - .string "W195$" -SEName_W006: - .string "W006$" -SEName_W091: - .string "W091$" -SEName_W146: - .string "W146$" -SEName_W120: - .string "W120$" -SEName_W153: - .string "W153$" -SEName_W071B: - .string "W071B$" -SEName_W071: - .string "W071$" -SEName_W103: - .string "W103$" -SEName_W062: - .string "W062$" -SEName_W062B: - .string "W062B$" -SEName_W048: - .string "W048$" -SEName_W187: - .string "W187$" -SEName_W118: - .string "W118$" -SEName_W155: - .string "W155$" -SEName_W122: - .string "W122$" -SEName_W060: - .string "W060$" -SEName_W185: - .string "W185$" -SEName_W014: - .string "W014$" -SEName_W043: - .string "W043$" -SEName_W207: - .string "W207$" -SEName_W207B: - .string "W207B$" -SEName_W215: - .string "W215$" -SEName_W109: - .string "W109$" -SEName_W173: - .string "W173$" -SEName_W280: - .string "W280$" -SEName_W202: - .string "W202$" -SEName_W060B: - .string "W060B$" -SEName_W076: - .string "W076$" -SEName_W080: - .string "W080$" -SEName_W100: - .string "W100$" -SEName_W107: - .string "W107$" -SEName_W166: - .string "W166$" -SEName_W129: - .string "W129$" -SEName_W115: - .string "W115$" -SEName_W112: - .string "W112$" -SEName_W197: - .string "W197$" -SEName_W199: - .string "W199$" -SEName_W236: - .string "W236$" -SEName_W204: - .string "W204$" -SEName_W268: - .string "W268$" -SEName_W070: - .string "W070$" -SEName_W063: - .string "W063$" -SEName_W127: - .string "W127$" -SEName_W179: - .string "W179$" -SEName_W151: - .string "W151$" -SEName_W201: - .string "W201$" -SEName_W161: - .string "W161$" -SEName_W161B: - .string "W161B$" -SEName_W227: - .string "W227$" -SEName_W227B: - .string "W227B$" -SEName_W226: - .string "W226$" -SEName_W208: - .string "W208$" -SEName_W213: - .string "W213$" -SEName_W213B: - .string "W213B$" -SEName_W234: - .string "W234$" -SEName_W260: - .string "W260$" -SEName_W328: - .string "W328$" -SEName_W320: - .string "W320$" -SEName_W255: - .string "W255$" -SEName_W291: - .string "W291$" -SEName_W089: - .string "W089$" -SEName_W239: - .string "W239$" -SEName_W230: - .string "W230$" -SEName_W281: - .string "W281$" -SEName_W327: - .string "W327$" -SEName_W287: - .string "W287$" -SEName_W257: - .string "W257$" -SEName_W253: - .string "W253$" -SEName_W258: - .string "W258$" -SEName_W322: - .string "W322$" -SEName_W298: - .string "W298$" -SEName_W287B: - .string "W287B$" -SEName_W114: - .string "W114$" -SEName_W063B: - .string "W063B$" - - .align 2 -gSENames:: @ 83D0F78 - .word SEName_STOP - .word SEName_KAIFUKU - .word SEName_PC_LOGON - .word SEName_PC_OFF - .word SEName_PC_ON - .word SEName_SELECT - .word SEName_WIN_OPEN - .word SEName_WALL_HIT - .word SEName_DOOR - .word SEName_KAIDAN - .word SEName_DANSA - .word SEName_JITENSYA - .word SEName_KOUKA_L - .word SEName_KOUKA_M - .word SEName_KOUKA_H - .word SEName_BOWA2 - .word SEName_POKE_DEAD - .word SEName_NIGERU - .word SEName_JIDO_DOA - .word SEName_NAMINORI - .word SEName_BAN - .word SEName_PIN - .word SEName_BOO - .word SEName_BOWA - .word SEName_JYUNI - .word SEName_A - .word SEName_I - .word SEName_U - .word SEName_E - .word SEName_O - .word SEName_N - .word SEName_SEIKAI - .word SEName_HAZURE - .word SEName_EXP - .word SEName_JITE_PYOKO - .word SEName_MU_PACHI - .word SEName_TK_KASYA - .word SEName_FU_ZAKU - .word SEName_FU_ZAKU2 - .word SEName_FU_ZUZUZU - .word SEName_RU_GASHIN - .word SEName_RU_GASYAN - .word SEName_RU_BARI - .word SEName_RU_HYUU - .word SEName_KI_GASYAN - .word SEName_TK_WARPIN - .word SEName_TK_WARPOUT - .word SEName_TU_SAA - .word SEName_HI_TURUN - .word SEName_TRACK_MOVE - .word SEName_TRACK_STOP - .word SEName_TRACK_HAIK - .word SEName_TRACK_DOOR - .word SEName_MOTER - .word SEName_CARD - .word SEName_SAVE - .word SEName_KON - .word SEName_KON2 - .word SEName_KON3 - .word SEName_KON4 - .word SEName_SUIKOMU - .word SEName_NAGERU - .word SEName_TOY_C - .word SEName_TOY_D - .word SEName_TOY_E - .word SEName_TOY_F - .word SEName_TOY_G - .word SEName_TOY_A - .word SEName_TOY_B - .word SEName_TOY_C1 - .word SEName_MIZU - .word SEName_HASHI - .word SEName_DAUGI - .word SEName_PINPON - .word SEName_FUUSEN1 - .word SEName_FUUSEN2 - .word SEName_FUUSEN3 - .word SEName_TOY_KABE - .word SEName_TOY_DANGO - .word SEName_DOKU - .word SEName_ESUKA - .word SEName_T_AME - .word SEName_T_AME_E - .word SEName_T_OOAME - .word SEName_T_OOAME_E - .word SEName_T_KOAME - .word SEName_T_KOAME_E - .word SEName_T_KAMI - .word SEName_T_KAMI2 - .word SEName_ELEBETA - .word SEName_HINSI - .word SEName_EXPMAX - .word SEName_TAMAKORO - .word SEName_TAMAKORO_E - .word SEName_BASABASA - .word SEName_REGI - .word SEName_C_GAJI - .word SEName_C_MAKU_U - .word SEName_C_MAKU_D - .word SEName_C_PASI - .word SEName_C_SYU - .word SEName_C_PIKON - .word SEName_REAPOKE - .word SEName_OP_BASYU - .word SEName_BT_START - .word SEName_DENDOU - .word SEName_JIHANKI - .word SEName_TAMA - .word SEName_Z_SCROLL - .word SEName_Z_PAGE - .word SEName_PN_ON - .word SEName_PN_OFF - .word SEName_Z_SEARCH - .word SEName_TAMAGO - .word SEName_TB_START - .word SEName_TB_KON - .word SEName_TB_KARA - .word SEName_BIDORO - .word SEName_W085 - .word SEName_W085B - .word SEName_W231 - .word SEName_W171 - .word SEName_W233 - .word SEName_W233B - .word SEName_W145 - .word SEName_W145B - .word SEName_W145C - .word SEName_W240 - .word SEName_W015 - .word SEName_W081 - .word SEName_W081B - .word SEName_W088 - .word SEName_W016 - .word SEName_W016B - .word SEName_W003 - .word SEName_W104 - .word SEName_W013 - .word SEName_W196 - .word SEName_W086 - .word SEName_W004 - .word SEName_W025 - .word SEName_W025B - .word SEName_W152 - .word SEName_W026 - .word SEName_W172 - .word SEName_W172B - .word SEName_W053 - .word SEName_W007 - .word SEName_W092 - .word SEName_W221 - .word SEName_W221B - .word SEName_W052 - .word SEName_W036 - .word SEName_W059 - .word SEName_W059B - .word SEName_W010 - .word SEName_W011 - .word SEName_W017 - .word SEName_W019 - .word SEName_W028 - .word SEName_W013B - .word SEName_W044 - .word SEName_W029 - .word SEName_W057 - .word SEName_W056 - .word SEName_W250 - .word SEName_W030 - .word SEName_W039 - .word SEName_W054 - .word SEName_W077 - .word SEName_W020 - .word SEName_W082 - .word SEName_W047 - .word SEName_W195 - .word SEName_W006 - .word SEName_W091 - .word SEName_W146 - .word SEName_W120 - .word SEName_W153 - .word SEName_W071B - .word SEName_W071 - .word SEName_W103 - .word SEName_W062 - .word SEName_W062B - .word SEName_W048 - .word SEName_W187 - .word SEName_W118 - .word SEName_W155 - .word SEName_W122 - .word SEName_W060 - .word SEName_W185 - .word SEName_W014 - .word SEName_W043 - .word SEName_W207 - .word SEName_W207B - .word SEName_W215 - .word SEName_W109 - .word SEName_W173 - .word SEName_W280 - .word SEName_W202 - .word SEName_W060B - .word SEName_W076 - .word SEName_W080 - .word SEName_W100 - .word SEName_W107 - .word SEName_W166 - .word SEName_W129 - .word SEName_W115 - .word SEName_W112 - .word SEName_W197 - .word SEName_W199 - .word SEName_W236 - .word SEName_W204 - .word SEName_W268 - .word SEName_W070 - .word SEName_W063 - .word SEName_W127 - .word SEName_W179 - .word SEName_W151 - .word SEName_W201 - .word SEName_W161 - .word SEName_W161B - .word SEName_W227 - .word SEName_W227B - .word SEName_W226 - .word SEName_W208 - .word SEName_W213 - .word SEName_W213B - .word SEName_W234 - .word SEName_W260 - .word SEName_W328 - .word SEName_W320 - .word SEName_W255 - .word SEName_W291 - .word SEName_W089 - .word SEName_W239 - .word SEName_W230 - .word SEName_W281 - .word SEName_W327 - .word SEName_W287 - .word SEName_W257 - .word SEName_W253 - .word SEName_W258 - .word SEName_W322 - .word SEName_W298 - .word SEName_W287B - .word SEName_W114 - .word SEName_W063B diff --git a/ld_script.txt b/ld_script.txt index 96422937f..86a6d970d 100755 --- a/ld_script.txt +++ b/ld_script.txt @@ -410,7 +410,7 @@ SECTIONS { data/money.o(.rodata); data/contest_effect.o(.rodata); data/record_mixing.o(.rodata); - data/sound_check_menu.o(.rodata); + src/sound_check_menu.o(.rodata); data/secret_base.o(.rodata); data/tv.o(.rodata); data/contest_link_80C2020.o(.rodata); diff --git a/src/sound_check_menu.c b/src/sound_check_menu.c index 12cde5da8..fc6da433b 100755 --- a/src/sound_check_menu.c +++ b/src/sound_check_menu.c @@ -57,11 +57,7 @@ extern struct ToneData voicegroup_8453190[]; extern struct ToneData voicegroup_84549C0[]; extern struct ToneData voicegroup_8453790[]; -extern u8 gUnknown_083D0300[18]; -extern s8 gUnknown_083D03F8[5]; - extern int gUnknown_020387B4[9]; -extern int gUnknown_083D039C[16]; extern s8 gUnknown_020387B3; extern u8 gUnknown_020387B1; @@ -75,35 +71,808 @@ extern u8 gUnknown_03005E98; extern struct MusicPlayerInfo *gUnknown_03005D30; extern struct MusicPlayerInfo gMPlay_BGM; -extern u8 *gBGMNames[]; -extern u8 *gSENames[]; - -extern u8 gDebugText_SoundCheckJap[]; -extern u8 gDebugText_BGM[]; -extern u8 gDebugText_SE[]; -extern u8 gDebugText_ABDesc[]; -extern u8 gDebugText_UpDown[]; -extern u8 gDebugText_DriverTest[]; -extern u8 gDebugText_BBack[]; -extern u8 gDebugText_APlay[]; -extern u8 gDebugText_Voice[]; -extern u8 gDebugText_Volume[]; -extern u8 gDebugText_Panpot[]; -extern u8 gDebugText_Pitch[]; -extern u8 gDebugText_Length[]; -extern u8 gDebugText_Release[]; -extern u8 gDebugText_Progress[]; -extern u8 gDebugText_Chorus[]; -extern u8 gDebugText_Priority[]; -extern u8 gDebugText_Playing[]; -extern u8 gDebugText_Reverse[]; -extern u8 gDebugText_Stereo[]; -extern u8 gUnknown_083D03DC[]; -extern u8 gUnknown_083D03DE[]; -extern u8 gOtherText_SE[]; -extern u8 gOtherText_Pan[]; -extern u8 gOtherText_LR[]; -extern u8 gOtherText_RL[]; +static const u8 gDebugText_SoundCheckJap[] = _("サウンドチェック"); +static const u8 gDebugText_BGM[] = _("BGM"); +static const u8 gDebugText_SE[] = _("SE "); +static const u8 gDebugText_ABDesc[] = _("A‥さいせい B‥おわり"); +static const u8 gDebugText_UpDown[] = _("L‥UP R‥DOWN"); +static const u8 gDebugText_DriverTest[] = _("R‥DRIVER-TEST"); + +// ideally this should be a multi Coords8 struct, but it wont match when its treated like a struct. +static const u8 gUnknown_083D0300[] = { 1, 1, 1, 3, 1, 5, 1, 7, 1, 9, 1, 11, 1, 13, 1, 15, 1, 17 }; + +static const u8 gDebugText_BBack[] = _("Bぼたんで もどる"); +static const u8 gDebugText_APlay[] = _("Aぼたんで さいせい"); +static const u8 gDebugText_Voice[] = _("VOICE‥‥‥‥"); +static const u8 gDebugText_Volume[] = _("VOLUME‥‥‥"); +static const u8 gDebugText_Panpot[] = _("PANPOT‥‥‥"); +static const u8 gDebugText_Pitch[] = _("PITCH‥‥‥‥"); +static const u8 gDebugText_Length[] = _("LENGTH‥‥‥"); +static const u8 gDebugText_Release[] = _("RELEASE‥‥"); +static const u8 gDebugText_Progress[] = _("PROGRESS‥"); +static const u8 gDebugText_Chorus[] = _("CHORUS‥‥‥"); +static const u8 gDebugText_Priority[] = _("PRIORITY‥"); +static const u8 gDebugText_Playing[] = _("さいせいちゆう‥"); // 再生中 (playing) +static const u8 gDebugText_Reverse[] = _("はんてん‥‥‥‥"); // 反転 (reverse) +static const u8 gDebugText_Stereo[] = _("すてれお‥‥‥‥"); // stereo + +// also ideally should be a MinMax struct, but any attempt to make this into a struct causes it to not match due to the weird multi dim access. +static const int gUnknown_083D039C[16] = +{ + 0, 387, + 0, 127, + -127, 127, + -128, 32639, + 0, 65535, + 0, 255, + 0, 65535, + -64, 63 +}; + +static const u8 gUnknown_083D03DC[] = _("▶"); +static const u8 gUnknown_083D03DE[] = _(" "); + +// why not just use Powers of ten from string_util? +static const int gUnknown_083D03E0[6] = +{ + 1, + 10, + 100, + 1000, + 10000, + 100000 +}; + +static const s8 gUnknown_083D03F8[5] = { 0x3F, 0x00, 0xC0, 0x7F, 0x80 }; + +static const u8 gOtherText_SE[] = _("SE"); +static const u8 gOtherText_Pan[] = _("PAN"); +static const u8 gOtherText_LR[] = _(" LR"); +static const u8 gOtherText_RL[] = _(" RL"); + +// bgm names +static const u8 BGMName_STOP[] = _("STOP"); +static const u8 BGMName_TETSUJI[] = _("TETSUJI"); +static const u8 BGMName_FIELD13[] = _("FIELD13"); +static const u8 BGMName_KACHI22[] = _("KACHI22"); +static const u8 BGMName_KACHI2[] = _("KACHI2"); +static const u8 BGMName_KACHI3[] = _("KACHI3"); +static const u8 BGMName_KACHI5[] = _("KACHI5"); +static const u8 BGMName_PCC[] = _("PCC"); +static const u8 BGMName_NIBI[] = _("NIBI"); +static const u8 BGMName_SUIKUN[] = _("SUIKUN"); +static const u8 BGMName_DOORO1[] = _("DOORO1"); +static const u8 BGMName_DOORO_X1[] = _("DOORO-X1"); +static const u8 BGMName_DOORO_X3[] = _("DOORO-X3"); +static const u8 BGMName_MACHI_S2[] = _("MACHI-S2"); +static const u8 BGMName_MACHI_S4[] = _("MACHI-S4"); +static const u8 BGMName_GIM[] = _("GIM"); +static const u8 BGMName_NAMINORI[] = _("NAMINORI"); +static const u8 BGMName_DAN01[] = _("DAN01"); +static const u8 BGMName_FANFA1[] = _("FANFA1"); +static const u8 BGMName_ME_ASA[] = _("ME-ASA"); +static const u8 BGMName_ME_BACHI[] = _("ME-BACHI"); +static const u8 BGMName_FANFA4[] = _("FANFA4"); +static const u8 BGMName_FANFA5[] = _("FANFA5"); +static const u8 BGMName_ME_WAZA[] = _("ME-WAZA"); +static const u8 BGMName_BIJYUTU[] = _("BIJYUTU"); +static const u8 BGMName_DOORO_X4[] = _("DOORO-X4"); +static const u8 BGMName_FUNE_KAN[] = _("FUNE-KAN"); +static const u8 BGMName_ME_SHINKA[] = _("ME-SHINKA"); +static const u8 BGMName_SHINKA[] = _("SHINKA"); +static const u8 BGMName_ME_WASURE[] = _("ME-WASURE"); +static const u8 BGMName_SYOUJOEYE[] = _("SYOUJOEYE"); +static const u8 BGMName_BOYEYE[] = _("BOYEYE"); +static const u8 BGMName_DAN02[] = _("DAN02"); +static const u8 BGMName_MACHI_S3[] = _("MACHI-S3"); +static const u8 BGMName_ODAMAKI[] = _("ODAMAKI"); +static const u8 BGMName_B_TOWER[] = _("B-TOWER"); +static const u8 BGMName_SWIMEYE[] = _("SWIMEYE"); +static const u8 BGMName_DAN03[] = _("DAN03"); +static const u8 BGMName_ME_KINOMI[] = _("ME-KINOMI"); +static const u8 BGMName_ME_TAMA[] = _("ME-TAMA"); +static const u8 BGMName_ME_B_BIG[] = _("ME-B-BIG"); +static const u8 BGMName_ME_B_SMALL[] = _("ME-B-SMALL"); +static const u8 BGMName_ME_ZANNEN[] = _("ME-ZANNEN"); +static const u8 BGMName_BD_TIME[] = _("BD-TIME"); +static const u8 BGMName_TEST1[] = _("TEST1"); +static const u8 BGMName_TEST2[] = _("TEST2"); +static const u8 BGMName_TEST3[] = _("TEST3"); +static const u8 BGMName_TEST4[] = _("TEST4"); +static const u8 BGMName_TEST[] = _("TEST"); +static const u8 BGMName_GOMACHI0[] = _("GOMACHI0"); +static const u8 BGMName_GOTOWN[] = _("GOTOWN"); +static const u8 BGMName_POKECEN[] = _("POKECEN"); +static const u8 BGMName_NEXTROAD[] = _("NEXTROAD"); +static const u8 BGMName_GRANROAD[] = _("GRANROAD"); +static const u8 BGMName_CYCLING[] = _("CYCLING"); +static const u8 BGMName_FRIENDLY[] = _("FRIENDLY"); +static const u8 BGMName_MISHIRO[] = _("MISHIRO"); +static const u8 BGMName_TOZAN[] = _("TOZAN"); +static const u8 BGMName_GIRLEYE[] = _("GIRLEYE"); +static const u8 BGMName_MINAMO[] = _("MINAMO"); +static const u8 BGMName_ASHROAD[] = _("ASHROAD"); +static const u8 BGMName_EVENT0[] = _("EVENT0"); +static const u8 BGMName_DEEPDEEP[] = _("DEEPDEEP"); +static const u8 BGMName_KACHI1[] = _("KACHI1"); +static const u8 BGMName_TITLE3[] = _("TITLE3"); +static const u8 BGMName_DEMO1[] = _("DEMO1"); +static const u8 BGMName_GIRL_SUP[] = _("GIRL-SUP"); +static const u8 BGMName_HAGESHII[] = _("HAGESHII"); +static const u8 BGMName_KAKKOII[] = _("KAKKOII"); +static const u8 BGMName_KAZANBAI[] = _("KAZANBAI"); +static const u8 BGMName_AQA_0[] = _("AQA-0"); +static const u8 BGMName_TSURETEK[] = _("TSURETEK"); +static const u8 BGMName_BOY_SUP[] = _("BOY-SUP"); +static const u8 BGMName_RAINBOW[] = _("RAINBOW"); +static const u8 BGMName_AYASII[] = _("AYASII"); +static const u8 BGMName_KACHI4[] = _("KACHI4"); +static const u8 BGMName_ROPEWAY[] = _("ROPEWAY"); +static const u8 BGMName_CASINO[] = _("CASINO"); +static const u8 BGMName_HIGHTOWN[] = _("HIGHTOWN"); +static const u8 BGMName_SAFARI[] = _("SAFARI"); +static const u8 BGMName_C_ROAD[] = _("C-ROAD"); +static const u8 BGMName_AJITO[] = _("AJITO"); +static const u8 BGMName_M_BOAT[] = _("M-BOAT"); +static const u8 BGMName_M_DUNGON[] = _("M-DUNGON"); +static const u8 BGMName_FINECITY[] = _("FINECITY"); +static const u8 BGMName_MACHUPI[] = _("MACHUPI"); +static const u8 BGMName_P_SCHOOL[] = _("P-SCHOOL"); +static const u8 BGMName_DENDOU[] = _("DENDOU"); +static const u8 BGMName_TONEKUSA[] = _("TONEKUSA"); +static const u8 BGMName_MABOROSI[] = _("MABOROSI"); +static const u8 BGMName_CON_FAN[] = _("CON-FAN"); +static const u8 BGMName_CONTEST0[] = _("CONTEST0"); +static const u8 BGMName_MGM0[] = _("MGM0"); +static const u8 BGMName_T_BATTLE[] = _("T-BATTLE"); +static const u8 BGMName_OOAME[] = _("OOAME"); +static const u8 BGMName_HIDERI[] = _("HIDERI"); +static const u8 BGMName_RUNECITY[] = _("RUNECITY"); +static const u8 BGMName_CON_K[] = _("CON-K"); +static const u8 BGMName_EIKOU_R[] = _("EIKOU-R"); +static const u8 BGMName_KARAKURI[] = _("KARAKURI"); +static const u8 BGMName_HUTAGO[] = _("HUTAGO"); +static const u8 BGMName_SITENNOU[] = _("SITENNOU"); +static const u8 BGMName_YAMA_EYE[] = _("YAMA-EYE"); +static const u8 BGMName_CONLOBBY[] = _("CONLOBBY"); +static const u8 BGMName_INTER_V[] = _("INTER-V"); +static const u8 BGMName_DAIGO[] = _("DAIGO"); +static const u8 BGMName_THANKFOR[] = _("THANKFOR"); +static const u8 BGMName_END[] = _("END"); +static const u8 BGMName_BATTLE27[] = _("BATTLE27"); +static const u8 BGMName_BATTLE31[] = _("BATTLE31"); +static const u8 BGMName_BATTLE20[] = _("BATTLE20"); +static const u8 BGMName_BATTLE32[] = _("BATTLE32"); +static const u8 BGMName_BATTLE33[] = _("BATTLE33"); +static const u8 BGMName_BATTLE36[] = _("BATTLE36"); +static const u8 BGMName_BATTLE34[] = _("BATTLE34"); +static const u8 BGMName_BATTLE35[] = _("BATTLE35"); +static const u8 BGMName_BATTLE38[] = _("BATTLE38"); +static const u8 BGMName_BATTLE30[] = _("BATTLE30"); + +static const u8 *const gBGMNames[] = +{ + BGMName_STOP, + BGMName_TETSUJI, + BGMName_FIELD13, + BGMName_KACHI22, + BGMName_KACHI2, + BGMName_KACHI3, + BGMName_KACHI5, + BGMName_PCC, + BGMName_NIBI, + BGMName_SUIKUN, + BGMName_DOORO1, + BGMName_DOORO_X1, + BGMName_DOORO_X3, + BGMName_MACHI_S2, + BGMName_MACHI_S4, + BGMName_GIM, + BGMName_NAMINORI, + BGMName_DAN01, + BGMName_FANFA1, + BGMName_ME_ASA, + BGMName_ME_BACHI, + BGMName_FANFA4, + BGMName_FANFA5, + BGMName_ME_WAZA, + BGMName_BIJYUTU, + BGMName_DOORO_X4, + BGMName_FUNE_KAN, + BGMName_ME_SHINKA, + BGMName_SHINKA, + BGMName_ME_WASURE, + BGMName_SYOUJOEYE, + BGMName_BOYEYE, + BGMName_DAN02, + BGMName_MACHI_S3, + BGMName_ODAMAKI, + BGMName_B_TOWER, + BGMName_SWIMEYE, + BGMName_DAN03, + BGMName_ME_KINOMI, + BGMName_ME_TAMA, + BGMName_ME_B_BIG, + BGMName_ME_B_SMALL, + BGMName_ME_ZANNEN, + BGMName_BD_TIME, + BGMName_TEST1, + BGMName_TEST2, + BGMName_TEST3, + BGMName_TEST4, + BGMName_TEST, + BGMName_GOMACHI0, + BGMName_GOTOWN, + BGMName_POKECEN, + BGMName_NEXTROAD, + BGMName_GRANROAD, + BGMName_CYCLING, + BGMName_FRIENDLY, + BGMName_MISHIRO, + BGMName_TOZAN, + BGMName_GIRLEYE, + BGMName_MINAMO, + BGMName_ASHROAD, + BGMName_EVENT0, + BGMName_DEEPDEEP, + BGMName_KACHI1, + BGMName_TITLE3, + BGMName_DEMO1, + BGMName_GIRL_SUP, + BGMName_HAGESHII, + BGMName_KAKKOII, + BGMName_KAZANBAI, + BGMName_AQA_0, + BGMName_TSURETEK, + BGMName_BOY_SUP, + BGMName_RAINBOW, + BGMName_AYASII, + BGMName_KACHI4, + BGMName_ROPEWAY, + BGMName_CASINO, + BGMName_HIGHTOWN, + BGMName_SAFARI, + BGMName_C_ROAD, + BGMName_AJITO, + BGMName_M_BOAT, + BGMName_M_DUNGON, + BGMName_FINECITY, + BGMName_MACHUPI, + BGMName_P_SCHOOL, + BGMName_DENDOU, + BGMName_TONEKUSA, + BGMName_MABOROSI, + BGMName_CON_FAN, + BGMName_CONTEST0, + BGMName_MGM0, + BGMName_T_BATTLE, + BGMName_OOAME, + BGMName_HIDERI, + BGMName_RUNECITY, + BGMName_CON_K, + BGMName_EIKOU_R, + BGMName_KARAKURI, + BGMName_HUTAGO, + BGMName_SITENNOU, + BGMName_YAMA_EYE, + BGMName_CONLOBBY, + BGMName_INTER_V, + BGMName_DAIGO, + BGMName_THANKFOR, + BGMName_END, + BGMName_BATTLE27, + BGMName_BATTLE31, + BGMName_BATTLE20, + BGMName_BATTLE32, + BGMName_BATTLE33, + BGMName_BATTLE36, + BGMName_BATTLE34, + BGMName_BATTLE35, + BGMName_BATTLE38, + BGMName_BATTLE30 +}; + +// SE names +static const u8 SEName_STOP[] = _("STOP"); +static const u8 SEName_KAIFUKU[] = _("KAIFUKU"); +static const u8 SEName_PC_LOGON[] = _("PC-LOGON"); +static const u8 SEName_PC_OFF[] = _("PC-OFF"); +static const u8 SEName_PC_ON[] = _("PC-ON"); +static const u8 SEName_SELECT[] = _("SELECT"); +static const u8 SEName_WIN_OPEN[] = _("WIN-OPEN"); +static const u8 SEName_WALL_HIT[] = _("WALL-HIT"); +static const u8 SEName_DOOR[] = _("DOOR"); +static const u8 SEName_KAIDAN[] = _("KAIDAN"); +static const u8 SEName_DANSA[] = _("DANSA"); +static const u8 SEName_JITENSYA[] = _("JITENSYA"); +static const u8 SEName_KOUKA_L[] = _("KOUKA-L"); +static const u8 SEName_KOUKA_M[] = _("KOUKA-M"); +static const u8 SEName_KOUKA_H[] = _("KOUKA-H"); +static const u8 SEName_BOWA2[] = _("BOWA2"); +static const u8 SEName_POKE_DEAD[] = _("POKE-DEAD"); +static const u8 SEName_NIGERU[] = _("NIGERU"); +static const u8 SEName_JIDO_DOA[] = _("JIDO-DOA"); +static const u8 SEName_NAMINORI[] = _("NAMINORI"); +static const u8 SEName_BAN[] = _("BAN"); +static const u8 SEName_PIN[] = _("PIN"); +static const u8 SEName_BOO[] = _("BOO"); +static const u8 SEName_BOWA[] = _("BOWA"); +static const u8 SEName_JYUNI[] = _("JYUNI"); +static const u8 SEName_A[] = _("A"); +static const u8 SEName_I[] = _("I"); +static const u8 SEName_U[] = _("U"); +static const u8 SEName_E[] = _("E"); +static const u8 SEName_O[] = _("O"); +static const u8 SEName_N[] = _("N"); +static const u8 SEName_SEIKAI[] = _("SEIKAI"); +static const u8 SEName_HAZURE[] = _("HAZURE"); +static const u8 SEName_EXP[] = _("EXP"); +static const u8 SEName_JITE_PYOKO[] = _("JITE-PYOKO"); +static const u8 SEName_MU_PACHI[] = _("MU-PACHI"); +static const u8 SEName_TK_KASYA[] = _("TK-KASYA"); +static const u8 SEName_FU_ZAKU[] = _("FU-ZAKU"); +static const u8 SEName_FU_ZAKU2[] = _("FU-ZAKU2"); +static const u8 SEName_FU_ZUZUZU[] = _("FU-ZUZUZU"); +static const u8 SEName_RU_GASHIN[] = _("RU-GASHIN"); +static const u8 SEName_RU_GASYAN[] = _("RU-GASYAN"); +static const u8 SEName_RU_BARI[] = _("RU-BARI"); +static const u8 SEName_RU_HYUU[] = _("RU-HYUU"); +static const u8 SEName_KI_GASYAN[] = _("KI-GASYAN"); +static const u8 SEName_TK_WARPIN[] = _("TK-WARPIN"); +static const u8 SEName_TK_WARPOUT[] = _("TK-WARPOUT"); +static const u8 SEName_TU_SAA[] = _("TU-SAA"); +static const u8 SEName_HI_TURUN[] = _("HI-TURUN"); +static const u8 SEName_TRACK_MOVE[] = _("TRACK-MOVE"); +static const u8 SEName_TRACK_STOP[] = _("TRACK-STOP"); +static const u8 SEName_TRACK_HAIK[] = _("TRACK-HAIK"); +static const u8 SEName_TRACK_DOOR[] = _("TRACK-DOOR"); +static const u8 SEName_MOTER[] = _("MOTER"); +static const u8 SEName_CARD[] = _("CARD"); +static const u8 SEName_SAVE[] = _("SAVE"); +static const u8 SEName_KON[] = _("KON"); +static const u8 SEName_KON2[] = _("KON2"); +static const u8 SEName_KON3[] = _("KON3"); +static const u8 SEName_KON4[] = _("KON4"); +static const u8 SEName_SUIKOMU[] = _("SUIKOMU"); +static const u8 SEName_NAGERU[] = _("NAGERU"); +static const u8 SEName_TOY_C[] = _("TOY-C"); +static const u8 SEName_TOY_D[] = _("TOY-D"); +static const u8 SEName_TOY_E[] = _("TOY-E"); +static const u8 SEName_TOY_F[] = _("TOY-F"); +static const u8 SEName_TOY_G[] = _("TOY-G"); +static const u8 SEName_TOY_A[] = _("TOY-A"); +static const u8 SEName_TOY_B[] = _("TOY-B"); +static const u8 SEName_TOY_C1[] = _("TOY-C1"); +static const u8 SEName_MIZU[] = _("MIZU"); +static const u8 SEName_HASHI[] = _("HASHI"); +static const u8 SEName_DAUGI[] = _("DAUGI"); +static const u8 SEName_PINPON[] = _("PINPON"); +static const u8 SEName_FUUSEN1[] = _("FUUSEN1"); +static const u8 SEName_FUUSEN2[] = _("FUUSEN2"); +static const u8 SEName_FUUSEN3[] = _("FUUSEN3"); +static const u8 SEName_TOY_KABE[] = _("TOY-KABE"); +static const u8 SEName_TOY_DANGO[] = _("TOY-DANGO"); +static const u8 SEName_DOKU[] = _("DOKU"); +static const u8 SEName_ESUKA[] = _("ESUKA"); +static const u8 SEName_T_AME[] = _("T-AME"); +static const u8 SEName_T_AME_E[] = _("T-AME-E"); +static const u8 SEName_T_OOAME[] = _("T-OOAME"); +static const u8 SEName_T_OOAME_E[] = _("T-OOAME-E"); +static const u8 SEName_T_KOAME[] = _("T-KOAME"); +static const u8 SEName_T_KOAME_E[] = _("T-KOAME-E"); +static const u8 SEName_T_KAMI[] = _("T-KAMI"); +static const u8 SEName_T_KAMI2[] = _("T-KAMI2"); +static const u8 SEName_ELEBETA[] = _("ELEBETA"); +static const u8 SEName_HINSI[] = _("HINSI"); +static const u8 SEName_EXPMAX[] = _("EXPMAX"); +static const u8 SEName_TAMAKORO[] = _("TAMAKORO"); +static const u8 SEName_TAMAKORO_E[] = _("TAMAKORO-E"); +static const u8 SEName_BASABASA[] = _("BASABASA"); +static const u8 SEName_REGI[] = _("REGI"); +static const u8 SEName_C_GAJI[] = _("C-GAJI"); +static const u8 SEName_C_MAKU_U[] = _("C-MAKU-U"); +static const u8 SEName_C_MAKU_D[] = _("C-MAKU-D"); +static const u8 SEName_C_PASI[] = _("C-PASI"); +static const u8 SEName_C_SYU[] = _("C-SYU"); +static const u8 SEName_C_PIKON[] = _("C-PIKON"); +static const u8 SEName_REAPOKE[] = _("REAPOKE"); +static const u8 SEName_OP_BASYU[] = _("OP-BASYU"); +static const u8 SEName_BT_START[] = _("BT-START"); +static const u8 SEName_DENDOU[] = _("DENDOU"); +static const u8 SEName_JIHANKI[] = _("JIHANKI"); +static const u8 SEName_TAMA[] = _("TAMA"); +static const u8 SEName_Z_SCROLL[] = _("Z-SCROLL"); +static const u8 SEName_Z_PAGE[] = _("Z-PAGE"); +static const u8 SEName_PN_ON[] = _("PN-ON"); +static const u8 SEName_PN_OFF[] = _("PN-OFF"); +static const u8 SEName_Z_SEARCH[] = _("Z-SEARCH"); +static const u8 SEName_TAMAGO[] = _("TAMAGO"); +static const u8 SEName_TB_START[] = _("TB-START"); +static const u8 SEName_TB_KON[] = _("TB-KON"); +static const u8 SEName_TB_KARA[] = _("TB-KARA"); +static const u8 SEName_BIDORO[] = _("BIDORO"); +static const u8 SEName_W085[] = _("W085"); +static const u8 SEName_W085B[] = _("W085B"); +static const u8 SEName_W231[] = _("W231"); +static const u8 SEName_W171[] = _("W171"); +static const u8 SEName_W233[] = _("W233"); +static const u8 SEName_W233B[] = _("W233B"); +static const u8 SEName_W145[] = _("W145"); +static const u8 SEName_W145B[] = _("W145B"); +static const u8 SEName_W145C[] = _("W145C"); +static const u8 SEName_W240[] = _("W240"); +static const u8 SEName_W015[] = _("W015"); +static const u8 SEName_W081[] = _("W081"); +static const u8 SEName_W081B[] = _("W081B"); +static const u8 SEName_W088[] = _("W088"); +static const u8 SEName_W016[] = _("W016"); +static const u8 SEName_W016B[] = _("W016B"); +static const u8 SEName_W003[] = _("W003"); +static const u8 SEName_W104[] = _("W104"); +static const u8 SEName_W013[] = _("W013"); +static const u8 SEName_W196[] = _("W196"); +static const u8 SEName_W086[] = _("W086"); +static const u8 SEName_W004[] = _("W004"); +static const u8 SEName_W025[] = _("W025"); +static const u8 SEName_W025B[] = _("W025B"); +static const u8 SEName_W152[] = _("W152"); +static const u8 SEName_W026[] = _("W026"); +static const u8 SEName_W172[] = _("W172"); +static const u8 SEName_W172B[] = _("W172B"); +static const u8 SEName_W053[] = _("W053"); +static const u8 SEName_W007[] = _("W007"); +static const u8 SEName_W092[] = _("W092"); +static const u8 SEName_W221[] = _("W221"); +static const u8 SEName_W221B[] = _("W221B"); +static const u8 SEName_W052[] = _("W052"); +static const u8 SEName_W036[] = _("W036"); +static const u8 SEName_W059[] = _("W059"); +static const u8 SEName_W059B[] = _("W059B"); +static const u8 SEName_W010[] = _("W010"); +static const u8 SEName_W011[] = _("W011"); +static const u8 SEName_W017[] = _("W017"); +static const u8 SEName_W019[] = _("W019"); +static const u8 SEName_W028[] = _("W028"); +static const u8 SEName_W013B[] = _("W013B"); +static const u8 SEName_W044[] = _("W044"); +static const u8 SEName_W029[] = _("W029"); +static const u8 SEName_W057[] = _("W057"); +static const u8 SEName_W056[] = _("W056"); +static const u8 SEName_W250[] = _("W250"); +static const u8 SEName_W030[] = _("W030"); +static const u8 SEName_W039[] = _("W039"); +static const u8 SEName_W054[] = _("W054"); +static const u8 SEName_W077[] = _("W077"); +static const u8 SEName_W020[] = _("W020"); +static const u8 SEName_W082[] = _("W082"); +static const u8 SEName_W047[] = _("W047"); +static const u8 SEName_W195[] = _("W195"); +static const u8 SEName_W006[] = _("W006"); +static const u8 SEName_W091[] = _("W091"); +static const u8 SEName_W146[] = _("W146"); +static const u8 SEName_W120[] = _("W120"); +static const u8 SEName_W153[] = _("W153"); +static const u8 SEName_W071B[] = _("W071B"); +static const u8 SEName_W071[] = _("W071"); +static const u8 SEName_W103[] = _("W103"); +static const u8 SEName_W062[] = _("W062"); +static const u8 SEName_W062B[] = _("W062B"); +static const u8 SEName_W048[] = _("W048"); +static const u8 SEName_W187[] = _("W187"); +static const u8 SEName_W118[] = _("W118"); +static const u8 SEName_W155[] = _("W155"); +static const u8 SEName_W122[] = _("W122"); +static const u8 SEName_W060[] = _("W060"); +static const u8 SEName_W185[] = _("W185"); +static const u8 SEName_W014[] = _("W014"); +static const u8 SEName_W043[] = _("W043"); +static const u8 SEName_W207[] = _("W207"); +static const u8 SEName_W207B[] = _("W207B"); +static const u8 SEName_W215[] = _("W215"); +static const u8 SEName_W109[] = _("W109"); +static const u8 SEName_W173[] = _("W173"); +static const u8 SEName_W280[] = _("W280"); +static const u8 SEName_W202[] = _("W202"); +static const u8 SEName_W060B[] = _("W060B"); +static const u8 SEName_W076[] = _("W076"); +static const u8 SEName_W080[] = _("W080"); +static const u8 SEName_W100[] = _("W100"); +static const u8 SEName_W107[] = _("W107"); +static const u8 SEName_W166[] = _("W166"); +static const u8 SEName_W129[] = _("W129"); +static const u8 SEName_W115[] = _("W115"); +static const u8 SEName_W112[] = _("W112"); +static const u8 SEName_W197[] = _("W197"); +static const u8 SEName_W199[] = _("W199"); +static const u8 SEName_W236[] = _("W236"); +static const u8 SEName_W204[] = _("W204"); +static const u8 SEName_W268[] = _("W268"); +static const u8 SEName_W070[] = _("W070"); +static const u8 SEName_W063[] = _("W063"); +static const u8 SEName_W127[] = _("W127"); +static const u8 SEName_W179[] = _("W179"); +static const u8 SEName_W151[] = _("W151"); +static const u8 SEName_W201[] = _("W201"); +static const u8 SEName_W161[] = _("W161"); +static const u8 SEName_W161B[] = _("W161B"); +static const u8 SEName_W227[] = _("W227"); +static const u8 SEName_W227B[] = _("W227B"); +static const u8 SEName_W226[] = _("W226"); +static const u8 SEName_W208[] = _("W208"); +static const u8 SEName_W213[] = _("W213"); +static const u8 SEName_W213B[] = _("W213B"); +static const u8 SEName_W234[] = _("W234"); +static const u8 SEName_W260[] = _("W260"); +static const u8 SEName_W328[] = _("W328"); +static const u8 SEName_W320[] = _("W320"); +static const u8 SEName_W255[] = _("W255"); +static const u8 SEName_W291[] = _("W291"); +static const u8 SEName_W089[] = _("W089"); +static const u8 SEName_W239[] = _("W239"); +static const u8 SEName_W230[] = _("W230"); +static const u8 SEName_W281[] = _("W281"); +static const u8 SEName_W327[] = _("W327"); +static const u8 SEName_W287[] = _("W287"); +static const u8 SEName_W257[] = _("W257"); +static const u8 SEName_W253[] = _("W253"); +static const u8 SEName_W258[] = _("W258"); +static const u8 SEName_W322[] = _("W322"); +static const u8 SEName_W298[] = _("W298"); +static const u8 SEName_W287B[] = _("W287B"); +static const u8 SEName_W114[] = _("W114"); +static const u8 SEName_W063B[] = _("W063B"); + +static const u8 *const gSENames[] = +{ + SEName_STOP, + SEName_KAIFUKU, + SEName_PC_LOGON, + SEName_PC_OFF, + SEName_PC_ON, + SEName_SELECT, + SEName_WIN_OPEN, + SEName_WALL_HIT, + SEName_DOOR, + SEName_KAIDAN, + SEName_DANSA, + SEName_JITENSYA, + SEName_KOUKA_L, + SEName_KOUKA_M, + SEName_KOUKA_H, + SEName_BOWA2, + SEName_POKE_DEAD, + SEName_NIGERU, + SEName_JIDO_DOA, + SEName_NAMINORI, + SEName_BAN, + SEName_PIN, + SEName_BOO, + SEName_BOWA, + SEName_JYUNI, + SEName_A, + SEName_I, + SEName_U, + SEName_E, + SEName_O, + SEName_N, + SEName_SEIKAI, + SEName_HAZURE, + SEName_EXP, + SEName_JITE_PYOKO, + SEName_MU_PACHI, + SEName_TK_KASYA, + SEName_FU_ZAKU, + SEName_FU_ZAKU2, + SEName_FU_ZUZUZU, + SEName_RU_GASHIN, + SEName_RU_GASYAN, + SEName_RU_BARI, + SEName_RU_HYUU, + SEName_KI_GASYAN, + SEName_TK_WARPIN, + SEName_TK_WARPOUT, + SEName_TU_SAA, + SEName_HI_TURUN, + SEName_TRACK_MOVE, + SEName_TRACK_STOP, + SEName_TRACK_HAIK, + SEName_TRACK_DOOR, + SEName_MOTER, + SEName_CARD, + SEName_SAVE, + SEName_KON, + SEName_KON2, + SEName_KON3, + SEName_KON4, + SEName_SUIKOMU, + SEName_NAGERU, + SEName_TOY_C, + SEName_TOY_D, + SEName_TOY_E, + SEName_TOY_F, + SEName_TOY_G, + SEName_TOY_A, + SEName_TOY_B, + SEName_TOY_C1, + SEName_MIZU, + SEName_HASHI, + SEName_DAUGI, + SEName_PINPON, + SEName_FUUSEN1, + SEName_FUUSEN2, + SEName_FUUSEN3, + SEName_TOY_KABE, + SEName_TOY_DANGO, + SEName_DOKU, + SEName_ESUKA, + SEName_T_AME, + SEName_T_AME_E, + SEName_T_OOAME, + SEName_T_OOAME_E, + SEName_T_KOAME, + SEName_T_KOAME_E, + SEName_T_KAMI, + SEName_T_KAMI2, + SEName_ELEBETA, + SEName_HINSI, + SEName_EXPMAX, + SEName_TAMAKORO, + SEName_TAMAKORO_E, + SEName_BASABASA, + SEName_REGI, + SEName_C_GAJI, + SEName_C_MAKU_U, + SEName_C_MAKU_D, + SEName_C_PASI, + SEName_C_SYU, + SEName_C_PIKON, + SEName_REAPOKE, + SEName_OP_BASYU, + SEName_BT_START, + SEName_DENDOU, + SEName_JIHANKI, + SEName_TAMA, + SEName_Z_SCROLL, + SEName_Z_PAGE, + SEName_PN_ON, + SEName_PN_OFF, + SEName_Z_SEARCH, + SEName_TAMAGO, + SEName_TB_START, + SEName_TB_KON, + SEName_TB_KARA, + SEName_BIDORO, + SEName_W085, + SEName_W085B, + SEName_W231, + SEName_W171, + SEName_W233, + SEName_W233B, + SEName_W145, + SEName_W145B, + SEName_W145C, + SEName_W240, + SEName_W015, + SEName_W081, + SEName_W081B, + SEName_W088, + SEName_W016, + SEName_W016B, + SEName_W003, + SEName_W104, + SEName_W013, + SEName_W196, + SEName_W086, + SEName_W004, + SEName_W025, + SEName_W025B, + SEName_W152, + SEName_W026, + SEName_W172, + SEName_W172B, + SEName_W053, + SEName_W007, + SEName_W092, + SEName_W221, + SEName_W221B, + SEName_W052, + SEName_W036, + SEName_W059, + SEName_W059B, + SEName_W010, + SEName_W011, + SEName_W017, + SEName_W019, + SEName_W028, + SEName_W013B, + SEName_W044, + SEName_W029, + SEName_W057, + SEName_W056, + SEName_W250, + SEName_W030, + SEName_W039, + SEName_W054, + SEName_W077, + SEName_W020, + SEName_W082, + SEName_W047, + SEName_W195, + SEName_W006, + SEName_W091, + SEName_W146, + SEName_W120, + SEName_W153, + SEName_W071B, + SEName_W071, + SEName_W103, + SEName_W062, + SEName_W062B, + SEName_W048, + SEName_W187, + SEName_W118, + SEName_W155, + SEName_W122, + SEName_W060, + SEName_W185, + SEName_W014, + SEName_W043, + SEName_W207, + SEName_W207B, + SEName_W215, + SEName_W109, + SEName_W173, + SEName_W280, + SEName_W202, + SEName_W060B, + SEName_W076, + SEName_W080, + SEName_W100, + SEName_W107, + SEName_W166, + SEName_W129, + SEName_W115, + SEName_W112, + SEName_W197, + SEName_W199, + SEName_W236, + SEName_W204, + SEName_W268, + SEName_W070, + SEName_W063, + SEName_W127, + SEName_W179, + SEName_W151, + SEName_W201, + SEName_W161, + SEName_W161B, + SEName_W227, + SEName_W227B, + SEName_W226, + SEName_W208, + SEName_W213, + SEName_W213B, + SEName_W234, + SEName_W260, + SEName_W328, + SEName_W320, + SEName_W255, + SEName_W291, + SEName_W089, + SEName_W239, + SEName_W230, + SEName_W281, + SEName_W327, + SEName_W287, + SEName_W257, + SEName_W253, + SEName_W258, + SEName_W322, + SEName_W298, + SEName_W287B, + SEName_W114, + SEName_W063B +}; void sub_80BA258(u8); void sub_80BA384(u8); @@ -111,7 +880,7 @@ void sub_80BA65C(u8); void sub_80BA68C(u8); void sub_80BA6B8(u8); void sub_80BA700(u16, u16, u16); -void sub_80BA79C(u8 *, u16, u16); +void sub_80BA79C(const u8 *const, u16, u16); void sub_80BA800(u8); void sub_80BAA48(u8); void sub_80BACDC(s8); @@ -769,7 +1538,7 @@ void sub_80BA700(u16 soundIndex, u16 x, u16 y) // PrintSoundNumber ? MenuPrint(str, x, y); } -void sub_80BA79C(u8 *string, u16 x, u16 y) +void sub_80BA79C(const u8 *const string, u16 x, u16 y) { u8 i; u8 str[11]; @@ -1020,6 +1789,61 @@ void sub_80BAE10(u8 var1, u8 var2) MenuPrint(str1, gUnknown_083D0300[MULTI_DIM_ARR(var2, B_16, 0)], gUnknown_083D0300[MULTI_DIM_ARR(var2, B_16, 1)]); } +/* +sub_80BAE10: + push {r4, r5, r6, lr} + mov r6, r8 + push {r6} + add sp, sp, #0xfffffff8 + add r4, r0, #0 + add r5, r1, #0 + lsl r4, r4, #0x18 + lsr r4, r4, #0x18 + lsl r5, r5, #0x18 + lsr r5, r5, #0x18 + ldr r1, .L133 + mov r0, sp + mov r2, #0x2 + bl memcpy + add r0, sp, #0x4 + mov r8, r0 + ldr r1, .L133+0x4 + mov r2, #0x2 + bl memcpy + ldr r6, .L133+0x8 + lsl r4, r4, #0x1 + add r0, r4, r6 + ldrb r1, [r0] + add r4, r4, #0x1 + add r4, r4, r6 + ldrb r2, [r4] + mov r0, r8 + bl MenuPrint + lsl r5, r5, #0x1 + add r0, r5, r6 + ldrb r1, [r0] + add r5, r5, #0x1 + add r5, r5, r6 + ldrb r2, [r5] + mov r0, sp + bl MenuPrint + add sp, sp, #0x8 + pop {r3} + mov r8, r3 + pop {r4, r5, r6} + pop {r0} + bx r0 +.L134: + .align 2, 0 +.L133: + .word gUnknown_083D03DC + .word gUnknown_083D03DE + .word gUnknown_083D0300 +.Lfe16: + .size sub_80BAE10,.Lfe16-sub_80BAE10 + .align 2, 0 +*/ + /*void sub_80BAE78(int var1, u16 var2, u16 var3, u8 var4) { u32 powers[6]; @@ -1344,6 +2168,72 @@ void sub_80BB1D4(void) sub_80BAE78(IsSEPlaying(), 12, 8, 1); } +/* + thumb_func_start sub_80BB1D4 +sub_80BB1D4: @ 80BB1D4 + push {r4,r5,lr} + sub sp, 0x10 + ldr r1, _080BB218 @ =gOtherText_LR + mov r0, sp + movs r2, 0x5 + bl memcpy + add r5, sp, 0x8 + ldr r1, _080BB21C @ =gOtherText_RL + adds r0, r5, 0 + movs r2, 0x5 + bl memcpy + ldr r4, _080BB220 @ =gUnknown_020387B4 + ldr r0, [r4] + movs r1, 0x7 + movs r2, 0x2 + movs r3, 0x3 + bl sub_80BAE78 + ldr r1, _080BB224 @ =gUnknown_083D03F8 + ldr r0, [r4, 0x8] + adds r0, r1 + movs r1, 0 + ldrsb r1, [r0, r1] + movs r0, 0x80 + negs r0, r0 + cmp r1, r0 + beq _080BB228 + cmp r1, 0x7F + bne _080BB234 + mov r0, sp + b _080BB22A + .align 2, 0 +_080BB218: .4byte gOtherText_LR +_080BB21C: .4byte gOtherText_RL +_080BB220: .4byte gUnknown_020387B4 +_080BB224: .4byte gUnknown_083D03F8 +_080BB228: + adds r0, r5, 0 +_080BB22A: + movs r1, 0x7 + movs r2, 0x4 + bl MenuPrint + b _080BB240 +_080BB234: + adds r0, r1, 0 + movs r1, 0x7 + movs r2, 0x4 + movs r3, 0x3 + bl sub_80BAE78 +_080BB240: + bl IsSEPlaying + lsls r0, 24 + lsrs r0, 24 + movs r1, 0xC + movs r2, 0x8 + movs r3, 0x1 + bl sub_80BAE78 + add sp, 0x10 + pop {r4,r5} + pop {r0} + bx r0 + thumb_func_end sub_80BB1D4 +*/ + void sub_80BB25C(u8 taskId) { struct CryRelatedStruct cryStruct, cryStruct2; |