Merge branch 'master' into fix-eventobj

This commit is contained in:
GriffinR
2019-12-11 01:09:06 -05:00
committed by GitHub
63 changed files with 2120 additions and 2142 deletions
+18 -18
View File
@@ -296,7 +296,7 @@ _08021C5E:
lsrs r2, 24 lsrs r2, 24
mov r1, r10 mov r1, r10
lsrs r3, r1, 24 lsrs r3, r1, 24
ldr r1, =gUnknown_082F32D8 ldr r1, =sBerryCrushTextColors1
str r1, [sp] str r1, [sp]
movs r4, 0 movs r4, 0
str r4, [sp, 0x4] str r4, [sp, 0x4]
@@ -338,7 +338,7 @@ _08021CC8:
ldrb r0, [r0] ldrb r0, [r0]
mov r4, r10 mov r4, r10
lsrs r3, r4, 24 lsrs r3, r4, 24
ldr r1, =gUnknown_082F32D8 ldr r1, =sBerryCrushTextColors1
str r1, [sp] str r1, [sp]
movs r1, 0 movs r1, 0
str r1, [sp, 0x4] str r1, [sp, 0x4]
@@ -402,7 +402,7 @@ sub_8021D34: @ 8021D34
ldrh r1, [r2, 0x4] ldrh r1, [r2, 0x4]
bl sub_8021944 bl sub_8021944
ldrb r0, [r4] ldrb r0, [r4]
ldr r4, =gUnknown_082F32D8 ldr r4, =sBerryCrushTextColors1
str r4, [sp] str r4, [sp]
str r6, [sp, 0x4] str r6, [sp, 0x4]
ldr r1, =gText_TimeColon ldr r1, =gText_TimeColon
@@ -423,7 +423,7 @@ sub_8021D34: @ 8021D34
lsrs r6, r0, 24 lsrs r6, r0, 24
mov r2, r9 mov r2, r9
ldrb r0, [r2] ldrb r0, [r2]
ldr r1, =gUnknown_082F32D8 ldr r1, =sBerryCrushTextColors1
str r1, [sp] str r1, [sp]
mov r2, r10 mov r2, r10
str r2, [sp, 0x4] str r2, [sp, 0x4]
@@ -464,7 +464,7 @@ sub_8021D34: @ 8021D34
lsrs r6, r0, 24 lsrs r6, r0, 24
mov r4, r9 mov r4, r9
ldrb r0, [r4] ldrb r0, [r4]
ldr r1, =gUnknown_082F32D8 ldr r1, =sBerryCrushTextColors1
str r1, [sp] str r1, [sp]
mov r2, r10 mov r2, r10
str r2, [sp, 0x4] str r2, [sp, 0x4]
@@ -484,7 +484,7 @@ sub_8021D34: @ 8021D34
lsrs r6, r0, 24 lsrs r6, r0, 24
mov r1, r9 mov r1, r9
ldrb r0, [r1] ldrb r0, [r1]
ldr r2, =gUnknown_082F32D8 ldr r2, =sBerryCrushTextColors1
str r2, [sp] str r2, [sp]
mov r1, r10 mov r1, r10
str r1, [sp, 0x4] str r1, [sp, 0x4]
@@ -515,7 +515,7 @@ sub_8021D34: @ 8021D34
lsrs r6, r0, 24 lsrs r6, r0, 24
mov r4, r9 mov r4, r9
ldrb r0, [r4] ldrb r0, [r4]
ldr r1, =gUnknown_082F32D8 ldr r1, =sBerryCrushTextColors1
str r1, [sp] str r1, [sp]
mov r2, r10 mov r2, r10
str r2, [sp, 0x4] str r2, [sp, 0x4]
@@ -529,7 +529,7 @@ sub_8021D34: @ 8021D34
lsls r0, 24 lsls r0, 24
lsrs r7, r0, 24 lsrs r7, r0, 24
ldrb r0, [r4] ldrb r0, [r4]
ldr r4, =gUnknown_082F32D8 ldr r4, =sBerryCrushTextColors1
str r4, [sp] str r4, [sp]
mov r1, r10 mov r1, r10
str r1, [sp, 0x4] str r1, [sp, 0x4]
@@ -552,7 +552,7 @@ sub_8021D34: @ 8021D34
lsrs r6, r0, 24 lsrs r6, r0, 24
mov r1, r9 mov r1, r9
ldrb r0, [r1] ldrb r0, [r1]
ldr r2, =gUnknown_082F32D8 ldr r2, =sBerryCrushTextColors1
str r2, [sp] str r2, [sp]
mov r1, r10 mov r1, r10
str r1, [sp, 0x4] str r1, [sp, 0x4]
@@ -633,7 +633,7 @@ _08021F0A:
lsls r0, 1 lsls r0, 1
add r0, r8 add r0, r8
ldrb r0, [r0] ldrb r0, [r0]
ldr r1, =gUnknown_082F32E7 ldr r1, =sBerryCrushTextColors4
str r1, [sp] str r1, [sp]
movs r1, 0 movs r1, 0
str r1, [sp, 0x4] str r1, [sp, 0x4]
@@ -649,7 +649,7 @@ _08021FC4:
lsls r0, 1 lsls r0, 1
add r0, r8 add r0, r8
ldrb r0, [r0] ldrb r0, [r0]
ldr r1, =gUnknown_082F32D8 ldr r1, =sBerryCrushTextColors1
str r1, [sp] str r1, [sp]
str r2, [sp, 0x4] str r2, [sp, 0x4]
str r4, [sp, 0x8] str r4, [sp, 0x8]
@@ -667,7 +667,7 @@ _08021FDE:
add r8, r4 add r8, r4
mov r1, r8 mov r1, r8
ldrb r0, [r1] ldrb r0, [r1]
ldr r2, =gUnknown_082F32D8 ldr r2, =sBerryCrushTextColors1
mov r9, r2 mov r9, r2
str r2, [sp] str r2, [sp]
movs r5, 0 movs r5, 0
@@ -1019,7 +1019,7 @@ _080222D0:
lsls r0, 24 lsls r0, 24
lsrs r7, r0, 24 lsrs r7, r0, 24
ldrb r0, [r6, 0x2] ldrb r0, [r6, 0x2]
ldr r5, =gUnknown_082F32E1 ldr r5, =sBerryCrushTextColorTable
str r5, [sp] str r5, [sp]
mov r1, r9 mov r1, r9
str r1, [sp, 0x4] str r1, [sp, 0x4]
@@ -1062,7 +1062,7 @@ _08022336:
ldr r1, =gText_Var1Players ldr r1, =gText_Var1Players
bl StringExpandPlaceholders bl StringExpandPlaceholders
ldrb r0, [r6, 0x2] ldrb r0, [r6, 0x2]
ldr r1, =gUnknown_082F32D8 ldr r1, =sBerryCrushTextColors1
str r1, [sp] str r1, [sp]
movs r1, 0 movs r1, 0
str r1, [sp, 0x4] str r1, [sp, 0x4]
@@ -1082,7 +1082,7 @@ _08022336:
lsls r1, 24 lsls r1, 24
lsrs r7, r1, 24 lsrs r7, r1, 24
ldrb r0, [r6, 0x2] ldrb r0, [r6, 0x2]
ldr r1, =gUnknown_082F32D8 ldr r1, =sBerryCrushTextColors1
str r1, [sp] str r1, [sp]
movs r1, 0 movs r1, 0
str r1, [sp, 0x4] str r1, [sp, 0x4]
@@ -1155,7 +1155,7 @@ _080223CA:
lsls r0, 24 lsls r0, 24
lsrs r7, r0, 24 lsrs r7, r0, 24
ldrb r0, [r6, 0x2] ldrb r0, [r6, 0x2]
ldr r1, =gUnknown_082F32D8 ldr r1, =sBerryCrushTextColors1
str r1, [sp] str r1, [sp]
movs r1, 0 movs r1, 0
str r1, [sp, 0x4] str r1, [sp, 0x4]
@@ -1405,7 +1405,7 @@ _08022616:
mov r1, r8 mov r1, r8
str r1, [sp] str r1, [sp]
str r1, [sp, 0x4] str r1, [sp, 0x4]
ldr r1, =gUnknown_082F32DB ldr r1, =sBerryCrushTextColors2
str r1, [sp, 0x8] str r1, [sp, 0x8]
mov r1, r8 mov r1, r8
str r1, [sp, 0xC] str r1, [sp, 0xC]
@@ -1432,7 +1432,7 @@ _08022668:
mov r1, r8 mov r1, r8
str r1, [sp] str r1, [sp]
str r1, [sp, 0x4] str r1, [sp, 0x4]
ldr r1, =gUnknown_082F32DE ldr r1, =sBerryCrushTextColors3
str r1, [sp, 0x8] str r1, [sp, 0x8]
mov r1, r8 mov r1, r8
str r1, [sp, 0xC] str r1, [sp, 0xC]
+21 -23
View File
@@ -1,6 +1,4 @@
@ TODO: Add explanatory comments to macros @ Set sRoomType to the next PIKE_ROOM_* id
@
.macro pike_setnextroom .macro pike_setnextroom
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_ROOM_TYPE setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_ROOM_TYPE
special CallBattlePikeFunction special CallBattlePikeFunction
@@ -25,19 +23,19 @@
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ TRUE if the next room is the last (15th) room, FALSE otherwise
.macro pike_isfinalroom .macro pike_isfinalroom
setvar VAR_0x8004, BATTLE_PIKE_FUNC_IS_FINAL_ROOM setvar VAR_0x8004, BATTLE_PIKE_FUNC_IS_FINAL_ROOM
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Set the object event gfx for the room being entered
.macro pike_setroomobjects .macro pike_setroomobjects
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_ROOM_OBJECTS setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_ROOM_OBJECTS
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Get the current room type (sRoomType)
.macro pike_getroomtype .macro pike_getroomtype
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_TYPE setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_TYPE
special CallBattlePikeFunction special CallBattlePikeFunction
@@ -62,33 +60,33 @@
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Returns the PIKE_STATUS_* to be afflicted for the status room
.macro pike_getstatus .macro pike_getstatus
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_STATUS setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_STATUS
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Returns the PIKE_STATUSMON_* that attacks the player for the status room
.macro pike_getstatusmon .macro pike_getstatusmon
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_STATUS_MON setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_STATUS_MON
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Randomly heals either one or two party mons and returns the number of mons healed
.macro pike_healonetwomons .macro pike_healonetwomons
setvar VAR_0x8004, BATTLE_PIKE_FUNC_HEAL_ONE_TWO_MONS setvar VAR_0x8004, BATTLE_PIKE_FUNC_HEAL_ONE_TWO_MONS
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Buffers a message for the lone NPC in the NPC room to gStringVar4
.macro pike_getnpcmsg .macro pike_getnpcmsg
setvar VAR_0x8004, BATTLE_PIKE_FUNC_BUFFER_NPC_MSG setvar VAR_0x8004, BATTLE_PIKE_FUNC_BUFFER_NPC_MSG
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Flashes the screen 3 times for when the Dusclops/Kirlia attacks the player
.macro pike_fadescreen .macro pike_flashscreen
setvar VAR_0x8004, BATTLE_PIKE_FUNC_STATUS_SCREEN_FADE setvar VAR_0x8004, BATTLE_PIKE_FUNC_STATUS_SCREEN_FLASH
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@@ -98,31 +96,31 @@
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ TRUE if its the Pike Queens room @ Set which room to give a hint about. TRUE if its the Pike Queens room next
.macro pike_sethintroom .macro pike_sethintroom
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_HINT_ROOM setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_HINT_ROOM
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Get PIKE_ROOM_(LEFT/CENTER/RIGHT) for which room to give a hint about
.macro pike_gethintroomid .macro pike_gethintroomid
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_HINT_ROOM_ID setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_HINT_ROOM_ID
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Get the PIKE_HINT_* to give about the next room
.macro pike_gethint .macro pike_gethint
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_TYPE_HINT setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_TYPE_HINT
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Reset the frontier trainer ids for the start of the challenge
.macro pike_cleartrainerids .macro pike_cleartrainerids
setvar VAR_0x8004, BATTLE_PIKE_FUNC_CLEAR_TRAINER_IDS setvar VAR_0x8004, BATTLE_PIKE_FUNC_CLEAR_TRAINER_IDS
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Buffer the opponents battle intro speech to gStringVar4. \trainer 0 for Trainer A, 1 for Trainer B
.macro pike_gettrainerintro trainer:req .macro pike_gettrainerintro trainer:req
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_TRAINER_INTRO setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_TRAINER_INTRO
setvar VAR_0x8005, \trainer setvar VAR_0x8005, \trainer
@@ -135,32 +133,32 @@
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Heal 0-2 party mons depending on which room was chosen for the Pike Queen battle. Return the number healed
.macro pike_prequeenheal .macro pike_prequeenheal
setvar VAR_0x8004, BATTLE_PIKE_FUNC_HEAL_MONS_BEFORE_QUEEN setvar VAR_0x8004, BATTLE_PIKE_FUNC_HEAL_MONS_BEFORE_QUEEN
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ When \set is TRUE, prevent healing rooms from appearing (for 1st room or when party is full health). \set FALSE to re-enable healing rooms
.macro pike_nohealing set:req .macro pike_nohealing set:req
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_HEAL_ROOMS_DISABLED setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_HEAL_ROOMS_DISABLED
setvar VAR_0x8005, \set setvar VAR_0x8005, \set
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ TRUE if the party is full health (full HP, PP, and no status), FALSE otherwise
.macro pike_ispartyfullhealth .macro pike_ispartyfullhealth
setvar VAR_0x8004, BATTLE_PIKE_FUNC_IS_PARTY_FULL_HEALTH setvar VAR_0x8004, BATTLE_PIKE_FUNC_IS_PARTY_FULL_HEALTH
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Save the party held items in pikeHeldItemsBackup
.macro pike_savehelditems .macro pike_savehelditems
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SAVE_HELD_ITEMS setvar VAR_0x8004, BATTLE_PIKE_FUNC_SAVE_HELD_ITEMS
special CallBattlePikeFunction special CallBattlePikeFunction
.endm .endm
@ @ Restore the party held items from pikeHeldItemsBackup
.macro pike_resethelditems .macro pike_resethelditems
setvar VAR_0x8004, BATTLE_PIKE_FUNC_RESET_HELD_ITEMS setvar VAR_0x8004, BATTLE_PIKE_FUNC_RESET_HELD_ITEMS
special CallBattlePikeFunction special CallBattlePikeFunction
+11 -11
View File
@@ -47,21 +47,21 @@ gUnknown_082F32CC:: @ 82F32CC struct BgTemplate? not sure
.byte 0xb3, 0x30, 0x00, 0x00 .byte 0xb3, 0x30, 0x00, 0x00
.align 2 .align 2
gUnknown_082F32D8:: @ 82F32D8 sBerryCrushTextColors1:: @ 82F32D8
.byte 0x01, 0x02, 0x03 .byte 0x01, 0x02, 0x03 @ TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY
gUnknown_082F32DB:: @ 82F32DB sBerryCrushTextColors2:: @ 82F32DB
.byte 0x00, 0x01, 0x02 .byte 0x00, 0x01, 0x02 @ TEXT_COLOR_TRANSPARENT, TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY
gUnknown_082F32DE:: @ 82F32DE sBerryCrushTextColors3:: @ 82F32DE
.byte 0x00, 0x03, 0x04 .byte 0x00, 0x03, 0x04 @ TEXT_COLOR_TRANSPARENT, TEXT_COLOR_LIGHT_GREY, TEXT_COLOR_RED
gUnknown_082F32E1:: @ 82F32E1 sBerryCrushTextColorTable:: @ 82F32E1
.byte 0x01, 0x08, 0x09 .byte 0x01, 0x08, 0x09 @ TEXT_COLOR_WHITE, TEXT_COLOR_BLUE, TEXT_COLOR_LIGHT_BLUE
.byte 0x01, 0x06, 0x07 .byte 0x01, 0x06, 0x07 @ TEXT_COLOR_WHITE, TEXT_COLOR_GREEN, TEXT_COLOR_LIGHT_GREEN
gUnknown_082F32E7:: @ 82F32E7 sBerryCrushTextColors4:: @ 82F32E7
.byte 0x01, 0x04, 0x05 .byte 0x01, 0x04, 0x05 @ TEXT_COLOR_WHITE, TEXT_COLOR_RED, TEXT_COLOR_LIGHT_RED
.align 2 .align 2
gUnknown_082F32EC:: @ 82F32EC gUnknown_082F32EC:: @ 82F32EC
+2 -2
View File
@@ -83,6 +83,6 @@ gUnknown_0858D8E0:: @ 858D8E0
obj_tiles gMiscBlank_Gfx, 0x0200, 0x56ce obj_tiles gMiscBlank_Gfx, 0x0200, 0x56ce
.align 2 .align 2
gUnknown_0858D8E8:: @ 858D8E8 sContestLinkTextColors:: @ 858D8E8
.byte 0x01, 0x0f, 0x0e, 0x00 .byte 0x01, 0x0f, 0x0e, 0x00 @ TEXT_COLOR_WHITE, TEXT_DYNAMIC_COLOR_6, TEXT_DYNAMIC_COLOR_5
@@ -145,7 +145,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent:: @ 82576B0
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor7thOpponent call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor7thOpponent
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ProceedChallengeNoRecord goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponentNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1 multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge
@@ -154,7 +154,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent:: @ 82576B0
case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleArenaBattleRoom_EventScript_ProceedChallengeNoRecord:: @ 8257768 BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @ 8257768
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1 multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge
@@ -254,7 +254,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon:: @ 82578D4
waitmessage waitmessage
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0 call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ProceedChallengeGretaNoRecord goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoonNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1 multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta
@@ -263,7 +263,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon:: @ 82578D4
case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon
BattleFrontier_BattleArenaBattleRoom_EventScript_ProceedChallengeGretaNoRecord:: @ 825792B BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoonNoRecord:: @ 825792B
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1 multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta
@@ -1,167 +1,169 @@
BattleFrontier_BattlePalaceBattleRoom_MapScripts:: @ 824F815 BattleFrontier_BattlePalaceBattleRoom_MapScripts:: @ 824F815
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattlePalaceBattleRoom_MapScript1_24F825 map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattlePalaceBattleRoom_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceBattleRoom_MapScript2_24F861 map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceBattleRoom_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePalaceBattleRoom_MapScript2_24FE34 map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePalaceBattleRoom_OnWarp
.byte 0 .byte 0
BattleFrontier_BattlePalaceBattleRoom_MapScript1_24F825: @ 824F825 @ On this map the player (OBJ_EVENT_ID_PLAYER) is hidden
@ The player is represented instead by object event 1, which has the gfx id VAR_OBJ_GFX_ID_0
@ The opponent is represented by object event 2, which has the gfx id VAR_OBJ_GFX_ID_1
BattleFrontier_BattlePalaceBattleRoom_OnTransition: @ 824F825
frontier_settrainers frontier_settrainers
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833 call BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfx
end end
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833:: @ 824F833 BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfx:: @ 824F833
checkplayergender checkplayergender
compare VAR_RESULT, MALE compare VAR_RESULT, MALE
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxMale
compare VAR_RESULT, FEMALE compare VAR_RESULT, FEMALE
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxFemale
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B:: @ 824F84B @ The opponent's gfx are set to the players by default
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxMale:: @ 824F84B
setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856:: @ 824F856 BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxFemale:: @ 824F856
setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
return return
BattleFrontier_BattlePalaceBattleRoom_MapScript2_24F861: @ 824F861 BattleFrontier_BattlePalaceBattleRoom_OnFrame: @ 824F861
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F86B map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_EnterRoom
.2byte 0 .2byte 0
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F86B:: @ 824F86B BattleFrontier_BattlePalaceBattleRoom_EventScript_EnterRoom:: @ 824F86B
showobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM showobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM
frontier_get FRONTIER_DATA_BATTLE_NUM frontier_get FRONTIER_DATA_BATTLE_NUM
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_BeginChallenge
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerReturnToChallenge
waitmovement 0 waitmovement 0
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
setvar VAR_TEMP_2, 1 setvar VAR_TEMP_2, 1
frontier_set FRONTIER_DATA_6, 1 frontier_set FRONTIER_DATA_6, 1
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A goto BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5:: @ 824F8B5 BattleFrontier_BattlePalaceBattleRoom_EventScript_BeginChallenge:: @ 824F8B5
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE92 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerEnterRoom
waitmovement 0 waitmovement 0
BattleFrontier_BattlePalaceBattleRoom_EventScript_NextOpponentEnter:: @ 824F8BF
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8BF:: @ 824F8BF
tower_setopponent tower_setopponent
addobject 2 addobject 2
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA1 applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentEnter
waitmovement 0 waitmovement 0
palace_getopponentintro palace_getopponentintro
msgbox gStringVar4, MSGBOX_DEFAULT msgbox gStringVar4, MSGBOX_DEFAULT
waitmessage waitmessage
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7 call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
switch VAR_RESULT switch VAR_RESULT
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F911 case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost:: @ 824F8FA
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA:: @ 824F8FA
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobby
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F911:: @ 824F911 BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedOpponent:: @ 824F911
call BattleFrontier_EventScript_IncrementWinStreak call BattleFrontier_EventScript_IncrementWinStreak
frontier_get FRONTIER_DATA_BATTLE_NUM frontier_get FRONTIER_DATA_BATTLE_NUM
addvar VAR_RESULT, 1 addvar VAR_RESULT, 1
frontier_set FRONTIER_DATA_BATTLE_NUM, VAR_RESULT frontier_set FRONTIER_DATA_BATTLE_NUM, VAR_RESULT
switch VAR_RESULT switch VAR_RESULT
case 7, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28 case 7, BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA7 applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentExit
waitmovement 0 waitmovement 0
removeobject 2 removeobject 2
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
waitmovement 0 waitmovement 0
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_24FF00, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_LetMeRestoreYourMons, MSGBOX_DEFAULT
special LoadPlayerParty special LoadPlayerParty
special SavePlayerParty special SavePlayerParty
frontier_setpartyorder FRONTIER_PARTY_SIZE frontier_setpartyorder FRONTIER_PARTY_SIZE
playfanfare MUS_ME_ASA playfanfare MUS_ME_ASA
waitfanfare waitfanfare
special HealPlayerParty special HealPlayerParty
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent:: @ 824F98A
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A:: @ 824F98A
frontier_getbrainstatus frontier_getbrainstatus
copyvar VAR_TEMP_F, VAR_RESULT copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61 goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_MavenUpNext
frontier_get FRONTIER_DATA_BATTLE_NUM frontier_get FRONTIER_DATA_BATTLE_NUM
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE66 call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor2ndOpponent
compare VAR_RESULT, 2 compare VAR_RESULT, 2
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE6D call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor3rdOpponent
compare VAR_RESULT, 3 compare VAR_RESULT, 3
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE74 call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor4thOpponent
compare VAR_RESULT, 4 compare VAR_RESULT, 4
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE7B call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor5thOpponent
compare VAR_RESULT, 5 compare VAR_RESULT, 5
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE82 call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor6thOpponent
compare VAR_RESULT, 6 compare VAR_RESULT, 6
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE89 call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor7thOpponent
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0 call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA42 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponentNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1 multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB14 case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_ContinueChallenge
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA78 case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRecordBattle
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4 case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge
case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2 case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA42:: @ 824FA42 BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @ 824FA42
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1 multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB14 case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_ContinueChallenge
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4 case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2 case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA78:: @ 824FA78 BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRecordBattle:: @ 824FA78
message BattleFrontier_BattlePalaceBattleRoom_Text_25009E message BattleFrontier_BattlePalaceBattleRoom_Text_RecordLastMatch
waitmessage waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, 0 multichoicedefault 20, 8, MULTI_YESNO, 1, 0
switch VAR_RESULT switch VAR_RESULT
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAAA case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_RecordBattle
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAAA:: @ 824FAAA BattleFrontier_BattlePalaceBattleRoom_EventScript_RecordBattle:: @ 824FAAA
call BattleFrontier_EventScript_SaveBattle call BattleFrontier_EventScript_SaveBattle
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A goto BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4:: @ 824FAB4 BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge:: @ 824FAB4
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250030, MSGBOX_YESNO msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case NO, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case NO, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
case YES, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F case YES, BattleFrontier_BattlePalaceBattleRoom_EventScript_PauseChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2:: @ 824FAE2 BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge:: @ 824FAE2
message BattleFrontier_BattlePalaceBattleRoom_Text_25005A message BattleFrontier_BattlePalaceBattleRoom_Text_WishToQuitChallenge
waitmessage waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, 0 multichoicedefault 20, 8, MULTI_YESNO, 1, 0
switch VAR_RESULT switch VAR_RESULT
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB14:: @ 824FB14 BattleFrontier_BattlePalaceBattleRoom_EventScript_ContinueChallenge:: @ 824FB14
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97 applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
closemessage closemessage
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8BF goto BattleFrontier_BattlePalaceBattleRoom_EventScript_NextOpponentEnter
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28:: @ 824FB28 BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon:: @ 824FB28
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobby
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F:: @ 824FB3F BattleFrontier_BattlePalaceBattleRoom_EventScript_PauseChallenge:: @ 824FB3F
message BattleFrontier_BattlePalaceBattleRoom_Text_25007E message BattleFrontier_BattlePalaceBattleRoom_Text_SavingData
waitmessage waitmessage
palace_save CHALLENGE_STATUS_PAUSED palace_save CHALLENGE_STATUS_PAUSED
playse SE_SAVE playse SE_SAVE
@@ -170,76 +172,75 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F:: @ 824FB3F
frontier_reset frontier_reset
end end
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61:: @ 824FB61 BattleFrontier_BattlePalaceBattleRoom_EventScript_MavenUpNext:: @ 824FB61
compare VAR_TEMP_2, 1 compare VAR_TEMP_2, 1
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2500DD, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_ChallengingPalaceMaven, MSGBOX_DEFAULT
setvar VAR_TEMP_2, 1 setvar VAR_TEMP_2, 1
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven:: @ 824FB79
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79:: @ 824FB79 message BattleFrontier_BattlePalaceBattleRoom_Text_ReadyForPalaceMaven
message BattleFrontier_BattlePalaceBattleRoom_Text_25014A
waitmessage waitmessage
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0 call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FBD0 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMavenNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1 multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06 case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA78 case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRecordBattle
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4 case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge
case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2 case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FBD0:: @ 824FBD0 BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMavenNoRecord:: @ 824FBD0
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1 multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06 case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4 case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2 case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06:: @ 824FC06 BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser:: @ 824FC06
call BattleFrontier_EventScript_SetBrainObjectGfx call BattleFrontier_EventScript_SetBrainObjectGfx
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25017C, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_AnnounceArrivalOfSpenser, MSGBOX_DEFAULT
closemessage closemessage
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97 applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
setobjectxyperm 2, 15, 1 setobjectxyperm 2, 15, 1
addobject 2 addobject 2
hideobjectat 2, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM hideobjectat 2, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM
setobjectxy 2, 13, 1 setobjectxy 2, 13, 1
setobjectxyperm 2, 13, 1 setobjectxyperm 2, 13, 1
applymovement 4, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEDF applymovement 4, BattleFrontier_BattlePalaceBattleRoom_Movement_DusclopsEnter
applymovement 5, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEE7 applymovement 5, BattleFrontier_BattlePalaceBattleRoom_Movement_AzurillEnter
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEF2 applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_SpenserEnter
waitmovement 0 waitmovement 0
switch VAR_TEMP_F switch VAR_TEMP_F
case FRONTIER_BRAIN_GOLD, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A case FRONTIER_BRAIN_GOLD, BattleFrontier_BattlePalaceBattleRoom_EventScript_IntroSpenserGold
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA case FRONTIER_BRAIN_STREAK, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserSilver
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67 case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserGold
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
compare VAR_RESULT, FALSE compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserSilver
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2501C1, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserFirstIntro, MSGBOX_DEFAULT
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA:: @ 824FCAA BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserSilver:: @ 824FCAA
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502C4, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_ProveYourBondWithMons, MSGBOX_DEFAULT
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7 call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserSilver
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7 BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserSilver:: @ 824FCC7
palace_incrementstreak palace_incrementstreak
frontier_getsymbols frontier_getsymbols
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28 goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502FF, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserPostSilverBattle, MSGBOX_DEFAULT
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25036D, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_LetsSeeFrontierPass, MSGBOX_DEFAULT
playfanfare MUS_ME_SYMBOLGET playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePalaceBattleRoom_Text_2503DC message BattleFrontier_BattlePalaceBattleRoom_Text_ReceivedSpiritsSymbol
waitmessage waitmessage
waitfanfare waitfanfare
frontier_givesymbol frontier_givesymbol
@@ -248,33 +249,33 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7
applymovement 1, Common_Movement_WalkInPlaceFastestRight applymovement 1, Common_Movement_WalkInPlaceFastestRight
applymovement 3, Common_Movement_WalkInPlaceFastestRight applymovement 3, Common_Movement_WalkInPlaceFastestRight
waitmovement 0 waitmovement 0
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250412, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserAwaitNextTime, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28 goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A:: @ 824FD3A BattleFrontier_BattlePalaceBattleRoom_EventScript_IntroSpenserGold:: @ 824FD3A
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
compare VAR_RESULT, FALSE compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67 goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserGold
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250485, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserThisTimeWontHoldBack, MSGBOX_DEFAULT
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67:: @ 824FD67 BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserGold:: @ 824FD67
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250572, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_Kaaah, MSGBOX_DEFAULT
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7 call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserGold
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84 BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserGold:: @ 824FD84
palace_incrementstreak palace_incrementstreak
frontier_getsymbols frontier_getsymbols
compare VAR_RESULT, 2 compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25057E, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserYourTeamIsAdmirable, MSGBOX_DEFAULT
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99 applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250629, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_HurryWithFrontierPass, MSGBOX_DEFAULT
playfanfare MUS_ME_SYMBOLGET playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattlePalaceBattleRoom_Text_250699 message BattleFrontier_BattlePalaceBattleRoom_Text_SpiritsSymbolTookGoldenShine
waitmessage waitmessage
waitfanfare waitfanfare
frontier_givesymbol frontier_givesymbol
@@ -283,11 +284,10 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84
applymovement 1, Common_Movement_WalkInPlaceFastestRight applymovement 1, Common_Movement_WalkInPlaceFastestRight
applymovement 3, Common_Movement_WalkInPlaceFastestRight applymovement 3, Common_Movement_WalkInPlaceFastestRight
waitmovement 0 waitmovement 0
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2506C4, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserComeSeeMeAgain, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28 goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7:: @ 824FDF7 BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle:: @ 824FDF7
VerdanturfTown_BattleTentBattleRoom_EventScript_24FDF7:: @ 824FDF7
closemessage closemessage
setvar VAR_TEMP_2, 0 setvar VAR_TEMP_2, 0
frontier_set FRONTIER_DATA_6, 0 frontier_set FRONTIER_DATA_6, 0
@@ -301,70 +301,69 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_24FDF7:: @ 824FDF7
frontier_resetsketch frontier_resetsketch
return return
BattleFrontier_BattlePalaceBattleRoom_MapScript2_24FE34: @ 824FE34 BattleFrontier_BattlePalaceBattleRoom_OnWarp: @ 824FE34
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE3E map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_SetUpRoomObjects
.2byte 0 .2byte 0
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE3E:: @ 824FE3E BattleFrontier_BattlePalaceBattleRoom_EventScript_SetUpRoomObjects:: @ 824FE3E
hideobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM hideobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833 call BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfx
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE90 applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible
removeobject 2 removeobject 2
applymovement 4, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE90 applymovement 4, BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible
applymovement 5, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE90 applymovement 5, BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible
end end
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE66:: @ 824FE66 BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor2ndOpponent:: @ 824FE66
message BattleFrontier_BattlePalaceBattleRoom_Text_24FF28 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor2ndOpponent
waitmessage waitmessage
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE6D:: @ 824FE6D BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor3rdOpponent:: @ 824FE6D
message BattleFrontier_BattlePalaceBattleRoom_Text_24FF54 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor3rdOpponent
waitmessage waitmessage
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE74:: @ 824FE74 BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor4thOpponent:: @ 824FE74
message BattleFrontier_BattlePalaceBattleRoom_Text_24FF80 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor4thOpponent
waitmessage waitmessage
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE7B:: @ 824FE7B BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor5thOpponent:: @ 824FE7B
message BattleFrontier_BattlePalaceBattleRoom_Text_24FFAC message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor5thOpponent
waitmessage waitmessage
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE82:: @ 824FE82 BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor6thOpponent:: @ 824FE82
message BattleFrontier_BattlePalaceBattleRoom_Text_24FFD8 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor6thOpponent
waitmessage waitmessage
return return
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE89:: @ 824FE89 BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor7thOpponent:: @ 824FE89
message BattleFrontier_BattlePalaceBattleRoom_Text_250004 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor7thOpponent
waitmessage waitmessage
return return
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE90: @ 824FE90 BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible: @ 824FE90
set_invisible set_invisible
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE92: @ 824FE92 BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerEnterRoom: @ 824FE92
set_visible set_visible
walk_up walk_up
walk_up walk_up
walk_up walk_up
walk_up walk_up
BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight: @ 824FE97
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97: @ 824FE97
face_right face_right
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99: @ 824FE99 BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp: @ 824FE99
face_up face_up
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B: @ 824FE9B BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerReturnToChallenge: @ 824FE9B
set_visible set_visible
walk_up walk_up
walk_up walk_up
@@ -372,7 +371,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B: @ 824FE9B
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA1: @ 824FEA1 BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentEnter: @ 824FEA1
walk_down walk_down
walk_down walk_down
walk_down walk_down
@@ -380,50 +379,50 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA1: @ 824FEA1
face_left face_left
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA7: @ 824FEA7 BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentExit: @ 824FEA7
walk_up walk_up
walk_up walk_up
walk_up walk_up
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC: @ 824FEAC BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown: @ 824FEAC
face_down face_down
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAE: @ 824FEAE BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter1: @ 824FEAE
set_visible set_visible
walk_slow_down walk_slow_down
walk_slow_down walk_slow_down
face_left face_left
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEB3: @ 824FEB3 BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter2: @ 824FEB3
set_visible set_visible
walk_slow_down walk_slow_down
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEB6: @ 824FEB6 BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter3: @ 824FEB6
walk_slow_down walk_slow_down
walk_slow_down walk_slow_down
walk_slow_down walk_slow_down
face_left face_left
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB:: @ 824FEBB BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobby:: @ 824FEBB
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, FRONTIER_MODE_DOUBLES compare VAR_RESULT, FRONTIER_MODE_DOUBLES
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FED5 goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyDoubles
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 5, 7 warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 5, 7
waitstate waitstate
end end
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FED5:: @ 824FED5 BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyDoubles:: @ 824FED5
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 19, 7 warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 19, 7
waitstate waitstate
end end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEDF: @ 824FEDF BattleFrontier_BattlePalaceBattleRoom_Movement_DusclopsEnter: @ 824FEDF
delay_16 delay_16
delay_16 delay_16
set_visible set_visible
@@ -433,7 +432,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEDF: @ 824FEDF
walk_in_place_fastest_left walk_in_place_fastest_left
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEE7: @ 824FEE7 BattleFrontier_BattlePalaceBattleRoom_Movement_AzurillEnter: @ 824FEE7
set_visible set_visible
walk_fast_down walk_fast_down
walk_fast_right walk_fast_right
@@ -446,7 +445,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEE7: @ 824FEE7
delay_16 delay_16
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEF2: @ 824FEF2 BattleFrontier_BattlePalaceBattleRoom_Movement_SpenserEnter: @ 824FEF2
delay_16 delay_16
delay_16 delay_16
delay_16 delay_16
@@ -462,70 +461,64 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEF2: @ 824FEF2
face_left face_left
step_end step_end
BattleFrontier_BattlePalaceBattleRoom_Text_24FF00: @ 824FF00 BattleFrontier_BattlePalaceBattleRoom_Text_LetMeRestoreYourMons: @ 824FF00
VerdanturfTown_BattleTentBattleRoom_Text_24FF00: @ 824FF00
.string "Excellent…\n" .string "Excellent…\n"
.string "Let me restore your POKéMON.$" .string "Let me restore your POKéMON.$"
BattleFrontier_BattlePalaceBattleRoom_Text_24FF28: @ 824FF28 BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor2ndOpponent: @ 824FF28
VerdanturfTown_BattleTentBattleRoom_Text_24FF28: @ 824FF28
.string "The 2nd opponent is next.\n" .string "The 2nd opponent is next.\n"
.string "Are you prepared?$" .string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_24FF54: @ 824FF54 BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor3rdOpponent: @ 824FF54
VerdanturfTown_BattleTentBattleRoom_Text_24FF54: @ 824FF54
.string "The 3rd opponent is next.\n" .string "The 3rd opponent is next.\n"
.string "Are you prepared?$" .string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_24FF80: @ 824FF80 BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor4thOpponent: @ 824FF80
.string "The 4th opponent is next.\n" .string "The 4th opponent is next.\n"
.string "Are you prepared?$" .string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_24FFAC: @ 824FFAC BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor5thOpponent: @ 824FFAC
.string "The 5th opponent is next.\n" .string "The 5th opponent is next.\n"
.string "Are you prepared?$" .string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_24FFD8: @ 824FFD8 BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor6thOpponent: @ 824FFD8
.string "The 6th opponent is next.\n" .string "The 6th opponent is next.\n"
.string "Are you prepared?$" .string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_250004: @ 8250004 BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor7thOpponent: @ 8250004
.string "The 7th opponent is next.\n" .string "The 7th opponent is next.\n"
.string "Are you prepared?$" .string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_250030: @ 8250030 BattleFrontier_BattlePalaceBattleRoom_Text_SaveAndQuitGame: @ 8250030
VerdanturfTown_BattleTentBattleRoom_Text_250030: @ 8250030
.string "Would you like to save and quit\n" .string "Would you like to save and quit\n"
.string "the game?$" .string "the game?$"
BattleFrontier_BattlePalaceBattleRoom_Text_25005A: @ 825005A BattleFrontier_BattlePalaceBattleRoom_Text_WishToQuitChallenge: @ 825005A
VerdanturfTown_BattleTentBattleRoom_Text_25005A: @ 825005A
.string "Do you wish to quit your challenge?$" .string "Do you wish to quit your challenge?$"
BattleFrontier_BattlePalaceBattleRoom_Text_25007E: @ 825007E BattleFrontier_BattlePalaceBattleRoom_Text_SavingData: @ 825007E
VerdanturfTown_BattleTentBattleRoom_Text_25007E: @ 825007E
.string "Saving the data.\n" .string "Saving the data.\n"
.string "Have patience…$" .string "Have patience…$"
BattleFrontier_BattlePalaceBattleRoom_Text_25009E: @ 825009E BattleFrontier_BattlePalaceBattleRoom_Text_RecordLastMatch: @ 825009E
.string "Do you wish to record your latest\n" .string "Do you wish to record your latest\n"
.string "match on your FRONTIER PASS?$" .string "match on your FRONTIER PASS?$"
BattleFrontier_BattlePalaceBattleRoom_Text_2500DD: @ 82500DD BattleFrontier_BattlePalaceBattleRoom_Text_ChallengingPalaceMaven: @ 82500DD
.string "And now…\p" .string "And now…\p"
.string "By winning consistently, you have\n" .string "By winning consistently, you have\n"
.string "earned the privilege of challenging\l" .string "earned the privilege of challenging\l"
.string "our master, the PALACE MAVEN…$" .string "our master, the PALACE MAVEN…$"
BattleFrontier_BattlePalaceBattleRoom_Text_25014A: @ 825014A BattleFrontier_BattlePalaceBattleRoom_Text_ReadyForPalaceMaven: @ 825014A
.string "I shall send for the PALACE MAVEN.\n" .string "I shall send for the PALACE MAVEN.\n"
.string "Are you ready?$" .string "Are you ready?$"
BattleFrontier_BattlePalaceBattleRoom_Text_25017C: @ 825017C BattleFrontier_BattlePalaceBattleRoom_Text_AnnounceArrivalOfSpenser: @ 825017C
.string "Let great fanfare announce the arrival\n" .string "Let great fanfare announce the arrival\n"
.string "of the PALACE MAVEN, SPENSER!$" .string "of the PALACE MAVEN, SPENSER!$"
BattleFrontier_BattlePalaceBattleRoom_Text_2501C1: @ 82501C1 BattleFrontier_BattlePalaceBattleRoom_Text_SpenserFirstIntro: @ 82501C1
.string "SPENSER: My physical being is with\n" .string "SPENSER: My physical being is with\n"
.string "POKéMON always!\p" .string "POKéMON always!\p"
.string "My heart beats as one with\n" .string "My heart beats as one with\n"
@@ -537,34 +530,34 @@ BattleFrontier_BattlePalaceBattleRoom_Text_2501C1: @ 82501C1
.string "If your bonds of trust are frail,\n" .string "If your bonds of trust are frail,\n"
.string "you will never beat my brethren!$" .string "you will never beat my brethren!$"
BattleFrontier_BattlePalaceBattleRoom_Text_2502C4: @ 82502C4 BattleFrontier_BattlePalaceBattleRoom_Text_ProveYourBondWithMons: @ 82502C4
.string "The bond you share with your POKéMON!\n" .string "The bond you share with your POKéMON!\n"
.string "Prove it to me here!$" .string "Prove it to me here!$"
BattleFrontier_BattlePalaceBattleRoom_Text_2502FF: @ 82502FF BattleFrontier_BattlePalaceBattleRoom_Text_SpenserPostSilverBattle: @ 82502FF
.string "SPENSER: Gwahahah!\p" .string "SPENSER: Gwahahah!\p"
.string "Hah, you never fell for my bluster!\n" .string "Hah, you never fell for my bluster!\n"
.string "Sorry for trying that stunt!\p" .string "Sorry for trying that stunt!\p"
.string "Here!\n" .string "Here!\n"
.string "Bring me the thing!$" .string "Bring me the thing!$"
BattleFrontier_BattlePalaceBattleRoom_Text_25036D: @ 825036D BattleFrontier_BattlePalaceBattleRoom_Text_LetsSeeFrontierPass: @ 825036D
.string "My, my, if only you could maintain that\n" .string "My, my, if only you could maintain that\n"
.string "facade of distinguished authority…\p" .string "facade of distinguished authority…\p"
.string "Here!\n" .string "Here!\n"
.string "Let's see your FRONTIER PASS!$" .string "Let's see your FRONTIER PASS!$"
BattleFrontier_BattlePalaceBattleRoom_Text_2503DC: @ 82503DC BattleFrontier_BattlePalaceBattleRoom_Text_ReceivedSpiritsSymbol: @ 82503DC
.string "The Spirits Symbol was embossed on\n" .string "The Spirits Symbol was embossed on\n"
.string "the FRONTIER PASS!$" .string "the FRONTIER PASS!$"
BattleFrontier_BattlePalaceBattleRoom_Text_250412: @ 8250412 BattleFrontier_BattlePalaceBattleRoom_Text_SpenserAwaitNextTime: @ 8250412
.string "SPENSER: Your POKéMON's eyes are \n" .string "SPENSER: Your POKéMON's eyes are \n"
.string "truly clear and unclouded.\p" .string "truly clear and unclouded.\p"
.string "I will eagerly await the next\n" .string "I will eagerly await the next\n"
.string "opportunity to see you.$" .string "opportunity to see you.$"
BattleFrontier_BattlePalaceBattleRoom_Text_250485: @ 8250485 BattleFrontier_BattlePalaceBattleRoom_Text_SpenserThisTimeWontHoldBack: @ 8250485
.string "SPENSER: Gwahahah!\n" .string "SPENSER: Gwahahah!\n"
.string "You've battled your way up again?\p" .string "You've battled your way up again?\p"
.string "You must have developed a truly\n" .string "You must have developed a truly\n"
@@ -575,10 +568,10 @@ BattleFrontier_BattlePalaceBattleRoom_Text_250485: @ 8250485
.string "Ready now?\n" .string "Ready now?\n"
.string "Prepare to lose!$" .string "Prepare to lose!$"
BattleFrontier_BattlePalaceBattleRoom_Text_250572: @ 8250572 BattleFrontier_BattlePalaceBattleRoom_Text_Kaaah: @ 8250572
.string " …Kaaah!$" .string " …Kaaah!$"
BattleFrontier_BattlePalaceBattleRoom_Text_25057E: @ 825057E BattleFrontier_BattlePalaceBattleRoom_Text_SpenserYourTeamIsAdmirable: @ 825057E
.string "SPENSER: Well, that was some display!\n" .string "SPENSER: Well, that was some display!\n"
.string "Even fully unleashed, my brethren\l" .string "Even fully unleashed, my brethren\l"
.string "could not overpower you.\p" .string "could not overpower you.\p"
@@ -586,17 +579,17 @@ BattleFrontier_BattlePalaceBattleRoom_Text_25057E: @ 825057E
.string "Here!\n" .string "Here!\n"
.string "Bring me that thing, will you?$" .string "Bring me that thing, will you?$"
BattleFrontier_BattlePalaceBattleRoom_Text_250629: @ 8250629 BattleFrontier_BattlePalaceBattleRoom_Text_HurryWithFrontierPass: @ 8250629
.string "My, my, if only you could maintain\n" .string "My, my, if only you could maintain\n"
.string "a certain level of decorum…\p" .string "a certain level of decorum…\p"
.string "Gaaah, here!\n" .string "Gaaah, here!\n"
.string "Hurry with that FRONTIER PASS, you!$" .string "Hurry with that FRONTIER PASS, you!$"
BattleFrontier_BattlePalaceBattleRoom_Text_250699: @ 8250699 BattleFrontier_BattlePalaceBattleRoom_Text_SpiritsSymbolTookGoldenShine: @ 8250699
.string "The Spirits Symbol took on\n" .string "The Spirits Symbol took on\n"
.string "a golden shine!$" .string "a golden shine!$"
BattleFrontier_BattlePalaceBattleRoom_Text_2506C4: @ 82506C4 BattleFrontier_BattlePalaceBattleRoom_Text_SpenserComeSeeMeAgain: @ 82506C4
.string "SPENSER: Gwahahah!\p" .string "SPENSER: Gwahahah!\p"
.string "Come see me time and again!\n" .string "Come see me time and again!\n"
.string "My brethren and I will be waiting!$" .string "My brethren and I will be waiting!$"
@@ -1,89 +1,88 @@
BattleFrontier_BattlePalaceCorridor_MapScripts:: @ 824F4A3 BattleFrontier_BattlePalaceCorridor_MapScripts:: @ 824F4A3
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceCorridor_MapScript2_24F4A9 map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceCorridor_OnFrame
.byte 0 .byte 0
BattleFrontier_BattlePalaceCorridor_MapScript2_24F4A9: @ 824F4A9 BattleFrontier_BattlePalaceCorridor_OnFrame: @ 824F4A9
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceCorridor_EventScript_24F4B3 map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceCorridor_EventScript_WalkThroughCorridor
.2byte 0 .2byte 0
BattleFrontier_BattlePalaceCorridor_EventScript_24F4B3:: @ 824F4B3 BattleFrontier_BattlePalaceCorridor_EventScript_WalkThroughCorridor:: @ 824F4B3
delay 16 delay 16
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5B8 applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5B8 applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor
waitmovement 0 waitmovement 0
lockall lockall
palace_getcomment palace_getcomment
compare VAR_RESULT, 0 compare VAR_RESULT, 0
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F58B call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment1
compare VAR_RESULT, 1 compare VAR_RESULT, 1
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F594 call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment2
compare VAR_RESULT, 2 compare VAR_RESULT, 2
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F59D call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment3
compare VAR_RESULT, 3 compare VAR_RESULT, 3
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F5A6 call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_StreakComment
compare VAR_RESULT, 4 compare VAR_RESULT, 4
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_LongStreakComment
closemessage closemessage
frontier_get FRONTIER_DATA_LVL_MODE frontier_get FRONTIER_DATA_LVL_MODE
compare VAR_RESULT, FRONTIER_LVL_OPEN compare VAR_RESULT, FRONTIER_LVL_OPEN
goto_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F553 goto_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_WalkToOpenBattleRoom
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5BD applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkTo50BattleRoom
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5C4 applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkTo50BattleRoom
waitmovement 0 waitmovement 0
opendoor 6, 3 opendoor 6, 3
waitdooranim waitdooranim
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5DA applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5D9 applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom
waitmovement 0 waitmovement 0
closedoor 6, 3 closedoor 6, 3
waitdooranim waitdooranim
goto BattleFrontier_BattlePalaceCorridor_EventScript_24F581 goto BattleFrontier_BattlePalaceCorridor_EventScript_WarpToBattleRoom
BattleFrontier_BattlePalaceCorridor_EventScript_24F553:: @ 824F553 BattleFrontier_BattlePalaceCorridor_EventScript_WalkToOpenBattleRoom:: @ 824F553
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5CB applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkToOpenBattleRoom
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5D2 applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkToOpenBattleRoom
waitmovement 0 waitmovement 0
opendoor 10, 3 opendoor 10, 3
waitdooranim waitdooranim
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5DA applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5D9 applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom
waitmovement 0 waitmovement 0
closedoor 10, 3 closedoor 10, 3
waitdooranim waitdooranim
BattleFrontier_BattlePalaceCorridor_EventScript_WarpToBattleRoom:: @ 824F581
BattleFrontier_BattlePalaceCorridor_EventScript_24F581:: @ 824F581
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM, 255, 7, 4 warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM, 255, 7, 4
waitstate waitstate
end end
BattleFrontier_BattlePalaceCorridor_EventScript_24F58B:: @ 824F58B BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment1:: @ 824F58B
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F5DD, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceCorridor_Text_PeopleAndMonAreSame, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceCorridor_EventScript_24F594:: @ 824F594 BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment2:: @ 824F594
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F65B, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceCorridor_Text_LetMonDoWhatItLikes, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceCorridor_EventScript_24F59D:: @ 824F59D BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment3:: @ 824F59D
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F718, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceCorridor_Text_MonDifferentWhenCornered, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceCorridor_EventScript_24F5A6:: @ 824F5A6 BattleFrontier_BattlePalaceCorridor_EventScript_StreakComment:: @ 824F5A6
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F78C, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceCorridor_Text_BeginningToUnderstandNature, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF:: @ 824F5AF BattleFrontier_BattlePalaceCorridor_EventScript_LongStreakComment:: @ 824F5AF
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F7D4, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceCorridor_Text_HeartfeltBondBetweenYouAndMons, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceCorridor_Movement_24F5B8: @ 824F5B8 BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor: @ 824F5B8
walk_up walk_up
walk_up walk_up
walk_up walk_up
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5BD: @ 824F5BD BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkTo50BattleRoom: @ 824F5BD
walk_up walk_up
walk_up walk_up
walk_left walk_left
@@ -92,7 +91,7 @@ BattleFrontier_BattlePalaceCorridor_Movement_24F5BD: @ 824F5BD
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5C4: @ 824F5C4 BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkTo50BattleRoom: @ 824F5C4
walk_up walk_up
walk_up walk_up
walk_up walk_up
@@ -101,7 +100,7 @@ BattleFrontier_BattlePalaceCorridor_Movement_24F5C4: @ 824F5C4
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5CB: @ 824F5CB BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkToOpenBattleRoom: @ 824F5CB
walk_up walk_up
walk_right walk_right
walk_right walk_right
@@ -110,7 +109,7 @@ BattleFrontier_BattlePalaceCorridor_Movement_24F5CB: @ 824F5CB
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5D2: @ 824F5D2 BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkToOpenBattleRoom: @ 824F5D2
walk_up walk_up
walk_up walk_up
walk_right walk_right
@@ -119,39 +118,38 @@ BattleFrontier_BattlePalaceCorridor_Movement_24F5D2: @ 824F5D2
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5D9: @ 824F5D9 BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom: @ 824F5D9
walk_up walk_up
BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom: @ 824F5DA
BattleFrontier_BattlePalaceCorridor_Movement_24F5DA: @ 824F5DA
walk_up walk_up
set_invisible set_invisible
step_end step_end
BattleFrontier_BattlePalaceCorridor_Text_24F5DD: @ 824F5DD BattleFrontier_BattlePalaceCorridor_Text_PeopleAndMonAreSame: @ 824F5DD
.string "People and POKéMON, they are but\n" .string "People and POKéMON, they are but\n"
.string "the same…\p" .string "the same…\p"
.string "Their individual nature makes them\n" .string "Their individual nature makes them\n"
.string "good at certain things, and not good\l" .string "good at certain things, and not good\l"
.string "at others.$" .string "at others.$"
BattleFrontier_BattlePalaceCorridor_Text_24F65B: @ 824F65B BattleFrontier_BattlePalaceCorridor_Text_LetMonDoWhatItLikes: @ 824F65B
.string "Rather than trying to make a POKéMON\n" .string "Rather than trying to make a POKéMON\n"
.string "do what it dislikes, try to let it do\l" .string "do what it dislikes, try to let it do\l"
.string "what it likes and is good at doing.\p" .string "what it likes and is good at doing.\p"
.string "Put yourself in the POKéMON's position\n" .string "Put yourself in the POKéMON's position\n"
.string "and consider what moves it would like.$" .string "and consider what moves it would like.$"
BattleFrontier_BattlePalaceCorridor_Text_24F718: @ 824F718 BattleFrontier_BattlePalaceCorridor_Text_MonDifferentWhenCornered: @ 824F718
.string "A POKéMON's nature is a remarkable\n" .string "A POKéMON's nature is a remarkable\n"
.string "thing…\p" .string "thing…\p"
.string "Some POKéMON behave in a completely\n" .string "Some POKéMON behave in a completely\n"
.string "different way when they are cornered.$" .string "different way when they are cornered.$"
BattleFrontier_BattlePalaceCorridor_Text_24F78C: @ 824F78C BattleFrontier_BattlePalaceCorridor_Text_BeginningToUnderstandNature: @ 824F78C
.string "Are you beginning to understand how\n" .string "Are you beginning to understand how\n"
.string "a POKéMON's nature makes it behave?$" .string "a POKéMON's nature makes it behave?$"
BattleFrontier_BattlePalaceCorridor_Text_24F7D4: @ 824F7D4 BattleFrontier_BattlePalaceCorridor_Text_HeartfeltBondBetweenYouAndMons: @ 824F7D4
.string "Ah… I see a strong, heartfelt bond\n" .string "Ah… I see a strong, heartfelt bond\n"
.string "between you and your POKéMON…$" .string "between you and your POKéMON…$"
@@ -24,7 +24,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24D944", "script": "BattleFrontier_BattlePalaceLobby_EventScript_SinglesAttendant",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC82", "script": "BattleFrontier_BattlePalaceLobby_EventScript_BlackBelt",
"flag": "0" "flag": "0"
}, },
{ {
@@ -50,7 +50,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC9D", "script": "BattleFrontier_BattlePalaceLobby_EventScript_Maniac",
"flag": "0" "flag": "0"
}, },
{ {
@@ -63,7 +63,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC8B", "script": "BattleFrontier_BattlePalaceLobby_EventScript_Man",
"flag": "0" "flag": "0"
}, },
{ {
@@ -76,7 +76,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC94", "script": "BattleFrontier_BattlePalaceLobby_EventScript_Beauty",
"flag": "0" "flag": "0"
}, },
{ {
@@ -89,7 +89,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24D956", "script": "BattleFrontier_BattlePalaceLobby_EventScript_DoublesAttendant",
"flag": "0" "flag": "0"
} }
], ],
@@ -124,7 +124,7 @@
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH", "player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC50" "script": "BattleFrontier_BattlePalaceLobby_EventScript_ShowSinglesResults"
}, },
{ {
"type": "sign", "type": "sign",
@@ -132,7 +132,7 @@
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH", "player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC69" "script": "BattleFrontier_BattlePalaceLobby_EventScript_ShowDoublesResults"
}, },
{ {
"type": "sign", "type": "sign",
@@ -140,7 +140,7 @@
"y": 4, "y": 4,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DCA6" "script": "BattleFrontier_BattlePalaceLobby_EventScript_RulesBoard"
} }
] ]
} }
@@ -1,32 +1,32 @@
BattleFrontier_BattlePalaceLobby_MapScripts:: @ 824D77E BattleFrontier_BattlePalaceLobby_MapScripts:: @ 824D77E
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceLobby_MapScript2_24D79D map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceLobby_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePalaceLobby_MapScript2_24D789 map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePalaceLobby_OnWarp
.byte 0 .byte 0
BattleFrontier_BattlePalaceLobby_MapScript2_24D789: @ 824D789 BattleFrontier_BattlePalaceLobby_OnWarp: @ 824D789
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceLobby_EventScript_24D793 map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceLobby_EventScript_TurnPlayerNorth
.2byte 0 .2byte 0
BattleFrontier_BattlePalaceLobby_EventScript_24D793:: @ 824D793 BattleFrontier_BattlePalaceLobby_EventScript_TurnPlayerNorth:: @ 824D793
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end end
BattleFrontier_BattlePalaceLobby_MapScript2_24D79D: @ 824D79D BattleFrontier_BattlePalaceLobby_OnFrame: @ 824D79D
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceLobby_EventScript_24D7C7 map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceLobby_EventScript_GetChallengeStatus
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePalaceLobby_EventScript_24D7D0 map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePalaceLobby_EventScript_QuitWithoutSaving
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePalaceLobby_EventScript_24D908 map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePalaceLobby_EventScript_ResumeChallenge
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattlePalaceLobby_EventScript_24D817 map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattlePalaceLobby_EventScript_WonChallenge
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattlePalaceLobby_EventScript_24D873 map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattlePalaceLobby_EventScript_LostChallenge
.2byte 0 .2byte 0
BattleFrontier_BattlePalaceLobby_EventScript_24D7C7:: @ 824D7C7 BattleFrontier_BattlePalaceLobby_EventScript_GetChallengeStatus:: @ 824D7C7
frontier_getstatus frontier_getstatus
end end
BattleFrontier_BattlePalaceLobby_EventScript_24D7D0:: @ 824D7D0 BattleFrontier_BattlePalaceLobby_EventScript_QuitWithoutSaving:: @ 824D7D0
lockall lockall
msgbox BattleFrontier_BattlePalaceLobby_Text_24E636, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge, MSGBOX_DEFAULT
closemessage closemessage
palace_set PALACE_DATA_WIN_STREAK, 0 palace_set PALACE_DATA_WIN_STREAK, 0
palace_set PALACE_DATA_WIN_STREAK_ACTIVE, FALSE palace_set PALACE_DATA_WIN_STREAK_ACTIVE, FALSE
@@ -35,42 +35,42 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D7D0:: @ 824D7D0
releaseall releaseall
end end
BattleFrontier_BattlePalaceLobby_EventScript_24D817:: @ 824D817 BattleFrontier_BattlePalaceLobby_EventScript_WonChallenge:: @ 824D817
lockall lockall
frontier_isbrain frontier_isbrain
compare VAR_RESULT, TRUE compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24D838 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_DefeatedMaven
msgbox BattleFrontier_BattlePalaceLobby_Text_24E497, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_FirmTrueBondsFor7WinStreak, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24D840 goto BattleFrontier_BattlePalaceLobby_EventScript_GiveBattlePoints
BattleFrontier_BattlePalaceLobby_EventScript_24D838:: @ 824D838 BattleFrontier_BattlePalaceLobby_EventScript_DefeatedMaven:: @ 824D838
msgbox BattleFrontier_BattlePalaceLobby_Text_24EE81, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ToDefeatMavenAnd7Trainers, MSGBOX_DEFAULT
BattleFrontier_BattlePalaceLobby_EventScript_24D840:: @ 824D840 BattleFrontier_BattlePalaceLobby_EventScript_GiveBattlePoints:: @ 824D840
msgbox BattleFrontier_BattlePalaceLobby_Text_24EEB9, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_PresentYouWithBattlePoints, MSGBOX_DEFAULT
frontier_givepoints frontier_givepoints
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
message BattleFrontier_BattlePalaceLobby_Text_24E4F7 message BattleFrontier_BattlePalaceLobby_Text_FeatWillBeRecorded
waitmessage waitmessage
call BattleFrontier_BattlePalaceLobby_EventScript_24D8A1 call BattleFrontier_BattlePalaceLobby_EventScript_SaveAfterChallenge
msgbox BattleFrontier_BattlePalaceLobby_Text_24E0D8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified, MSGBOX_DEFAULT
closemessage closemessage
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
releaseall releaseall
end end
BattleFrontier_BattlePalaceLobby_EventScript_24D873:: @ 824D873 BattleFrontier_BattlePalaceLobby_EventScript_LostChallenge:: @ 824D873
lockall lockall
message BattleFrontier_BattlePalaceLobby_Text_24E41E message BattleFrontier_BattlePalaceLobby_Text_ResultsWillBeRecorded
waitmessage waitmessage
palace_set PALACE_DATA_WIN_STREAK_ACTIVE, FALSE palace_set PALACE_DATA_WIN_STREAK_ACTIVE, FALSE
call BattleFrontier_BattlePalaceLobby_EventScript_24D8A1 call BattleFrontier_BattlePalaceLobby_EventScript_SaveAfterChallenge
msgbox BattleFrontier_BattlePalaceLobby_Text_24E0D8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified, MSGBOX_DEFAULT
closemessage closemessage
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
releaseall releaseall
end end
BattleFrontier_BattlePalaceLobby_EventScript_24D8A1:: @ 824D8A1 BattleFrontier_BattlePalaceLobby_EventScript_SaveAfterChallenge:: @ 824D8A1
frontier_checkairshow frontier_checkairshow
special LoadPlayerParty special LoadPlayerParty
special HealPlayerParty special HealPlayerParty
@@ -79,82 +79,82 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D8A1:: @ 824D8A1
waitse waitse
call BattleFrontier_BattlePalaceLobby_EventScript_23E8E0 call BattleFrontier_BattlePalaceLobby_EventScript_23E8E0
compare VAR_RESULT, 1 compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24D907 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge
message BattleFrontier_BattlePalaceLobby_Text_24EF16 message BattleFrontier_BattlePalaceLobby_Text_LikeToRecordMatch
waitmessage waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, 0 multichoicedefault 20, 8, MULTI_YESNO, 1, 0
switch VAR_RESULT switch VAR_RESULT
case 1, BattleFrontier_BattlePalaceLobby_EventScript_24D907 case 1, BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge
case 0, BattleFrontier_BattlePalaceLobby_EventScript_24D902 case 0, BattleFrontier_BattlePalaceLobby_EventScript_RecordMatch
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24D907 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24D902:: @ 824D902 BattleFrontier_BattlePalaceLobby_EventScript_RecordMatch:: @ 824D902
call BattleFrontier_EventScript_SaveBattle call BattleFrontier_EventScript_SaveBattle
BattleFrontier_BattlePalaceLobby_EventScript_24D907:: @ 824D907 BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge:: @ 824D907
return return
BattleFrontier_BattlePalaceLobby_EventScript_24D908:: @ 824D908 BattleFrontier_BattlePalaceLobby_EventScript_ResumeChallenge:: @ 824D908
lockall lockall
msgbox BattleFrontier_BattlePalaceLobby_Text_24E5D8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_WeHaveBeenWaiting, MSGBOX_DEFAULT
message BattleFrontier_BattlePalaceLobby_Text_24E5F6 message BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge
waitmessage waitmessage
palace_save CHALLENGE_STATUS_SAVING palace_save CHALLENGE_STATUS_SAVING
playse SE_SAVE playse SE_SAVE
waitse waitse
frontier_set FRONTIER_DATA_PAUSED, FALSE frontier_set FRONTIER_DATA_PAUSED, FALSE
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
goto BattleFrontier_BattlePalaceLobby_EventScript_24DAF3 goto BattleFrontier_BattlePalaceLobby_EventScript_EnterChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24D944:: @ 824D944 BattleFrontier_BattlePalaceLobby_EventScript_SinglesAttendant:: @ 824D944
lock lock
faceplayer faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
goto BattleFrontier_BattlePalaceLobby_EventScript_24D968 goto BattleFrontier_BattlePalaceLobby_EventScript_Attendant
end end
BattleFrontier_BattlePalaceLobby_EventScript_24D956:: @ 824D956 BattleFrontier_BattlePalaceLobby_EventScript_DoublesAttendant:: @ 824D956
lock lock
faceplayer faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
goto BattleFrontier_BattlePalaceLobby_EventScript_24D968 goto BattleFrontier_BattlePalaceLobby_EventScript_Attendant
end end
BattleFrontier_BattlePalaceLobby_EventScript_24D968:: @ 824D968 BattleFrontier_BattlePalaceLobby_EventScript_Attendant:: @ 824D968
palace_get PALACE_DATA_PRIZE palace_get PALACE_DATA_PRIZE
compare VAR_RESULT, ITEM_NONE compare VAR_RESULT, ITEM_NONE
goto_if_ne BattleFrontier_BattlePalaceLobby_EventScript_24D817 goto_if_ne BattleFrontier_BattlePalaceLobby_EventScript_WonChallenge
special SavePlayerParty special SavePlayerParty
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB9E call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForSingleBattle
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DBA7 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForDoubleBattle
BattleFrontier_BattlePalaceLobby_EventScript_24D999:: @ 824D999 BattleFrontier_BattlePalaceLobby_EventScript_AskTakeChallenge:: @ 824D999
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DBB0 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_AskTakeSingleBattleChallenge
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DBB6 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_AskTakeDoubleBattleChallenge
waitmessage waitmessage
multichoice 17, 6, MULTI_CHALLENGEINFO, 0 multichoice 17, 6, MULTI_CHALLENGEINFO, 0
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceLobby_EventScript_24D9E6 case 0, BattleFrontier_BattlePalaceLobby_EventScript_TryEnterChallenge
case 1, BattleFrontier_BattlePalaceLobby_EventScript_24DB20 case 1, BattleFrontier_BattlePalaceLobby_EventScript_ExplainChallenge
case 2, BattleFrontier_BattlePalaceLobby_EventScript_24DB94 case 2, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DB94 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6 BattleFrontier_BattlePalaceLobby_EventScript_TryEnterChallenge:: @ 824D9E6
message BattleFrontier_BattlePalaceLobby_Text_24E119 message BattleFrontier_BattlePalaceLobby_Text_WhichChallenge
waitmessage waitmessage
multichoice 17, 6, MULTI_LEVEL_MODE, 0 multichoice 17, 6, MULTI_LEVEL_MODE, 0
switch VAR_RESULT switch VAR_RESULT
case FRONTIER_LVL_TENT, BattleFrontier_BattlePalaceLobby_EventScript_24DB94 case FRONTIER_LVL_TENT, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DB94 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
frontier_checkineligible frontier_checkineligible
compare VAR_0x8004, TRUE compare VAR_0x8004, TRUE
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB45 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMons
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
msgbox BattleFrontier_BattlePalaceLobby_Text_24E399, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_NowSelectThreeMons, MSGBOX_DEFAULT
fadescreen 1 fadescreen 1
call BattleFrontier_EventScript_GetLvlMode call BattleFrontier_EventScript_GetLvlMode
copyvar VAR_0x8004, VAR_RESULT copyvar VAR_0x8004, VAR_RESULT
@@ -162,14 +162,14 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
special ChoosePartyForBattleFrontier special ChoosePartyForBattleFrontier
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB91 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge
msgbox BattleFrontier_BattlePalaceLobby_Text_24E3C8, MSGBOX_YESNO msgbox BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge2, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case NO, BattleFrontier_BattlePalaceLobby_EventScript_24DB91 case NO, BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge
case YES, BattleFrontier_BattlePalaceLobby_EventScript_24DA87 case YES, BattleFrontier_BattlePalaceLobby_EventScript_SaveBeforeChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DB91 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87 BattleFrontier_BattlePalaceLobby_EventScript_SaveBeforeChallenge:: @ 824DA87
setvar VAR_TEMP_0, 0 setvar VAR_TEMP_0, 0
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
palace_init palace_init
@@ -182,133 +182,132 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87
call Common_EventScript_SaveGame call Common_EventScript_SaveGame
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB7A goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_CancelChallengeSaveFailed
BattleFrontier_BattlePalaceLobby_EventScript_EnterChallenge:: @ 824DAF3
BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3
special SavePlayerParty special SavePlayerParty
frontier_setpartyorder FRONTIER_PARTY_SIZE frontier_setpartyorder FRONTIER_PARTY_SIZE
msgbox BattleFrontier_BattlePalaceLobby_Text_24E408, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_FollowMe, MSGBOX_DEFAULT
closemessage closemessage
call BattleFrontier_BattlePalaceLobby_EventScript_24DBBC call BattleFrontier_BattlePalaceLobby_EventScript_WalkToDoor
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR, 255, 8, 13 warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR, 255, 8, 13
setvar VAR_TEMP_0, 0 setvar VAR_TEMP_0, 0
waitstate waitstate
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DB20:: @ 824DB20 BattleFrontier_BattlePalaceLobby_EventScript_ExplainChallenge:: @ 824DB20
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB38 goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_ExplainDoublesChallenge
msgbox BattleFrontier_BattlePalaceLobby_Text_24DE17, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainSingleBattleChallenge, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24D999 goto BattleFrontier_BattlePalaceLobby_EventScript_AskTakeChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24DB38:: @ 824DB38 BattleFrontier_BattlePalaceLobby_EventScript_ExplainDoublesChallenge:: @ 824DB38
msgbox BattleFrontier_BattlePalaceLobby_Text_24EBC2, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainDoubleBattleChallenge, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24D999 goto BattleFrontier_BattlePalaceLobby_EventScript_AskTakeChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24DB45:: @ 824DB45 BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMons:: @ 824DB45
switch VAR_RESULT switch VAR_RESULT
case FRONTIER_LVL_50, BattleFrontier_BattlePalaceLobby_EventScript_24DB60 case FRONTIER_LVL_50, BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLv50
case FRONTIER_LVL_OPEN, BattleFrontier_BattlePalaceLobby_EventScript_24DB6D case FRONTIER_LVL_OPEN, BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLvOpen
BattleFrontier_BattlePalaceLobby_EventScript_24DB60:: @ 824DB60 BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLv50:: @ 824DB60
msgbox BattleFrontier_BattlePalaceLobby_Text_24E173, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DB9C goto BattleFrontier_BattlePalaceLobby_EventScript_EndCancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24DB6D:: @ 824DB6D BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 824DB6D
msgbox BattleFrontier_BattlePalaceLobby_Text_24E29E, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DB9C goto BattleFrontier_BattlePalaceLobby_EventScript_EndCancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24DB7A:: @ 824DB7A BattleFrontier_BattlePalaceLobby_EventScript_CancelChallengeSaveFailed:: @ 824DB7A
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0 frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
goto BattleFrontier_BattlePalaceLobby_EventScript_24DB94 goto BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_24DB91:: @ 824DB91 BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge:: @ 824DB91
special LoadPlayerParty special LoadPlayerParty
BattleFrontier_BattlePalaceLobby_EventScript_24DB94:: @ 824DB94 BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge:: @ 824DB94
msgbox BattleFrontier_BattlePalaceLobby_Text_24E0D8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified, MSGBOX_DEFAULT
BattleFrontier_BattlePalaceLobby_EventScript_24DB9C:: @ 824DB9C BattleFrontier_BattlePalaceLobby_EventScript_EndCancelChallenge:: @ 824DB9C
release release
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DB9E:: @ 824DB9E BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForSingleBattle:: @ 824DB9E
msgbox BattleFrontier_BattlePalaceLobby_Text_24DD5B, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_WelcomeForSingleBattle, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DBA7:: @ 824DBA7 BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForDoubleBattle:: @ 824DBA7
msgbox BattleFrontier_BattlePalaceLobby_Text_24EB06, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_WelcomeForDoubleBattle, MSGBOX_DEFAULT
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DBB0:: @ 824DBB0 BattleFrontier_BattlePalaceLobby_EventScript_AskTakeSingleBattleChallenge:: @ 824DBB0
message BattleFrontier_BattlePalaceLobby_Text_24DDE1 message BattleFrontier_BattlePalaceLobby_Text_TakeSingleBattleChallenge
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DBB6:: @ 824DBB6 BattleFrontier_BattlePalaceLobby_EventScript_AskTakeDoubleBattleChallenge:: @ 824DBB6
message BattleFrontier_BattlePalaceLobby_Text_24EB8C message BattleFrontier_BattlePalaceLobby_Text_TakeDoubleBattleChallenge
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DBBC:: @ 824DBBC BattleFrontier_BattlePalaceLobby_EventScript_WalkToDoor:: @ 824DBBC
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC23 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_TalkedToSinglesAttendant
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC29 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_TalkedToDoublesAttendant
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC47 applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_WalkToDoor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_24DC47 applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_WalkToDoor
waitmovement 0 waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC2F call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_OpenSinglesHallDoor
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC35 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_OpenDoublesHallDoor
waitdooranim waitdooranim
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC49 applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_AttendantEnterDoor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_24DC4C applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_PlayerEnterDoor
waitmovement 0 waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC3B call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_CloseSinglesHallDoor
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC41 call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_CloseDoublesHallDoor
waitdooranim waitdooranim
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DC23:: @ 824DC23 BattleFrontier_BattlePalaceLobby_EventScript_TalkedToSinglesAttendant:: @ 824DC23
setvar VAR_LAST_TALKED, 1 setvar VAR_LAST_TALKED, 1
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DC29:: @ 824DC29 BattleFrontier_BattlePalaceLobby_EventScript_TalkedToDoublesAttendant:: @ 824DC29
setvar VAR_LAST_TALKED, 6 setvar VAR_LAST_TALKED, 6
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DC2F:: @ 824DC2F BattleFrontier_BattlePalaceLobby_EventScript_OpenSinglesHallDoor:: @ 824DC2F
opendoor 5, 4 opendoor 5, 4
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DC35:: @ 824DC35 BattleFrontier_BattlePalaceLobby_EventScript_OpenDoublesHallDoor:: @ 824DC35
opendoor 19, 4 opendoor 19, 4
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DC3B:: @ 824DC3B BattleFrontier_BattlePalaceLobby_EventScript_CloseSinglesHallDoor:: @ 824DC3B
closedoor 5, 4 closedoor 5, 4
return return
BattleFrontier_BattlePalaceLobby_EventScript_24DC41:: @ 824DC41 BattleFrontier_BattlePalaceLobby_EventScript_CloseDoublesHallDoor:: @ 824DC41
closedoor 19, 4 closedoor 19, 4
return return
BattleFrontier_BattlePalaceLobby_Movement_24DC47: @ 824DC47 BattleFrontier_BattlePalaceLobby_Movement_WalkToDoor: @ 824DC47
walk_up walk_up
step_end step_end
BattleFrontier_BattlePalaceLobby_Movement_24DC49: @ 824DC49 BattleFrontier_BattlePalaceLobby_Movement_AttendantEnterDoor: @ 824DC49
walk_up walk_up
set_invisible set_invisible
step_end step_end
BattleFrontier_BattlePalaceLobby_Movement_24DC4C: @ 824DC4C BattleFrontier_BattlePalaceLobby_Movement_PlayerEnterDoor: @ 824DC4C
walk_up walk_up
walk_up walk_up
set_invisible set_invisible
step_end step_end
BattleFrontier_BattlePalaceLobby_EventScript_24DC50:: @ 824DC50 BattleFrontier_BattlePalaceLobby_EventScript_ShowSinglesResults:: @ 824DC50
lockall lockall
frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_SINGLES frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_SINGLES
waitbuttonpress waitbuttonpress
@@ -316,7 +315,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DC50:: @ 824DC50
releaseall releaseall
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DC69:: @ 824DC69 BattleFrontier_BattlePalaceLobby_EventScript_ShowDoublesResults:: @ 824DC69
lockall lockall
frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_DOUBLES frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_DOUBLES
waitbuttonpress waitbuttonpress
@@ -324,83 +323,83 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DC69:: @ 824DC69
releaseall releaseall
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DC82:: @ 824DC82 BattleFrontier_BattlePalaceLobby_EventScript_BlackBelt:: @ 824DC82
msgbox BattleFrontier_BattlePalaceLobby_Text_24E6E3, MSGBOX_NPC msgbox BattleFrontier_BattlePalaceLobby_Text_LadyCanTellWhatMonsThink, MSGBOX_NPC
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DC8B:: @ 824DC8B BattleFrontier_BattlePalaceLobby_EventScript_Man:: @ 824DC8B
msgbox BattleFrontier_BattlePalaceLobby_Text_24E851, MSGBOX_NPC msgbox BattleFrontier_BattlePalaceLobby_Text_NatureAndMovesKeyHere, MSGBOX_NPC
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DC94:: @ 824DC94 BattleFrontier_BattlePalaceLobby_EventScript_Beauty:: @ 824DC94
msgbox BattleFrontier_BattlePalaceLobby_Text_24E992, MSGBOX_NPC msgbox BattleFrontier_BattlePalaceLobby_Text_MonDocileButTransforms, MSGBOX_NPC
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DC9D:: @ 824DC9D BattleFrontier_BattlePalaceLobby_EventScript_Maniac:: @ 824DC9D
msgbox BattleFrontier_BattlePalaceLobby_Text_24EA4B, MSGBOX_NPC msgbox BattleFrontier_BattlePalaceLobby_Text_WhatNatureFavorsChippingAway, MSGBOX_NPC
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DCA6:: @ 824DCA6 BattleFrontier_BattlePalaceLobby_EventScript_RulesBoard:: @ 824DCA6
lockall lockall
msgbox BattleFrontier_BattlePalaceLobby_Text_24EF66, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_RulesAreListed, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5 goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DCB5:: @ 824DCB5 BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard:: @ 824DCB5
message BattleFrontier_BattlePalaceLobby_Text_24EF88 message BattleFrontier_BattlePalaceLobby_Text_ReadWhichHeading
waitmessage waitmessage
multichoice 16, 0, MULTI_BATTLE_PALACE_RULES, 0 multichoice 16, 0, MULTI_BATTLE_PALACE_RULES, 0
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceLobby_EventScript_24DD13 case 0, BattleFrontier_BattlePalaceLobby_EventScript_RulesBasics
case 1, BattleFrontier_BattlePalaceLobby_EventScript_24DD21 case 1, BattleFrontier_BattlePalaceLobby_EventScript_RulesNature
case 2, BattleFrontier_BattlePalaceLobby_EventScript_24DD2F case 2, BattleFrontier_BattlePalaceLobby_EventScript_RulesMoves
case 3, BattleFrontier_BattlePalaceLobby_EventScript_24DD3D case 3, BattleFrontier_BattlePalaceLobby_EventScript_RulesUnderpowered
case 4, BattleFrontier_BattlePalaceLobby_EventScript_24DD4B case 4, BattleFrontier_BattlePalaceLobby_EventScript_RulesWhenInDanger
case 5, BattleFrontier_BattlePalaceLobby_EventScript_24DD59 case 5, BattleFrontier_BattlePalaceLobby_EventScript_ExitRules
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DD59 case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_ExitRules
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DD13:: @ 824DD13 BattleFrontier_BattlePalaceLobby_EventScript_RulesBasics:: @ 824DD13
msgbox BattleFrontier_BattlePalaceLobby_Text_24EFAB, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesBasics, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5 goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DD21:: @ 824DD21 BattleFrontier_BattlePalaceLobby_EventScript_RulesNature:: @ 824DD21
msgbox BattleFrontier_BattlePalaceLobby_Text_24F049, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesNature, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5 goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DD2F:: @ 824DD2F BattleFrontier_BattlePalaceLobby_EventScript_RulesMoves:: @ 824DD2F
msgbox BattleFrontier_BattlePalaceLobby_Text_24F190, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5 goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DD3D:: @ 824DD3D BattleFrontier_BattlePalaceLobby_EventScript_RulesUnderpowered:: @ 824DD3D
msgbox BattleFrontier_BattlePalaceLobby_Text_24F2E8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5 goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DD4B:: @ 824DD4B BattleFrontier_BattlePalaceLobby_EventScript_RulesWhenInDanger:: @ 824DD4B
msgbox BattleFrontier_BattlePalaceLobby_Text_24F3F4, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesWhenInDanger, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5 goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePalaceLobby_EventScript_24DD59:: @ 824DD59 BattleFrontier_BattlePalaceLobby_EventScript_ExitRules:: @ 824DD59
releaseall releaseall
end end
BattleFrontier_BattlePalaceLobby_Text_24DD5B: @ 824DD5B BattleFrontier_BattlePalaceLobby_Text_WelcomeForSingleBattle: @ 824DD5B
.string "Where the hearts of TRAINERS\n" .string "Where the hearts of TRAINERS\n"
.string "are put to the test.\p" .string "are put to the test.\p"
.string "I welcome you to the BATTLE PALACE.\p" .string "I welcome you to the BATTLE PALACE.\p"
.string "I accept challenges to the SINGLE\n" .string "I accept challenges to the SINGLE\n"
.string "BATTLE HALLS.$" .string "BATTLE HALLS.$"
BattleFrontier_BattlePalaceLobby_Text_24DDE1: @ 824DDE1 BattleFrontier_BattlePalaceLobby_Text_TakeSingleBattleChallenge: @ 824DDE1
.string "Do you wish to take\n" .string "Do you wish to take\n"
.string "the SINGLE BATTLE HALL challenge?$" .string "the SINGLE BATTLE HALL challenge?$"
BattleFrontier_BattlePalaceLobby_Text_24DE17: @ 824DE17 BattleFrontier_BattlePalaceLobby_Text_ExplainSingleBattleChallenge: @ 824DE17
.string "In the BATTLE PALACE, there are\n" .string "In the BATTLE PALACE, there are\n"
.string "several auditoriums for SINGLE BATTLES\l" .string "several auditoriums for SINGLE BATTLES\l"
.string "that are named SINGLE BATTLE HALLS.\p" .string "that are named SINGLE BATTLE HALLS.\p"
@@ -423,16 +422,16 @@ BattleFrontier_BattlePalaceLobby_Text_24DE17: @ 824DE17
.string "If you don't save before interrupting,\n" .string "If you don't save before interrupting,\n"
.string "you will be disqualified.$" .string "you will be disqualified.$"
BattleFrontier_BattlePalaceLobby_Text_24E0D8: @ 824E0D8 BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified: @ 824E0D8
.string "When you have fortified your heart\n" .string "When you have fortified your heart\n"
.string "and POKéMON, you must return.$" .string "and POKéMON, you must return.$"
BattleFrontier_BattlePalaceLobby_Text_24E119: @ 824E119 BattleFrontier_BattlePalaceLobby_Text_WhichChallenge: @ 824E119
.string "There are two BATTLE HALLS,\n" .string "There are two BATTLE HALLS,\n"
.string "Level 50 and Open Level.\l" .string "Level 50 and Open Level.\l"
.string "Which is your choice of a challenge?$" .string "Which is your choice of a challenge?$"
BattleFrontier_BattlePalaceLobby_Text_24E173: @ 824E173 BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLv50: @ 824E173
.string "Sigh…\p" .string "Sigh…\p"
.string "You do not have the three POKéMON\n" .string "You do not have the three POKéMON\n"
.string "required for the challenge.\p" .string "required for the challenge.\p"
@@ -446,7 +445,7 @@ BattleFrontier_BattlePalaceLobby_Text_24E173: @ 824E173
.string "Come back when you have made\n" .string "Come back when you have made\n"
.string "your preparations.$" .string "your preparations.$"
BattleFrontier_BattlePalaceLobby_Text_24E29E: @ 824E29E BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLvOpen: @ 824E29E
.string "Sigh…\p" .string "Sigh…\p"
.string "You do not have the three POKéMON\n" .string "You do not have the three POKéMON\n"
.string "required for the challenge.\p" .string "required for the challenge.\p"
@@ -458,65 +457,64 @@ BattleFrontier_BattlePalaceLobby_Text_24E29E: @ 824E29E
.string "Come back when you have made\n" .string "Come back when you have made\n"
.string "your preparations.$" .string "your preparations.$"
BattleFrontier_BattlePalaceLobby_Text_24E399: @ 824E399 BattleFrontier_BattlePalaceLobby_Text_NowSelectThreeMons: @ 824E399
.string "Good. Now, you must select your\n" .string "Good. Now, you must select your\n"
.string "three POKéMON.$" .string "three POKéMON.$"
BattleFrontier_BattlePalaceLobby_Text_24E3C8: @ 824E3C8 BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge2: @ 824E3C8
.string "I must save before I show you to\n" .string "I must save before I show you to\n"
.string "the BATTLE HALL. Is that okay?$" .string "the BATTLE HALL. Is that okay?$"
BattleFrontier_BattlePalaceLobby_Text_24E408: @ 824E408 BattleFrontier_BattlePalaceLobby_Text_FollowMe: @ 824E408
.string "Good.\n" .string "Good.\n"
.string "Now, follow me.$" .string "Now, follow me.$"
BattleFrontier_BattlePalaceLobby_Text_24E41E: @ 824E41E BattleFrontier_BattlePalaceLobby_Text_ResultsWillBeRecorded: @ 824E41E
.string "I feel privileged for having seen\n" .string "I feel privileged for having seen\n"
.string "your POKéMON's exploits.\p" .string "your POKéMON's exploits.\p"
.string "The results will be recorded.\n" .string "The results will be recorded.\n"
.string "I must ask you to briefly wait.$" .string "I must ask you to briefly wait.$"
BattleFrontier_BattlePalaceLobby_Text_24E497: @ 824E497 BattleFrontier_BattlePalaceLobby_Text_FirmTrueBondsFor7WinStreak: @ 824E497
.string "To achieve a 7-win streak…\p" .string "To achieve a 7-win streak…\p"
.string "The bonds that bind your heart with\n" .string "The bonds that bind your heart with\n"
.string "your POKéMON seem firm and true.$" .string "your POKéMON seem firm and true.$"
BattleFrontier_BattlePalaceLobby_Text_24E4F7: @ 824E4F7 BattleFrontier_BattlePalaceLobby_Text_FeatWillBeRecorded: @ 824E4F7
.string "Your feat will be recorded.\n" .string "Your feat will be recorded.\n"
.string "I must ask you to briefly wait.$" .string "I must ask you to briefly wait.$"
BattleFrontier_BattlePalaceLobby_Text_24E533: @ 824E5333 @ Unused
BattleFrontier_BattlePalaceLobby_Text_BattlePointsFor7WinStreak: @ 824E5333
.string "For the feat of your 7-win streak,\n" .string "For the feat of your 7-win streak,\n"
.string "we present you with Battle Point(s).$" .string "we present you with Battle Point(s).$"
VerdanturfTown_BattleTentLobby_Text_24E57B: @ 824E57B BattleFrontier_BattlePalaceLobby_Text_NoSpaceForPrize: @ 824E57B
.string "You seem to have no space for\n" .string "You seem to have no space for\n"
.string "our prize.\p" .string "our prize.\p"
.string "You should return when you have\n" .string "You should return when you have\n"
.string "organized your BAG.$" .string "organized your BAG.$"
BattleFrontier_BattlePalaceLobby_Text_24E5D8: @ 824E5D8 BattleFrontier_BattlePalaceLobby_Text_WeHaveBeenWaiting: @ 824E5D8
VerdanturfTown_BattleTentLobby_Text_24E5D8: @ 824E5D8
.string "We have been waiting for you…$" .string "We have been waiting for you…$"
BattleFrontier_BattlePalaceLobby_Text_24E5F6: @ 824E5F6 BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge: @ 824E5F6
VerdanturfTown_BattleTentLobby_Text_24E5F6: @ 824E5F6
.string "I must save before I show you to\n" .string "I must save before I show you to\n"
.string "the BATTLE HALL. Is that okay?$" .string "the BATTLE HALL. Is that okay?$"
BattleFrontier_BattlePalaceLobby_Text_24E636: @ 824E636 BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge: @ 824E636
VerdanturfTown_BattleTentLobby_Text_24E636: @ 824E636
.string "Sigh…\p" .string "Sigh…\p"
.string "You failed to save before you ended\n" .string "You failed to save before you ended\n"
.string "your challenge the last time.\p" .string "your challenge the last time.\p"
.string "As a result, your challenge has been\n" .string "As a result, your challenge has been\n"
.string "disqualified. It is most unfortunate.$" .string "disqualified. It is most unfortunate.$"
BattleFrontier_BattlePalaceLobby_Text_24E6C9: @ 824E6C9 @ Unused
BattleFrontier_BattlePalaceLobby_Text_ReceivedPrize: @ 824E6C9
.string "{PLAYER} received the prize\n" .string "{PLAYER} received the prize\n"
.string "{STR_VAR_1}.$" .string "{STR_VAR_1}.$"
BattleFrontier_BattlePalaceLobby_Text_24E6E3: @ 824E6E3 BattleFrontier_BattlePalaceLobby_Text_LadyCanTellWhatMonsThink: @ 824E6E3
.string "For a hardy fellow like me,\n" .string "For a hardy fellow like me,\n"
.string "hardy POKéMON are the best.\p" .string "hardy POKéMON are the best.\p"
.string "Offense is the best defense!\n" .string "Offense is the best defense!\n"
@@ -532,7 +530,7 @@ BattleFrontier_BattlePalaceLobby_Text_24E6E3: @ 824E6E3
.string "Huh?\n" .string "Huh?\n"
.string "Why are you looking at me like that?$" .string "Why are you looking at me like that?$"
BattleFrontier_BattlePalaceLobby_Text_24E851: @ 824E851 BattleFrontier_BattlePalaceLobby_Text_NatureAndMovesKeyHere: @ 824E851
.string "Hmm…\p" .string "Hmm…\p"
.string "It appears that the nature of POKéMON\n" .string "It appears that the nature of POKéMON\n"
.string "and the moves that they have been\l" .string "and the moves that they have been\l"
@@ -545,7 +543,7 @@ BattleFrontier_BattlePalaceLobby_Text_24E851: @ 824E851
.string "you may need to examine how well\l" .string "you may need to examine how well\l"
.string "its moves match its nature.$" .string "its moves match its nature.$"
BattleFrontier_BattlePalaceLobby_Text_24E992: @ 824E992 BattleFrontier_BattlePalaceLobby_Text_MonDocileButTransforms: @ 824E992
.string "My POKéMON is usually very docile.\p" .string "My POKéMON is usually very docile.\p"
.string "But when it's in a BATTLE HALL,\n" .string "But when it's in a BATTLE HALL,\n"
.string "it sometimes seems to become\l" .string "it sometimes seems to become\l"
@@ -553,25 +551,25 @@ BattleFrontier_BattlePalaceLobby_Text_24E992: @ 824E992
.string "It becomes totally intimidating.\n" .string "It becomes totally intimidating.\n"
.string "It's shocking, even.$" .string "It's shocking, even.$"
BattleFrontier_BattlePalaceLobby_Text_24EA4B: @ 824EA4B BattleFrontier_BattlePalaceLobby_Text_WhatNatureFavorsChippingAway: @ 824EA4B
.string "I wonder what sort of nature a POKéMON\n" .string "I wonder what sort of nature a POKéMON\n"
.string "would have if it favored enfeebling its\l" .string "would have if it favored enfeebling its\l"
.string "opponents and chipping away slowly.\p" .string "opponents and chipping away slowly.\p"
.string "I'd be surprised if it was a LAX nature.\p" .string "I'd be surprised if it was a LAX nature.\p"
.string "But, nah, that can't be right.$" .string "But, nah, that can't be right.$"
BattleFrontier_BattlePalaceLobby_Text_24EB06: @ 824EB06 BattleFrontier_BattlePalaceLobby_Text_WelcomeForDoubleBattle: @ 824EB06
.string "Where the hearts of TRAINERS\n" .string "Where the hearts of TRAINERS\n"
.string "are put to the test.\p" .string "are put to the test.\p"
.string "I welcome you to the BATTLE PALACE.\p" .string "I welcome you to the BATTLE PALACE.\p"
.string "I accept challenges to the DOUBLE\n" .string "I accept challenges to the DOUBLE\n"
.string "BATTLE HALLS.$" .string "BATTLE HALLS.$"
BattleFrontier_BattlePalaceLobby_Text_24EB8C: @ 824EB8C BattleFrontier_BattlePalaceLobby_Text_TakeDoubleBattleChallenge: @ 824EB8C
.string "Do you wish to take\n" .string "Do you wish to take\n"
.string "the DOUBLE BATTLE HALL challenge?$" .string "the DOUBLE BATTLE HALL challenge?$"
BattleFrontier_BattlePalaceLobby_Text_24EBC2: @ 824EBC2 BattleFrontier_BattlePalaceLobby_Text_ExplainDoubleBattleChallenge: @ 824EBC2
.string "In the BATTLE PALACE, there are\n" .string "In the BATTLE PALACE, there are\n"
.string "several auditoriums for DOUBLE BATTLES\l" .string "several auditoriums for DOUBLE BATTLES\l"
.string "that are named DOUBLE BATTLE HALLS.\p" .string "that are named DOUBLE BATTLE HALLS.\p"
@@ -594,37 +592,34 @@ BattleFrontier_BattlePalaceLobby_Text_24EBC2: @ 824EBC2
.string "If you don't save before interrupting,\n" .string "If you don't save before interrupting,\n"
.string "you will be disqualified.$" .string "you will be disqualified.$"
BattleFrontier_BattlePalaceLobby_Text_24EE81: @ 824EE81 BattleFrontier_BattlePalaceLobby_Text_ToDefeatMavenAnd7Trainers: @ 824EE81
.string "To defeat the PALACE MAVEN\n" .string "To defeat the PALACE MAVEN\n"
.string "and seven TRAINERS in a row…$" .string "and seven TRAINERS in a row…$"
BattleFrontier_BattlePalaceLobby_Text_24EEB9: @ 824EEB9 BattleFrontier_BattlePalaceLobby_Text_PresentYouWithBattlePoints: @ 824EEB9
.string "In honor of the bond you share with\n" .string "In honor of the bond you share with\n"
.string "your POKéMON, we present you with\l" .string "your POKéMON, we present you with\l"
.string "these Battle Point(s).$" .string "these Battle Point(s).$"
BattleFrontier_BattlePalaceLobby_Text_24EF16: @ 824EF16 BattleFrontier_BattlePalaceLobby_Text_LikeToRecordMatch: @ 824EF16
.string "Would you like to record your latest\n" .string "Would you like to record your latest\n"
.string "BATTLE PALACE match on your\l" .string "BATTLE PALACE match on your\l"
.string "FRONTIER PASS?$" .string "FRONTIER PASS?$"
BattleFrontier_BattlePalaceLobby_Text_24EF66: @ 824EF66 BattleFrontier_BattlePalaceLobby_Text_RulesAreListed: @ 824EF66
.string "The BATTLE HALL rules are listed.$" .string "The BATTLE HALL rules are listed.$"
BattleFrontier_BattlePalaceLobby_Text_24EF88: @ 824EF88 BattleFrontier_BattlePalaceLobby_Text_ReadWhichHeading: @ 824EF88
VerdanturfTown_BattleTentLobby_Text_24EF88: @ 824EF88
.string "Which heading do you want to read?$" .string "Which heading do you want to read?$"
BattleFrontier_BattlePalaceLobby_Text_24EFAB: @ 824EFAB BattleFrontier_BattlePalaceLobby_Text_ExplainRulesBasics: @ 824EFAB
VerdanturfTown_BattleTentLobby_Text_24EFAB: @ 824EFAB
.string "Here, POKéMON are required to think\n" .string "Here, POKéMON are required to think\n"
.string "and battle by themselves.\p" .string "and battle by themselves.\p"
.string "Unlike in the wild, POKéMON that live\n" .string "Unlike in the wild, POKéMON that live\n"
.string "with people behave differently\l" .string "with people behave differently\l"
.string "depending on their nature.$" .string "depending on their nature.$"
BattleFrontier_BattlePalaceLobby_Text_24F049: @ 824F049 BattleFrontier_BattlePalaceLobby_Text_ExplainRulesNature: @ 824F049
VerdanturfTown_BattleTentLobby_Text_24F049: @ 824F049
.string "Depending on its nature, a POKéMON\n" .string "Depending on its nature, a POKéMON\n"
.string "may prefer to attack no matter what.\p" .string "may prefer to attack no matter what.\p"
.string "Another POKéMON may prefer to protect\n" .string "Another POKéMON may prefer to protect\n"
@@ -637,8 +632,7 @@ VerdanturfTown_BattleTentLobby_Text_24F049: @ 824F049
.string "It may also dislike certain moves that\n" .string "It may also dislike certain moves that\n"
.string "it has trouble using.$" .string "it has trouble using.$"
BattleFrontier_BattlePalaceLobby_Text_24F190: @ 824F190 BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves: @ 824F190
VerdanturfTown_BattleTentLobby_Text_24F190: @ 824F190
.string "There are offensive moves that inflict\n" .string "There are offensive moves that inflict\n"
.string "direct damage on the foe.\p" .string "direct damage on the foe.\p"
.string "There are defensive moves that are\n" .string "There are defensive moves that are\n"
@@ -651,8 +645,7 @@ VerdanturfTown_BattleTentLobby_Text_24F190: @ 824F190
.string "POKéMON will consider using moves in\n" .string "POKéMON will consider using moves in\n"
.string "these three categories.$" .string "these three categories.$"
BattleFrontier_BattlePalaceLobby_Text_24F2E8: @ 824F2E8 BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered: @ 824F2E8
VerdanturfTown_BattleTentLobby_Text_24F2E8: @ 824F2E8
.string "When not under command by its TRAINER,\n" .string "When not under command by its TRAINER,\n"
.string "a POKéMON may be unable to effectively\l" .string "a POKéMON may be unable to effectively\l"
.string "use certain moves.\p" .string "use certain moves.\p"
@@ -662,8 +655,7 @@ VerdanturfTown_BattleTentLobby_Text_24F2E8: @ 824F2E8
.string "do not match its nature, it will often\l" .string "do not match its nature, it will often\l"
.string "be unable to live up to its potential.$" .string "be unable to live up to its potential.$"
BattleFrontier_BattlePalaceLobby_Text_24F3F4: @ 824F3F4 BattleFrontier_BattlePalaceLobby_Text_ExplainRulesWhenInDanger: @ 824F3F4
VerdanturfTown_BattleTentLobby_Text_24F3F4: @ 824F3F4
.string "Depending on its nature, a POKéMON may\n" .string "Depending on its nature, a POKéMON may\n"
.string "start using moves that don't match its\l" .string "start using moves that don't match its\l"
.string "nature when it is in trouble.\p" .string "nature when it is in trouble.\p"
@@ -1,25 +1,25 @@
BattleFrontier_BattlePikeCorridor_MapScripts:: @ 825C771 BattleFrontier_BattlePikeCorridor_MapScripts:: @ 825C771
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeCorridor_MapScript2_25C77C map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeCorridor_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeCorridor_MapScript2_25C7F7 map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeCorridor_OnWarp
.byte 0 .byte 0
BattleFrontier_BattlePikeCorridor_MapScript2_25C77C: @ 825C77C BattleFrontier_BattlePikeCorridor_OnFrame: @ 825C77C
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeCorridor_EventScript_25C786 map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeCorridor_EventScript_EnterCorridor
.2byte 0 .2byte 0
BattleFrontier_BattlePikeCorridor_EventScript_25C786:: @ 825C786 BattleFrontier_BattlePikeCorridor_EventScript_EnterCorridor:: @ 825C786
delay 16 delay 16
frontier_set FRONTIER_DATA_BATTLE_NUM, 1 frontier_set FRONTIER_DATA_BATTLE_NUM, 1
pike_cleartrainerids pike_cleartrainerids
pike_nohealing TRUE pike_nohealing TRUE
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeCorridor_Movement_25C80B applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeCorridor_Movement_PlayerEnterCorridor
applymovement 1, BattleFrontier_BattlePikeCorridor_Movement_25C812 applymovement 1, BattleFrontier_BattlePikeCorridor_Movement_AttendantEnterCorridor
waitmovement 0 waitmovement 0
lockall lockall
msgbox BattleFrontier_BattlePikeCorridor_Text_YourChallengeHasBegun, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeCorridor_Text_YourChallengeHasBegun, MSGBOX_DEFAULT
closemessage closemessage
releaseall releaseall
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeCorridor_Movement_25C80E applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeCorridor_Movement_PlayerExitCorridor
waitmovement 0 waitmovement 0
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 99 frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 99
call BattleFrontier_BattlePike_EventScript_CloseCurtain call BattleFrontier_BattlePike_EventScript_CloseCurtain
@@ -27,27 +27,27 @@ BattleFrontier_BattlePikeCorridor_EventScript_25C786:: @ 825C786
waitstate waitstate
end end
BattleFrontier_BattlePikeCorridor_MapScript2_25C7F7: @ 825C7F7 BattleFrontier_BattlePikeCorridor_OnWarp: @ 825C7F7
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePikeCorridor_EventScript_25C801 map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePikeCorridor_EventScript_TurnPlayerNorth
.2byte 0 .2byte 0
BattleFrontier_BattlePikeCorridor_EventScript_25C801:: @ 825C801 BattleFrontier_BattlePikeCorridor_EventScript_TurnPlayerNorth:: @ 825C801
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end end
BattleFrontier_BattlePikeCorridor_Movement_25C80B: @ 825C80B BattleFrontier_BattlePikeCorridor_Movement_PlayerEnterCorridor: @ 825C80B
walk_up walk_up
walk_up walk_up
step_end step_end
BattleFrontier_BattlePikeCorridor_Movement_25C80E: @ 825C80E BattleFrontier_BattlePikeCorridor_Movement_PlayerExitCorridor: @ 825C80E
walk_up walk_up
walk_up walk_up
set_invisible set_invisible
step_end step_end
BattleFrontier_BattlePikeCorridor_Movement_25C812: @ 825C812 BattleFrontier_BattlePikeCorridor_Movement_AttendantEnterCorridor: @ 825C812
walk_up walk_up
walk_up walk_up
walk_left walk_left
@@ -24,7 +24,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePikeLobby_EventScript_25B868", "script": "BattleFrontier_BattlePikeLobby_EventScript_Attendant",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePikeLobby_EventScript_25BAAB", "script": "BattleFrontier_BattlePikeLobby_EventScript_Hiker",
"flag": "0" "flag": "0"
}, },
{ {
@@ -50,7 +50,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePikeLobby_EventScript_25BAB4", "script": "BattleFrontier_BattlePikeLobby_EventScript_Twin",
"flag": "0" "flag": "0"
}, },
{ {
@@ -63,7 +63,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePikeLobby_EventScript_25BABD", "script": "BattleFrontier_BattlePikeLobby_EventScript_Beauty",
"flag": "0" "flag": "0"
} }
], ],
@@ -98,7 +98,7 @@
"y": 3, "y": 3,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_BattlePikeLobby_EventScript_25BA80" "script": "BattleFrontier_BattlePikeLobby_EventScript_ShowResults"
}, },
{ {
"type": "sign", "type": "sign",
@@ -106,7 +106,7 @@
"y": 3, "y": 3,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_BattlePikeLobby_EventScript_25BAC6" "script": "BattleFrontier_BattlePikeLobby_EventScript_RulesBoard"
} }
] ]
} }
@@ -1,33 +1,33 @@
BattleFrontier_BattlePikeLobby_MapScripts:: @ 825B6C6 BattleFrontier_BattlePikeLobby_MapScripts:: @ 825B6C6
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeLobby_MapScript2_25B6D1 map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeLobby_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeLobby_MapScript2_25B6F3 map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeLobby_OnWarp
.byte 0 .byte 0
BattleFrontier_BattlePikeLobby_MapScript2_25B6D1: @ 825B6D1 BattleFrontier_BattlePikeLobby_OnFrame: @ 825B6D1
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeLobby_EventScript_25B707 map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeLobby_EventScript_GetChallengeStatus
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePikeLobby_EventScript_25B710 map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePikeLobby_EventScript_QuitWithoutSaving
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattlePikeLobby_EventScript_25B762 map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattlePikeLobby_EventScript_WonChallenge
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattlePikeLobby_EventScript_25B806 map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattlePikeLobby_EventScript_LostChallenge
.2byte 0 .2byte 0
BattleFrontier_BattlePikeLobby_MapScript2_25B6F3: @ 825B6F3 BattleFrontier_BattlePikeLobby_OnWarp: @ 825B6F3
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePikeLobby_EventScript_25B6FD map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePikeLobby_EventScript_TurnPlayerNorth
.2byte 0 .2byte 0
BattleFrontier_BattlePikeLobby_EventScript_25B6FD:: @ 825B6FD BattleFrontier_BattlePikeLobby_EventScript_TurnPlayerNorth:: @ 825B6FD
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end end
BattleFrontier_BattlePikeLobby_EventScript_25B707:: @ 825B707 BattleFrontier_BattlePikeLobby_EventScript_GetChallengeStatus:: @ 825B707
frontier_getstatus frontier_getstatus
end end
BattleFrontier_BattlePikeLobby_EventScript_25B710:: @ 825B710 BattleFrontier_BattlePikeLobby_EventScript_QuitWithoutSaving:: @ 825B710
special HealPlayerParty special HealPlayerParty
pike_resethelditems pike_resethelditems
lockall lockall
msgbox BattleFrontier_BattlePikeLobby_Text_25C2E0, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_FailedToSaveBeforeQuitting, MSGBOX_DEFAULT
closemessage closemessage
pike_set PIKE_DATA_WIN_STREAK 0 pike_set PIKE_DATA_WIN_STREAK 0
pike_set PIKE_DATA_WIN_STREAK_ACTIVE, FALSE pike_set PIKE_DATA_WIN_STREAK_ACTIVE, FALSE
@@ -36,21 +36,20 @@ BattleFrontier_BattlePikeLobby_EventScript_25B710:: @ 825B710
releaseall releaseall
end end
BattleFrontier_BattlePikeLobby_EventScript_25B762:: @ 825B762 BattleFrontier_BattlePikeLobby_EventScript_WonChallenge:: @ 825B762
lockall lockall
frontier_isbrain frontier_isbrain
compare VAR_RESULT, TRUE compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25B784 goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_DefeatedQueen
msgbox BattleFrontier_BattlePikeLobby_Text_25C18A, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_PossessLuckInAbundance, MSGBOX_DEFAULT
waitmessage waitmessage
goto BattleFrontier_BattlePikeLobby_EventScript_25B78D goto BattleFrontier_BattlePikeLobby_EventScript_GiveBattlePoints
BattleFrontier_BattlePikeLobby_EventScript_25B784:: @ 825B784 BattleFrontier_BattlePikeLobby_EventScript_DefeatedQueen:: @ 825B784
msgbox BattleFrontier_BattlePikeLobby_Text_25C383, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_SnatchedVictoryFromQueen, MSGBOX_DEFAULT
waitmessage waitmessage
BattleFrontier_BattlePikeLobby_EventScript_GiveBattlePoints:: @ 825B78D
BattleFrontier_BattlePikeLobby_EventScript_25B78D:: @ 825B78D msgbox BattleFrontier_BattlePikeLobby_Text_AwardYouTheseBattlePoints, MSGBOX_DEFAULT
msgbox BattleFrontier_BattlePikeLobby_Text_25C3D9, MSGBOX_DEFAULT
frontier_givepoints frontier_givepoints
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
frontier_checkairshow frontier_checkairshow
@@ -60,20 +59,20 @@ BattleFrontier_BattlePikeLobby_EventScript_25B78D:: @ 825B78D
special LoadPlayerParty special LoadPlayerParty
special HealPlayerParty special HealPlayerParty
pike_resethelditems pike_resethelditems
message BattleFrontier_BattlePikeLobby_Text_25C1DF message BattleFrontier_BattlePikeLobby_Text_ShallRecordResults
waitmessage waitmessage
pike_save 0 pike_save 0
playse SE_SAVE playse SE_SAVE
waitse waitse
msgbox BattleFrontier_BattlePikeLobby_Text_25BE02, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_LookForwardToSeeingYou, MSGBOX_DEFAULT
closemessage closemessage
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
releaseall releaseall
end end
BattleFrontier_BattlePikeLobby_EventScript_25B806:: @ 825B806 BattleFrontier_BattlePikeLobby_EventScript_LostChallenge:: @ 825B806
lockall lockall
message BattleFrontier_BattlePikeLobby_Text_25C146 message BattleFrontier_BattlePikeLobby_Text_ChallengeEndedRecordResults
waitmessage waitmessage
frontier_checkairshow frontier_checkairshow
frontier_set FRONTIER_DATA_BATTLE_NUM, 0 frontier_set FRONTIER_DATA_BATTLE_NUM, 0
@@ -84,42 +83,41 @@ BattleFrontier_BattlePikeLobby_EventScript_25B806:: @ 825B806
pike_save 0 pike_save 0
playse SE_SAVE playse SE_SAVE
waitse waitse
msgbox BattleFrontier_BattlePikeLobby_Text_25BE02, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_LookForwardToSeeingYou, MSGBOX_DEFAULT
closemessage closemessage
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
releaseall releaseall
end end
BattleFrontier_BattlePikeLobby_EventScript_25B868:: @ 825B868 BattleFrontier_BattlePikeLobby_EventScript_Attendant:: @ 825B868
lock lock
faceplayer faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PIKE setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PIKE
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
special SavePlayerParty special SavePlayerParty
msgbox BattleFrontier_BattlePikeLobby_Text_25BB52, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_WelcomeToBattlePike, MSGBOX_DEFAULT
BattleFrontier_BattlePikeLobby_EventScript_AskTakeChallenge:: @ 825B87F
BattleFrontier_BattlePikeLobby_EventScript_25B87F:: @ 825B87F message BattleFrontier_BattlePikeLobby_Text_TakeChallenge
message BattleFrontier_BattlePikeLobby_Text_25BBC1
waitmessage waitmessage
multichoice 17, 6, MULTI_CHALLENGEINFO, 0 multichoice 17, 6, MULTI_CHALLENGEINFO, 0
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePikeLobby_EventScript_25B8BB case 0, BattleFrontier_BattlePikeLobby_EventScript_TryEnterChallenge
case 1, BattleFrontier_BattlePikeLobby_EventScript_25BA1A case 1, BattleFrontier_BattlePikeLobby_EventScript_ExplainChallenge
case 2, BattleFrontier_BattlePikeLobby_EventScript_25BA76 case 2, BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_25BA76 case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB BattleFrontier_BattlePikeLobby_EventScript_TryEnterChallenge:: @ 825B8BB
message BattleFrontier_BattlePikeLobby_Text_25BE35 message BattleFrontier_BattlePikeLobby_Text_WhichChallengeMode
waitmessage waitmessage
multichoice 17, 6, MULTI_LEVEL_MODE, 0 multichoice 17, 6, MULTI_LEVEL_MODE, 0
switch VAR_RESULT switch VAR_RESULT
case FRONTIER_LVL_TENT, BattleFrontier_BattlePikeLobby_EventScript_25BA76 case FRONTIER_LVL_TENT, BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_25BA76 case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
frontier_checkineligible frontier_checkineligible
compare VAR_0x8004, TRUE compare VAR_0x8004, TRUE
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA27 goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMons
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
msgbox BattleFrontier_BattlePikeLobby_Text_25C094, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_PleaseChooseThreeMons, MSGBOX_DEFAULT
fadescreen 1 fadescreen 1
call BattleFrontier_EventScript_GetLvlMode call BattleFrontier_EventScript_GetLvlMode
copyvar VAR_0x8004, VAR_RESULT copyvar VAR_0x8004, VAR_RESULT
@@ -127,14 +125,14 @@ BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB
special ChoosePartyForBattleFrontier special ChoosePartyForBattleFrontier
waitstate waitstate
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA73 goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge
msgbox BattleFrontier_BattlePikeLobby_Text_25C0D8, MSGBOX_YESNO msgbox BattleFrontier_BattlePikeLobby_Text_SaveBeforeChallenge, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case NO, BattleFrontier_BattlePikeLobby_EventScript_25BA73 case NO, BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge
case YES, BattleFrontier_BattlePikeLobby_EventScript_25B95C case YES, BattleFrontier_BattlePikeLobby_EventScript_SaveBeforeChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_25BA73 case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge
BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C BattleFrontier_BattlePikeLobby_EventScript_SaveBeforeChallenge:: @ 825B95C
setvar VAR_TEMP_0, 0 setvar VAR_TEMP_0, 0
setvar VAR_TEMP_1, 0 setvar VAR_TEMP_1, 0
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
@@ -150,13 +148,13 @@ BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
pike_savehelditems pike_savehelditems
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA5C goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_CancelChallengeSaveFailed
special SavePlayerParty special SavePlayerParty
frontier_setpartyorder FRONTIER_PARTY_SIZE frontier_setpartyorder FRONTIER_PARTY_SIZE
msgbox BattleFrontier_BattlePikeLobby_Text_25C130, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_StepThisWay, MSGBOX_DEFAULT
closemessage closemessage
frontier_settrainers frontier_settrainers
call BattleFrontier_BattlePikeLobby_EventScript_25BA94 call BattleFrontier_BattlePikeLobby_EventScript_WalkToCorridor
special HealPlayerParty special HealPlayerParty
call BattleFrontier_BattlePike_EventScript_CloseCurtain call BattleFrontier_BattlePike_EventScript_CloseCurtain
warpsilent MAP_BATTLE_FRONTIER_BATTLE_PIKE_CORRIDOR, 255, 6, 7 warpsilent MAP_BATTLE_FRONTIER_BATTLE_PIKE_CORRIDOR, 255, 6, 7
@@ -164,36 +162,36 @@ BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
waitstate waitstate
end end
BattleFrontier_BattlePikeLobby_EventScript_25BA1A:: @ 825BA1A BattleFrontier_BattlePikeLobby_EventScript_ExplainChallenge:: @ 825BA1A
msgbox BattleFrontier_BattlePikeLobby_Text_25BBF5, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_ExplainBattlePike, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_25B87F goto BattleFrontier_BattlePikeLobby_EventScript_AskTakeChallenge
BattleFrontier_BattlePikeLobby_EventScript_25BA27:: @ 825BA27 BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMons:: @ 825BA27
switch VAR_RESULT switch VAR_RESULT
case FRONTIER_LVL_50, BattleFrontier_BattlePikeLobby_EventScript_25BA42 case FRONTIER_LVL_50, BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLv50
case FRONTIER_LVL_OPEN, BattleFrontier_BattlePikeLobby_EventScript_25BA4F case FRONTIER_LVL_OPEN, BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLvOpen
BattleFrontier_BattlePikeLobby_EventScript_25BA42:: @ 825BA42 BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLv50:: @ 825BA42
msgbox BattleFrontier_BattlePikeLobby_Text_25BE8C, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_25BA7E goto BattleFrontier_BattlePikeLobby_EventScript_EndCancelChallenge
BattleFrontier_BattlePikeLobby_EventScript_25BA4F:: @ 825BA4F BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 825BA4F
msgbox BattleFrontier_BattlePikeLobby_Text_25BF9A, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_25BA7E goto BattleFrontier_BattlePikeLobby_EventScript_EndCancelChallenge
BattleFrontier_BattlePikeLobby_EventScript_25BA5C:: @ 825BA5C BattleFrontier_BattlePikeLobby_EventScript_CancelChallengeSaveFailed:: @ 825BA5C
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0 frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
goto BattleFrontier_BattlePikeLobby_EventScript_25BA76 goto BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
BattleFrontier_BattlePikeLobby_EventScript_25BA73:: @ 825BA73 BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge:: @ 825BA73
special LoadPlayerParty special LoadPlayerParty
BattleFrontier_BattlePikeLobby_EventScript_25BA76:: @ 825BA76 BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge:: @ 825BA76
msgbox BattleFrontier_BattlePikeLobby_Text_25BE02, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_LookForwardToSeeingYou, MSGBOX_DEFAULT
BattleFrontier_BattlePikeLobby_EventScript_25BA7E:: @ 825BA7E BattleFrontier_BattlePikeLobby_EventScript_EndCancelChallenge:: @ 825BA7E
release release
end end
BattleFrontier_BattlePikeLobby_EventScript_25BA80:: @ 825BA80 BattleFrontier_BattlePikeLobby_EventScript_ShowResults:: @ 825BA80
lockall lockall
frontier_results FRONTIER_FACILITY_PIKE frontier_results FRONTIER_FACILITY_PIKE
waitbuttonpress waitbuttonpress
@@ -201,67 +199,66 @@ BattleFrontier_BattlePikeLobby_EventScript_25BA80:: @ 825BA80
releaseall releaseall
end end
BattleFrontier_BattlePikeLobby_EventScript_25BA94:: @ 825BA94 BattleFrontier_BattlePikeLobby_EventScript_WalkToCorridor:: @ 825BA94
applymovement 1, BattleFrontier_BattlePikeLobby_Movement_25BAA7 applymovement 1, BattleFrontier_BattlePikeLobby_Movement_AttendantWalkToCorridor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeLobby_Movement_25BAA6 applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeLobby_Movement_PlayerWalkToCorridor
waitmovement 0 waitmovement 0
return return
BattleFrontier_BattlePikeLobby_Movement_25BAA6: @ 825BAA6 BattleFrontier_BattlePikeLobby_Movement_PlayerWalkToCorridor: @ 825BAA6
walk_up walk_up
BattleFrontier_BattlePikeLobby_Movement_AttendantWalkToCorridor: @ 825BAA7
BattleFrontier_BattlePikeLobby_Movement_25BAA7: @ 825BAA7
walk_up walk_up
walk_up walk_up
set_invisible set_invisible
step_end step_end
BattleFrontier_BattlePikeLobby_EventScript_25BAAB:: @ 825BAAB BattleFrontier_BattlePikeLobby_EventScript_Hiker:: @ 825BAAB
msgbox BattleFrontier_BattlePikeLobby_Text_25C422, MSGBOX_NPC msgbox BattleFrontier_BattlePikeLobby_Text_OneRoomAwayFromGoal, MSGBOX_NPC
end end
BattleFrontier_BattlePikeLobby_EventScript_25BAB4:: @ 825BAB4 BattleFrontier_BattlePikeLobby_EventScript_Twin:: @ 825BAB4
msgbox BattleFrontier_BattlePikeLobby_Text_25C4A5, MSGBOX_NPC msgbox BattleFrontier_BattlePikeLobby_Text_NeverHadToBattleTrainer, MSGBOX_NPC
end end
BattleFrontier_BattlePikeLobby_EventScript_25BABD:: @ 825BABD BattleFrontier_BattlePikeLobby_EventScript_Beauty:: @ 825BABD
msgbox BattleFrontier_BattlePikeLobby_Text_25C4FD, MSGBOX_NPC msgbox BattleFrontier_BattlePikeLobby_Text_ThinkAbilitiesUsefulHere, MSGBOX_NPC
end end
BattleFrontier_BattlePikeLobby_EventScript_25BAC6:: @ 825BAC6 BattleFrontier_BattlePikeLobby_EventScript_RulesBoard:: @ 825BAC6
lockall lockall
msgbox BattleFrontier_BattlePikeLobby_Text_25C5FB, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_RulesAreListed, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_25BAD5 goto BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePikeLobby_EventScript_25BAD5:: @ 825BAD5 BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard:: @ 825BAD5
message BattleFrontier_BattlePikeLobby_Text_25C621 message BattleFrontier_BattlePikeLobby_Text_ReadWhichHeading
waitmessage waitmessage
multichoice 16, 4, MULTI_BATTLE_PIKE_RULES, 0 multichoice 16, 4, MULTI_BATTLE_PIKE_RULES, 0
switch VAR_RESULT switch VAR_RESULT
case 0, BattleFrontier_BattlePikeLobby_EventScript_25BB1D case 0, BattleFrontier_BattlePikeLobby_EventScript_RulesPokenavBag
case 1, BattleFrontier_BattlePikeLobby_EventScript_25BB2B case 1, BattleFrontier_BattlePikeLobby_EventScript_RulesHeldItems
case 2, BattleFrontier_BattlePikeLobby_EventScript_25BB39 case 2, BattleFrontier_BattlePikeLobby_EventScript_RulesMonOrder
case 3, BattleFrontier_BattlePikeLobby_EventScript_25BB47 case 3, BattleFrontier_BattlePikeLobby_EventScript_ExitRules
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_25BB47 case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_ExitRules
end end
BattleFrontier_BattlePikeLobby_EventScript_25BB1D:: @ 825BB1D BattleFrontier_BattlePikeLobby_EventScript_RulesPokenavBag:: @ 825BB1D
msgbox BattleFrontier_BattlePikeLobby_Text_25C644, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_ExplainPokenavBagRules, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_25BAD5 goto BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePikeLobby_EventScript_25BB2B:: @ 825BB2B BattleFrontier_BattlePikeLobby_EventScript_RulesHeldItems:: @ 825BB2B
msgbox BattleFrontier_BattlePikeLobby_Text_25C68A, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_ExplainHeldItemRules, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_25BAD5 goto BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePikeLobby_EventScript_25BB39:: @ 825BB39 BattleFrontier_BattlePikeLobby_EventScript_RulesMonOrder:: @ 825BB39
msgbox BattleFrontier_BattlePikeLobby_Text_25C6EB, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeLobby_Text_ExplainMonOrderRules, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_25BAD5 goto BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard
end end
BattleFrontier_BattlePikeLobby_EventScript_25BB47:: @ 825BB47 BattleFrontier_BattlePikeLobby_EventScript_ExitRules:: @ 825BB47
releaseall releaseall
end end
@@ -272,17 +269,17 @@ BattleFrontier_BattlePike_EventScript_CloseCurtain:: @ 825BB49
waitse waitse
return return
BattleFrontier_BattlePikeLobby_Text_25BB52: @ 825BB52 BattleFrontier_BattlePikeLobby_Text_WelcomeToBattlePike: @ 825BB52
.string "Where the luck of TRAINERS\n" .string "Where the luck of TRAINERS\n"
.string "is put to the test…\p" .string "is put to the test…\p"
.string "Welcome to the BATTLE PIKE…\p" .string "Welcome to the BATTLE PIKE…\p"
.string "I am your guide to the BATTLE PIKE…$" .string "I am your guide to the BATTLE PIKE…$"
BattleFrontier_BattlePikeLobby_Text_25BBC1: @ 825BBC1 BattleFrontier_BattlePikeLobby_Text_TakeChallenge: @ 825BBC1
.string "Would you like to take the Battle\n" .string "Would you like to take the Battle\n"
.string "Choice challenge?$" .string "Choice challenge?$"
BattleFrontier_BattlePikeLobby_Text_25BBF5: @ 825BBF5 BattleFrontier_BattlePikeLobby_Text_ExplainBattlePike: @ 825BBF5
.string "Here we conduct an event we call\n" .string "Here we conduct an event we call\n"
.string "the Battle Choice.\p" .string "the Battle Choice.\p"
.string "The Battle Choice rules are very\n" .string "The Battle Choice rules are very\n"
@@ -301,16 +298,16 @@ BattleFrontier_BattlePikeLobby_Text_25BBF5: @ 825BBF5
.string "If you don't save before interrupting,\n" .string "If you don't save before interrupting,\n"
.string "you will be disqualified.$" .string "you will be disqualified.$"
BattleFrontier_BattlePikeLobby_Text_25BE02: @ 825BE02 BattleFrontier_BattlePikeLobby_Text_LookForwardToSeeingYou: @ 825BE02
.string "We look forward to seeing you\n" .string "We look forward to seeing you\n"
.string "on another occasion…$" .string "on another occasion…$"
BattleFrontier_BattlePikeLobby_Text_25BE35: @ 825BE35 BattleFrontier_BattlePikeLobby_Text_WhichChallengeMode: @ 825BE35
.string "You have the choice of two courses,\n" .string "You have the choice of two courses,\n"
.string "Level 50 and Open Level.\l" .string "Level 50 and Open Level.\l"
.string "Which will you challenge?$" .string "Which will you challenge?$"
BattleFrontier_BattlePikeLobby_Text_25BE8C: @ 825BE8C BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLv50: @ 825BE8C
.string "I beg your pardon, but…\p" .string "I beg your pardon, but…\p"
.string "You do not have three eligible\n" .string "You do not have three eligible\n"
.string "POKéMON for the Battle Choice event.\p" .string "POKéMON for the Battle Choice event.\p"
@@ -322,7 +319,7 @@ BattleFrontier_BattlePikeLobby_Text_25BE8C: @ 825BE8C
.string "Please come see me when\n" .string "Please come see me when\n"
.string "you are ready…$" .string "you are ready…$"
BattleFrontier_BattlePikeLobby_Text_25BF9A: @ 825BF9A BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLvOpen: @ 825BF9A
.string "I beg your pardon, but…\p" .string "I beg your pardon, but…\p"
.string "You do not have three eligible\n" .string "You do not have three eligible\n"
.string "POKéMON for the Battle Choice event.\p" .string "POKéMON for the Battle Choice event.\p"
@@ -334,98 +331,101 @@ BattleFrontier_BattlePikeLobby_Text_25BF9A: @ 825BF9A
.string "Please come see me when\n" .string "Please come see me when\n"
.string "you are ready…$" .string "you are ready…$"
BattleFrontier_BattlePikeLobby_Text_25C094: @ 825C094 BattleFrontier_BattlePikeLobby_Text_PleaseChooseThreeMons: @ 825C094
.string "Please choose the three POKéMON\n" .string "Please choose the three POKéMON\n"
.string "you wish to enter in the challenge…$" .string "you wish to enter in the challenge…$"
BattleFrontier_BattlePikeLobby_Text_25C0D8: @ 825C0D8 BattleFrontier_BattlePikeLobby_Text_SaveBeforeChallenge: @ 825C0D8
.string "Before starting your Battle Choice\n" .string "Before starting your Battle Choice\n"
.string "challenge, I must save the game.\l" .string "challenge, I must save the game.\l"
.string "Is that acceptable?$" .string "Is that acceptable?$"
BattleFrontier_BattlePikeLobby_Text_25C130: @ 825C130 BattleFrontier_BattlePikeLobby_Text_StepThisWay: @ 825C130
.string "Please step this way…$" .string "Please step this way…$"
BattleFrontier_BattlePikeLobby_Text_25C146: @ 825C146 BattleFrontier_BattlePikeLobby_Text_ChallengeEndedRecordResults: @ 825C146
.string "Your challenge has ended…\p" .string "Your challenge has ended…\p"
.string "I shall record your results.\n" .string "I shall record your results.\n"
.string "Please wait…$" .string "Please wait…$"
BattleFrontier_BattlePikeLobby_Text_25C18A: @ 825C18A BattleFrontier_BattlePikeLobby_Text_PossessLuckInAbundance: @ 825C18A
.string "You have completed the challenge…\p" .string "You have completed the challenge…\p"
.string "I must say… You seem to possess luck\n" .string "I must say… You seem to possess luck\n"
.string "in abundance…$" .string "in abundance…$"
BattleFrontier_BattlePikeLobby_Text_25C1DF: @ 825C1DF BattleFrontier_BattlePikeLobby_Text_ShallRecordResults: @ 825C1DF
.string "I shall record your results.\n" .string "I shall record your results.\n"
.string "Please wait…$" .string "Please wait…$"
BattleFrontier_BattlePikeLobby_Text_25C209: @ 825C209 @ Unused
BattleFrontier_BattlePikeLobby_Text_AwardYouTheseBattlePoints2: @ 825C209
.string "To commemorate your completion of\n" .string "To commemorate your completion of\n"
.string "the Battle Choice challenge, we award\l" .string "the Battle Choice challenge, we award\l"
.string "you these Battle Point(s)…$" .string "you these Battle Point(s)…$"
BattleFrontier_BattlePikeLobby_Text_25C26C: @ 825C26C @ Unused
BattleFrontier_BattlePikeLobby_Text_ReachedBattlePointLimit: @ 825C26C
.string "You appear to have reached the limit\n" .string "You appear to have reached the limit\n"
.string "for Battle Points…\pPlease exchange some Battle Points\n" .string "for Battle Points…\pPlease exchange some Battle Points\n"
.string "for prizes, then return…$" .string "for prizes, then return…$"
BattleFrontier_BattlePikeLobby_Text_25C2E0: @ 825C2E0 BattleFrontier_BattlePikeLobby_Text_FailedToSaveBeforeQuitting: @ 825C2E0
.string "I beg your pardon, but…\p" .string "I beg your pardon, but…\p"
.string "You failed to save before you quit\n" .string "You failed to save before you quit\n"
.string "your challenge the last time.\p" .string "your challenge the last time.\p"
.string "Because of that, your challenge so far\n" .string "Because of that, your challenge so far\n"
.string "has been disqualified. I am sorry…$" .string "has been disqualified. I am sorry…$"
BattleFrontier_BattlePikeLobby_Text_25C383: @ 825C383 BattleFrontier_BattlePikeLobby_Text_SnatchedVictoryFromQueen: @ 825C383
.string "Congratulations…\p" .string "Congratulations…\p"
.string "You have snatched victory from the\n" .string "You have snatched victory from the\n"
.string "PIKE QUEEN and cleared the event…$" .string "PIKE QUEEN and cleared the event…$"
BattleFrontier_BattlePikeLobby_Text_25C3D9: @ 825C3D9 BattleFrontier_BattlePikeLobby_Text_AwardYouTheseBattlePoints: @ 825C3D9
.string "In recognition of your amazing luck,\n" .string "In recognition of your amazing luck,\n"
.string "we award you these Battle Point(s)…$" .string "we award you these Battle Point(s)…$"
BattleFrontier_BattlePikeLobby_Text_25C422: @ 825C422 BattleFrontier_BattlePikeLobby_Text_OneRoomAwayFromGoal: @ 825C422
.string "Arrgh! I blew my chance!\n" .string "Arrgh! I blew my chance!\n"
.string "I was one room away from the goal!\p" .string "I was one room away from the goal!\p"
.string "In this place, you'd better watch out\n" .string "In this place, you'd better watch out\n"
.string "for poison, freezing, and so on.$" .string "for poison, freezing, and so on.$"
BattleFrontier_BattlePikeLobby_Text_25C4A5: @ 825C4A5 BattleFrontier_BattlePikeLobby_Text_NeverHadToBattleTrainer: @ 825C4A5
.string "I've completed the challenge 10 times\n" .string "I've completed the challenge 10 times\n"
.string "now, but I've never had to battle\l" .string "now, but I've never had to battle\l"
.string "a TRAINER once.$" .string "a TRAINER once.$"
BattleFrontier_BattlePikeLobby_Text_25C4FD: @ 825C4FD BattleFrontier_BattlePikeLobby_Text_ThinkAbilitiesUsefulHere: @ 825C4FD
.string "Listen! Listen!\p" .string "Listen! Listen!\p"
.string "Don't you think that the special\n" .string "Don't you think that the special\n"
.string "abilities of POKéMON will be useful\l" .string "abilities of POKéMON will be useful\l"
.string "here?$" .string "here?$"
BattleFrontier_BattlePikeLobby_Text_25C558: @ 825C558 @ Unused
BattleFrontier_BattlePikeLobby_Text_TrainersWhicheverPathIChoose: @ 825C558
.string "What is this weird place?\n" .string "What is this weird place?\n"
.string "I can't figure it out at all!\p" .string "I can't figure it out at all!\p"
.string "I've taken the challenge a bunch\n" .string "I've taken the challenge a bunch\n"
.string "of times, but all I ever do is run into\l" .string "of times, but all I ever do is run into\l"
.string "TRAINERS whichever path I choose.$" .string "TRAINERS whichever path I choose.$"
BattleFrontier_BattlePikeLobby_Text_25C5FB: @ 825C5FB BattleFrontier_BattlePikeLobby_Text_RulesAreListed: @ 825C5FB
.string "The Battle Choice's rules are listed.$" .string "The Battle Choice's rules are listed.$"
BattleFrontier_BattlePikeLobby_Text_25C621: @ 825C621 BattleFrontier_BattlePikeLobby_Text_ReadWhichHeading: @ 825C621
.string "Which heading do you want to read?$" .string "Which heading do you want to read?$"
BattleFrontier_BattlePikeLobby_Text_25C644: @ 825C644 BattleFrontier_BattlePikeLobby_Text_ExplainPokenavBagRules: @ 825C644
.string "The BAG and POKéNAV may not be used\n" .string "The BAG and POKéNAV may not be used\n"
.string "during a Battle Choice challenge.$" .string "during a Battle Choice challenge.$"
BattleFrontier_BattlePikeLobby_Text_25C68A: @ 825C68A BattleFrontier_BattlePikeLobby_Text_ExplainHeldItemRules: @ 825C68A
.string "During a Battle Choice challenge,\n" .string "During a Battle Choice challenge,\n"
.string "any BERRY or HERB held by POKéMON\l" .string "any BERRY or HERB held by POKéMON\l"
.string "will be effective only once.$" .string "will be effective only once.$"
BattleFrontier_BattlePikeLobby_Text_25C6EB: @ 825C6EB BattleFrontier_BattlePikeLobby_Text_ExplainMonOrderRules: @ 825C6EB
.string "During a Battle Choice challenge,\n" .string "During a Battle Choice challenge,\n"
.string "the sequence of POKéMON cannot be\l" .string "the sequence of POKéMON cannot be\l"
.string "changed.\p" .string "changed.\p"
@@ -4,12 +4,12 @@ BattleFrontier_BattlePikeRoomFinal_MapScripts:: @ 825E392
.byte 0 .byte 0
BattleFrontier_BattlePikeRoomFinal_OnFrame: @ 825E39D BattleFrontier_BattlePikeRoomFinal_OnFrame: @ 825E39D
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeRoomFinal_EventScript_25E3A7 map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeRoomFinal_EventScript_EnterRoom
.2byte 0 .2byte 0
BattleFrontier_BattlePikeRoomFinal_EventScript_25E3A7:: @ 825E3A7 BattleFrontier_BattlePikeRoomFinal_EventScript_EnterRoom:: @ 825E3A7
delay 16 delay 16
applymovement 1, BattleFrontier_BattlePikeRoomFinal_Movement_25E3DB applymovement 1, BattleFrontier_BattlePikeRoomFinal_Movement_AttendantApproachPlayer
waitmovement 0 waitmovement 0
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
lockall lockall
@@ -20,7 +20,7 @@ BattleFrontier_BattlePikeRoomFinal_EventScript_25E3A7:: @ 825E3A7
waitstate waitstate
end end
BattleFrontier_BattlePikeRoomFinal_Movement_25E3DB: @ 825E3DB BattleFrontier_BattlePikeRoomFinal_Movement_AttendantApproachPlayer: @ 825E3DB
walk_down walk_down
walk_down walk_down
step_end step_end
@@ -24,7 +24,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_25D7ED", "script": "BattleFrontier_BattlePikeRoomNormal_EventScript_NPC",
"flag": "0" "flag": "0"
}, },
{ {
@@ -37,7 +37,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_25D88D", "script": "BattleFrontier_BattlePikeRoomNormal_EventScript_StatusMon",
"flag": "0" "flag": "0"
} }
], ],
@@ -59,7 +59,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_2", "var": "VAR_TEMP_2",
"var_value": "0", "var_value": "0",
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_2C4082" "script": "BattleFrontier_BattlePikeRoomNormal_EventScript_SetEnteredRoom"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -68,7 +68,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_3", "var": "VAR_TEMP_3",
"var_value": "1", "var_value": "1",
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_2C408D" "script": "BattleFrontier_BattlePikeRoomNormal_EventScript_NoTurningBack"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -77,7 +77,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_2", "var": "VAR_TEMP_2",
"var_value": "0", "var_value": "0",
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_2C4082" "script": "BattleFrontier_BattlePikeRoomNormal_EventScript_SetEnteredRoom"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -86,7 +86,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_2", "var": "VAR_TEMP_2",
"var_value": "0", "var_value": "0",
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_2C4082" "script": "BattleFrontier_BattlePikeRoomNormal_EventScript_SetEnteredRoom"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -95,7 +95,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_3", "var": "VAR_TEMP_3",
"var_value": "1", "var_value": "1",
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_2C408D" "script": "BattleFrontier_BattlePikeRoomNormal_EventScript_NoTurningBack"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -104,7 +104,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_3", "var": "VAR_TEMP_3",
"var_value": "1", "var_value": "1",
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_2C408D" "script": "BattleFrontier_BattlePikeRoomNormal_EventScript_NoTurningBack"
} }
], ],
"bg_events": [] "bg_events": []
File diff suppressed because it is too large Load Diff
@@ -23,7 +23,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_1", "var": "VAR_TEMP_1",
"var_value": "0", "var_value": "0",
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4174" "script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_Exit"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -32,7 +32,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_2", "var": "VAR_TEMP_2",
"var_value": "0", "var_value": "0",
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4202" "script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_SetEnteredRoom"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -41,7 +41,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_2", "var": "VAR_TEMP_2",
"var_value": "0", "var_value": "0",
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4202" "script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_SetEnteredRoom"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -50,7 +50,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_2", "var": "VAR_TEMP_2",
"var_value": "0", "var_value": "0",
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4202" "script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_SetEnteredRoom"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -59,7 +59,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_3", "var": "VAR_TEMP_3",
"var_value": "1", "var_value": "1",
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C420D" "script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_NoTurningBack"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -68,7 +68,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_3", "var": "VAR_TEMP_3",
"var_value": "1", "var_value": "1",
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C420D" "script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_NoTurningBack"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -77,7 +77,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_3", "var": "VAR_TEMP_3",
"var_value": "1", "var_value": "1",
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C420D" "script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_NoTurningBack"
} }
], ],
"bg_events": [] "bg_events": []
@@ -1,44 +1,44 @@
BattleFrontier_BattlePikeRoomWildMons_MapScripts:: @ 825E41A BattleFrontier_BattlePikeRoomWildMons_MapScripts:: @ 825E41A
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattlePikeRoomWildMons_MapScript1_25E47A map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattlePikeRoomWildMons_OnResume
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeRoomWildMons_MapScript2_25E42A map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeRoomWildMons_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeRoomWildMons_MapScript2_25E466 map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeRoomWildMons_OnWarp
.byte 0 .byte 0
BattleFrontier_BattlePikeRoomWildMons_MapScript2_25E42A: @ 825E42A BattleFrontier_BattlePikeRoomWildMons_OnFrame: @ 825E42A
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeRoomWildMons_EventScript_25E43C map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeRoomWildMons_EventScript_SetInWildMonRoom
map_script_2 VAR_TEMP_1, 1, BattleFrontier_BattlePikeRoomWildMons_EventScript_25E44A map_script_2 VAR_TEMP_1, 1, BattleFrontier_BattlePikeRoomWildMons_EventScript_WarpToLobbyLost
.2byte 0 .2byte 0
BattleFrontier_BattlePikeRoomWildMons_EventScript_25E43C:: @ 825E43C BattleFrontier_BattlePikeRoomWildMons_EventScript_SetInWildMonRoom:: @ 825E43C
setvar VAR_TEMP_0, 1 setvar VAR_TEMP_0, 1
pike_inwildmonroom pike_inwildmonroom
end end
BattleFrontier_BattlePikeRoomWildMons_EventScript_25E44A:: @ 825E44A BattleFrontier_BattlePikeRoomWildMons_EventScript_WarpToLobbyLost:: @ 825E44A
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
warp MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 255, 5, 6 warp MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 255, 5, 6
waitstate waitstate
end end
BattleFrontier_BattlePikeRoomWildMons_MapScript2_25E466: @ 825E466 BattleFrontier_BattlePikeRoomWildMons_OnWarp: @ 825E466
map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeRoomWildMons_EventScript_25E470 map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeRoomWildMons_EventScript_TurnPlayerNorth
.2byte 0 .2byte 0
BattleFrontier_BattlePikeRoomWildMons_EventScript_25E470:: @ 825E470 BattleFrontier_BattlePikeRoomWildMons_EventScript_TurnPlayerNorth:: @ 825E470
setvar VAR_TEMP_4, 1 setvar VAR_TEMP_4, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end end
BattleFrontier_BattlePikeRoomWildMons_MapScript1_25E47A: @ 825E47A BattleFrontier_BattlePikeRoomWildMons_OnResume: @ 825E47A
call BattleFrontier_BattlePikeRoom_EventScript_ResetSketchedMoves call BattleFrontier_BattlePikeRoom_EventScript_ResetSketchedMoves
frontier_get FRONTIER_DATA_BATTLE_OUTCOME frontier_get FRONTIER_DATA_BATTLE_OUTCOME
compare VAR_RESULT, B_OUTCOME_LOST compare VAR_RESULT, B_OUTCOME_LOST
goto_if_eq BattleFrontier_BattlePikeRoomWildMons_EventScript_25E4A3 goto_if_eq BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost
compare VAR_RESULT, B_OUTCOME_DREW compare VAR_RESULT, B_OUTCOME_DREW
goto_if_eq BattleFrontier_BattlePikeRoomWildMons_EventScript_25E4A3 goto_if_eq BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost
end end
BattleFrontier_BattlePikeRoomWildMons_EventScript_25E4A3:: @ 825E4A3 BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost:: @ 825E4A3
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
end end
@@ -24,7 +24,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_25C908", "script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_Attendant",
"flag": "0" "flag": "0"
}, },
{ {
@@ -77,7 +77,7 @@
"elevation": 0, "elevation": 0,
"var": "VAR_TEMP_3", "var": "VAR_TEMP_3",
"var_value": "1", "var_value": "1",
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_2C406D" "script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_NoTurningBack"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -86,7 +86,7 @@
"elevation": 0, "elevation": 0,
"var": "VAR_TEMP_3", "var": "VAR_TEMP_3",
"var_value": "1", "var_value": "1",
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_2C406D" "script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_NoTurningBack"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -95,7 +95,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_2", "var": "VAR_TEMP_2",
"var_value": "0", "var_value": "0",
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_2C4062" "script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_SetEnteredRoom"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -104,7 +104,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_2", "var": "VAR_TEMP_2",
"var_value": "0", "var_value": "0",
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_2C4062" "script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_SetEnteredRoom"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -113,7 +113,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_TEMP_2", "var": "VAR_TEMP_2",
"var_value": "0", "var_value": "0",
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_2C4062" "script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_SetEnteredRoom"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -122,7 +122,7 @@
"elevation": 0, "elevation": 0,
"var": "VAR_TEMP_3", "var": "VAR_TEMP_3",
"var_value": "1", "var_value": "1",
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_2C406D" "script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_NoTurningBack"
} }
], ],
"bg_events": [] "bg_events": []
@@ -5,23 +5,23 @@ BattleFrontier_BattlePikeThreePathRoom_MapScripts:: @ 825C843
.byte 0 .byte 0
BattleFrontier_BattlePikeThreePathRoom_OnFrame: @ 825C853 BattleFrontier_BattlePikeThreePathRoom_OnFrame: @ 825C853
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_CheckChallengeStatus map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_GetChallengeStatus
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpToLobby map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpToLobby
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C8A4 map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_ResumeChallenge
map_script_2 VAR_TEMP_5, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA78 map_script_2 VAR_TEMP_5, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_SetHintRoom
map_script_2 VAR_TEMP_5, 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA97 map_script_2 VAR_TEMP_5, 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_GivePikeQueenHint
.2byte 0 .2byte 0
BattleFrontier_BattlePikeThreePathRoom_OnWarp: @ 825C87D BattleFrontier_BattlePikeThreePathRoom_OnWarp: @ 825C87D
map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C887 map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_TurnPlayerNorth
.2byte 0 .2byte 0
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C887:: @ 825C887 BattleFrontier_BattlePikeThreePathRoom_EventScript_TurnPlayerNorth:: @ 825C887
setvar VAR_TEMP_4, 1 setvar VAR_TEMP_4, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_CheckChallengeStatus:: @ 825C891 BattleFrontier_BattlePikeThreePathRoom_EventScript_GetChallengeStatus:: @ 825C891
frontier_getstatus frontier_getstatus
end end
@@ -30,7 +30,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpToLobby:: @ 825C89A
waitstate waitstate
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C8A4:: @ 825C8A4 BattleFrontier_BattlePikeThreePathRoom_EventScript_ResumeChallenge:: @ 825C8A4
lockall lockall
message BattleFrontier_BattlePikeThreePathRoom_Text_AwaitingReturnSaveBeforeResume message BattleFrontier_BattlePikeThreePathRoom_Text_AwaitingReturnSaveBeforeResume
waitmessage waitmessage
@@ -48,76 +48,76 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25C8A4:: @ 825C8A4
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 99 frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 99
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C908:: @ 825C908 BattleFrontier_BattlePikeThreePathRoom_EventScript_Attendant:: @ 825C908
frontier_get FRONTIER_DATA_BATTLE_NUM @ Room number frontier_get FRONTIER_DATA_BATTLE_NUM @ Room number
switch VAR_RESULT switch VAR_RESULT
case 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C968 case 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom1
case 3, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C978 case 3, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom3
case 5, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C988 case 5, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom5
case 7, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C998 case 7, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom7
case 9, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9A8 case 9, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom9
case 11, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9B8 case 11, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom11
case 13, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9C8 case 13, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom13
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C968:: @ 825C968 BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom1:: @ 825C968
lock lock
faceplayer faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom1, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom1, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8 goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C978:: @ 825C978 BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom3:: @ 825C978
lock lock
faceplayer faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom3, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom3, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8 goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C988:: @ 825C988 BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom5:: @ 825C988
lock lock
faceplayer faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom5, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom5, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8 goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C998:: @ 825C998 BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom7:: @ 825C998
lock lock
faceplayer faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom7, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom7, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8 goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9A8:: @ 825C9A8 BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom9:: @ 825C9A8
lock lock
faceplayer faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom9, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom9, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8 goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9B8:: @ 825C9B8 BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom11:: @ 825C9B8
lock lock
faceplayer faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom11, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom11, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8 goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9C8:: @ 825C9C8 BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom13:: @ 825C9C8
lock lock
faceplayer faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom13, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom13, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8 goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8:: @ 825C9D8 BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge:: @ 825C9D8
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_ContinueWithChallenge, MSGBOX_YESNO msgbox BattleFrontier_BattlePikeThreePathRoom_Text_ContinueWithChallenge, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case NO, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A case NO, BattleFrontier_BattlePikeThreePathRoom_EventScript_AskSaveChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A case MULTI_B_PRESSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_AskSaveChallenge
release release
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9FD:: @ 825C9FD BattleFrontier_BattlePikeThreePathRoom_EventScript_PauseChallenge:: @ 825C9FD
frontier_saveparty frontier_saveparty
message BattleFrontier_BattlePikeThreePathRoom_Text_SavingYourData message BattleFrontier_BattlePikeThreePathRoom_Text_SavingYourData
waitmessage waitmessage
@@ -129,16 +129,16 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9FD:: @ 825C9FD
frontier_reset frontier_reset
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A:: @ 825CA2A BattleFrontier_BattlePikeThreePathRoom_EventScript_AskSaveChallenge:: @ 825CA2A
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_SaveChallengeAndQuit, MSGBOX_YESNO msgbox BattleFrontier_BattlePikeThreePathRoom_Text_SaveChallengeAndQuit, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case YES, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9FD case YES, BattleFrontier_BattlePikeThreePathRoom_EventScript_PauseChallenge
case NO, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A case NO, BattleFrontier_BattlePikeThreePathRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A case MULTI_B_PRESSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_AskRetireChallenge
release release
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A:: @ 825CA5A BattleFrontier_BattlePikeThreePathRoom_EventScript_AskRetireChallenge:: @ 825CA5A
message BattleFrontier_BattlePikeThreePathRoom_Text_RetireFromChallenge message BattleFrontier_BattlePikeThreePathRoom_Text_RetireFromChallenge
waitmessage waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, 0 multichoicedefault 20, 8, MULTI_YESNO, 1, 0
@@ -147,24 +147,24 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A:: @ 825CA5A
release release
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA78:: @ 825CA78 BattleFrontier_BattlePikeThreePathRoom_EventScript_SetHintRoom:: @ 825CA78
pike_sethintroom pike_sethintroom
compare VAR_RESULT, TRUE compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA91 goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_SetPikeQueenHint
setvar VAR_TEMP_5, 255 setvar VAR_TEMP_5, 255
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA91:: @ 825CA91 BattleFrontier_BattlePikeThreePathRoom_EventScript_SetPikeQueenHint:: @ 825CA91
setvar VAR_TEMP_5, 1 setvar VAR_TEMP_5, 1
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA97:: @ 825CA97 BattleFrontier_BattlePikeThreePathRoom_EventScript_GivePikeQueenHint:: @ 825CA97
applymovement 2, BattleFrontier_BattlePikeThreePathRoom_Movement_25CBCE applymovement 2, BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverApproachPlayer
waitmovement 0 waitmovement 0
lockall lockall
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_TerrifyingEvent, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePikeThreePathRoom_Text_TerrifyingEvent, MSGBOX_DEFAULT
releaseall releaseall
applymovement 2, BattleFrontier_BattlePikeThreePathRoom_Movement_25CBD5 applymovement 2, BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverReturnToPos
waitmovement 0 waitmovement 0
setvar VAR_TEMP_5, 255 setvar VAR_TEMP_5, 255
end end
@@ -244,7 +244,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveBrainHint:: @ 825CBC2
release release
end end
BattleFrontier_BattlePikeThreePathRoom_Movement_25CBCE: @ 825CBCE BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverApproachPlayer: @ 825CBCE
walk_left walk_left
walk_left walk_left
walk_down walk_down
@@ -253,7 +253,7 @@ BattleFrontier_BattlePikeThreePathRoom_Movement_25CBCE: @ 825CBCE
walk_down walk_down
step_end step_end
BattleFrontier_BattlePikeThreePathRoom_Movement_25CBD5: @ 825CBD5 BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverReturnToPos: @ 825CBD5
walk_up walk_up
walk_up walk_up
walk_up walk_up
@@ -46,7 +46,7 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_20236F:: @ 820236F
battletent_getopponentintro battletent_getopponentintro
msgbox gStringVar4, MSGBOX_DEFAULT msgbox gStringVar4, MSGBOX_DEFAULT
waitmessage waitmessage
call VerdanturfTown_BattleTentBattleRoom_EventScript_24FDF7 call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
switch VAR_RESULT switch VAR_RESULT
case 1, VerdanturfTown_BattleTentBattleRoom_EventScript_2023C8 case 1, VerdanturfTown_BattleTentBattleRoom_EventScript_2023C8
@@ -68,7 +68,7 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_2023C8:: @ 82023C8
applymovement 3, Common_Movement_WalkInPlaceFastestDown applymovement 3, Common_Movement_WalkInPlaceFastestDown
applymovement 1, Common_Movement_WalkInPlaceFastestUp applymovement 1, Common_Movement_WalkInPlaceFastestUp
waitmovement 0 waitmovement 0
msgbox VerdanturfTown_BattleTentBattleRoom_Text_24FF00, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceBattleRoom_Text_LetMeRestoreYourMons, MSGBOX_DEFAULT
special LoadPlayerParty special LoadPlayerParty
special SavePlayerParty special SavePlayerParty
frontier_setpartyorder FRONTIER_PARTY_SIZE frontier_setpartyorder FRONTIER_PARTY_SIZE
@@ -89,14 +89,14 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_20243C:: @ 820243C
case 2, VerdanturfTown_BattleTentBattleRoom_EventScript_2024B8 case 2, VerdanturfTown_BattleTentBattleRoom_EventScript_2024B8
VerdanturfTown_BattleTentBattleRoom_EventScript_20248A:: @ 820248A VerdanturfTown_BattleTentBattleRoom_EventScript_20248A:: @ 820248A
msgbox VerdanturfTown_BattleTentBattleRoom_Text_250030, MSGBOX_YESNO msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
switch VAR_RESULT switch VAR_RESULT
case NO, VerdanturfTown_BattleTentBattleRoom_EventScript_20243C case NO, VerdanturfTown_BattleTentBattleRoom_EventScript_20243C
case YES, VerdanturfTown_BattleTentBattleRoom_EventScript_20251F case YES, VerdanturfTown_BattleTentBattleRoom_EventScript_20251F
case MULTI_B_PRESSED, VerdanturfTown_BattleTentBattleRoom_EventScript_20243C case MULTI_B_PRESSED, VerdanturfTown_BattleTentBattleRoom_EventScript_20243C
VerdanturfTown_BattleTentBattleRoom_EventScript_2024B8:: @ 82024B8 VerdanturfTown_BattleTentBattleRoom_EventScript_2024B8:: @ 82024B8
message VerdanturfTown_BattleTentBattleRoom_Text_25005A message BattleFrontier_BattlePalaceBattleRoom_Text_WishToQuitChallenge
waitmessage waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, 0 multichoicedefault 20, 8, MULTI_YESNO, 1, 0
switch VAR_RESULT switch VAR_RESULT
@@ -118,7 +118,7 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_202501:: @ 8202501
waitstate waitstate
VerdanturfTown_BattleTentBattleRoom_EventScript_20251F:: @ 820251F VerdanturfTown_BattleTentBattleRoom_EventScript_20251F:: @ 820251F
message VerdanturfTown_BattleTentBattleRoom_Text_25007E message BattleFrontier_BattlePalaceBattleRoom_Text_SavingData
waitmessage waitmessage
verdanturftent_save CHALLENGE_STATUS_PAUSED verdanturftent_save CHALLENGE_STATUS_PAUSED
playse SE_SAVE playse SE_SAVE
@@ -140,12 +140,12 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_20254B:: @ 820254B
end end
VerdanturfTown_BattleTentBattleRoom_EventScript_202565:: @ 8202565 VerdanturfTown_BattleTentBattleRoom_EventScript_202565:: @ 8202565
message VerdanturfTown_BattleTentBattleRoom_Text_24FF28 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor2ndOpponent
waitmessage waitmessage
return return
VerdanturfTown_BattleTentBattleRoom_EventScript_20256C:: @ 820256C VerdanturfTown_BattleTentBattleRoom_EventScript_20256C:: @ 820256C
message VerdanturfTown_BattleTentBattleRoom_Text_24FF54 message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor3rdOpponent
waitmessage waitmessage
return return
@@ -26,7 +26,7 @@ VerdanturfTown_BattleTentLobby_EventScript_201719:: @ 8201719
VerdanturfTown_BattleTentLobby_EventScript_201722:: @ 8201722 VerdanturfTown_BattleTentLobby_EventScript_201722:: @ 8201722
lockall lockall
msgbox VerdanturfTown_BattleTentLobby_Text_24E636, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge, MSGBOX_DEFAULT
closemessage closemessage
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0 frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
@@ -62,7 +62,7 @@ VerdanturfTown_BattleTentLobby_EventScript_201791:: @ 8201791
end end
VerdanturfTown_BattleTentLobby_EventScript_2017DD:: @ 82017DD VerdanturfTown_BattleTentLobby_EventScript_2017DD:: @ 82017DD
msgbox VerdanturfTown_BattleTentLobby_Text_24E57B, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_NoSpaceForPrize, MSGBOX_DEFAULT
waitmessage waitmessage
closemessage closemessage
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
@@ -91,8 +91,8 @@ VerdanturfTown_BattleTentLobby_EventScript_2017FD:: @ 82017FD
VerdanturfTown_BattleTentLobby_EventScript_201837:: @ 8201837 VerdanturfTown_BattleTentLobby_EventScript_201837:: @ 8201837
lockall lockall
msgbox VerdanturfTown_BattleTentLobby_Text_24E5D8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_WeHaveBeenWaiting, MSGBOX_DEFAULT
message VerdanturfTown_BattleTentLobby_Text_24E5F6 message BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge
waitmessage waitmessage
verdanturftent_save CHALLENGE_STATUS_SAVING verdanturftent_save CHALLENGE_STATUS_SAVING
playse SE_SAVE playse SE_SAVE
@@ -282,7 +282,7 @@ VerdanturfTown_BattleTentLobby_EventScript_201B02:: @ 8201B02
end end
VerdanturfTown_BattleTentLobby_EventScript_201B11:: @ 8201B11 VerdanturfTown_BattleTentLobby_EventScript_201B11:: @ 8201B11
message VerdanturfTown_BattleTentLobby_Text_24EF88 message BattleFrontier_BattlePalaceLobby_Text_ReadWhichHeading
waitmessage waitmessage
setvar VAR_0x8004, SCROLL_MULTI_BATTLE_TENT_RULES setvar VAR_0x8004, SCROLL_MULTI_BATTLE_TENT_RULES
special ShowScrollableMultichoice special ShowScrollableMultichoice
@@ -304,27 +304,27 @@ VerdanturfTown_BattleTentLobby_EventScript_201B7E:: @ 8201B7E
end end
VerdanturfTown_BattleTentLobby_EventScript_201B8C:: @ 8201B8C VerdanturfTown_BattleTentLobby_EventScript_201B8C:: @ 8201B8C
msgbox VerdanturfTown_BattleTentLobby_Text_24EFAB, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesBasics, MSGBOX_DEFAULT
goto VerdanturfTown_BattleTentLobby_EventScript_201B11 goto VerdanturfTown_BattleTentLobby_EventScript_201B11
end end
VerdanturfTown_BattleTentLobby_EventScript_201B9A:: @ 8201B9A VerdanturfTown_BattleTentLobby_EventScript_201B9A:: @ 8201B9A
msgbox VerdanturfTown_BattleTentLobby_Text_24F049, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesNature, MSGBOX_DEFAULT
goto VerdanturfTown_BattleTentLobby_EventScript_201B11 goto VerdanturfTown_BattleTentLobby_EventScript_201B11
end end
VerdanturfTown_BattleTentLobby_EventScript_201BA8:: @ 8201BA8 VerdanturfTown_BattleTentLobby_EventScript_201BA8:: @ 8201BA8
msgbox VerdanturfTown_BattleTentLobby_Text_24F190, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves, MSGBOX_DEFAULT
goto VerdanturfTown_BattleTentLobby_EventScript_201B11 goto VerdanturfTown_BattleTentLobby_EventScript_201B11
end end
VerdanturfTown_BattleTentLobby_EventScript_201BB6:: @ 8201BB6 VerdanturfTown_BattleTentLobby_EventScript_201BB6:: @ 8201BB6
msgbox VerdanturfTown_BattleTentLobby_Text_24F2E8, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered, MSGBOX_DEFAULT
goto VerdanturfTown_BattleTentLobby_EventScript_201B11 goto VerdanturfTown_BattleTentLobby_EventScript_201B11
end end
VerdanturfTown_BattleTentLobby_EventScript_201BC4:: @ 8201BC4 VerdanturfTown_BattleTentLobby_EventScript_201BC4:: @ 8201BC4
msgbox VerdanturfTown_BattleTentLobby_Text_24F3F4, MSGBOX_DEFAULT msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesWhenInDanger, MSGBOX_DEFAULT
goto VerdanturfTown_BattleTentLobby_EventScript_201B11 goto VerdanturfTown_BattleTentLobby_EventScript_201B11
end end
+33 -33
View File
@@ -6,71 +6,71 @@ BattleFrontier_BattlePikeRoom_OnTransition: @ 82C3E25
pike_setroomobjects pike_setroomobjects
pike_getroomtype pike_getroomtype
switch VAR_RESULT switch VAR_RESULT
case PIKE_ROOM_SINGLE_BATTLE, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EB1 case PIKE_ROOM_SINGLE_BATTLE, BattleFrontier_BattlePikeRoomNormal_EventScript_SetOneObjectRoomPos
case PIKE_ROOM_HEAL_FULL, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EB1 case PIKE_ROOM_HEAL_FULL, BattleFrontier_BattlePikeRoomNormal_EventScript_SetOneObjectRoomPos
case PIKE_ROOM_NPC, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EC0 case PIKE_ROOM_NPC, BattleFrontier_BattlePikeRoomNormal_EventScript_SetNPCRoomObjPos
case PIKE_ROOM_STATUS, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EA2 case PIKE_ROOM_STATUS, BattleFrontier_BattlePikeRoomNormal_EventScript_SetTwoObjectRoomPos
case PIKE_ROOM_HEAL_PART, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EB1 case PIKE_ROOM_HEAL_PART, BattleFrontier_BattlePikeRoomNormal_EventScript_SetOneObjectRoomPos
case PIKE_ROOM_DOUBLE_BATTLE, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3E93 case PIKE_ROOM_DOUBLE_BATTLE, BattleFrontier_BattlePikeRoomNormal_EventScript_SetDoubleBattleObjPos
case PIKE_ROOM_HARD_BATTLE, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EA2 case PIKE_ROOM_HARD_BATTLE, BattleFrontier_BattlePikeRoomNormal_EventScript_SetTwoObjectRoomPos
case PIKE_ROOM_BRAIN, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3ECF case PIKE_ROOM_BRAIN, BattleFrontier_BattlePikeRoomNormal_EventScript_SetBrainRoomObjPos
end end
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3E93:: @ 82C3E93 BattleFrontier_BattlePikeRoomNormal_EventScript_SetDoubleBattleObjPos:: @ 82C3E93
setobjectxyperm 1, 2, 5 setobjectxyperm 1, 2, 5
setobjectxyperm 2, 6, 5 setobjectxyperm 2, 6, 5
end end
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EA2:: @ 82C3EA2 BattleFrontier_BattlePikeRoomNormal_EventScript_SetTwoObjectRoomPos:: @ 82C3EA2
setobjectxyperm 1, 4, 4 setobjectxyperm 1, 4, 4
setobjectxyperm 2, 3, 4 setobjectxyperm 2, 3, 4
end end
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EB1:: @ 82C3EB1 BattleFrontier_BattlePikeRoomNormal_EventScript_SetOneObjectRoomPos:: @ 82C3EB1
setobjectxyperm 1, 4, 4 setobjectxyperm 1, 4, 4
setobjectxyperm 2, 0, 0 setobjectxyperm 2, 0, 0
end end
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EC0:: @ 82C3EC0 BattleFrontier_BattlePikeRoomNormal_EventScript_SetNPCRoomObjPos:: @ 82C3EC0
setobjectxyperm 1, 5, 5 setobjectxyperm 1, 5, 5
setobjectxyperm 2, 0, 0 setobjectxyperm 2, 0, 0
end end
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3ECF:: @ 82C3ECF BattleFrontier_BattlePikeRoomNormal_EventScript_SetBrainRoomObjPos:: @ 82C3ECF
setobjectxyperm 1, 4, 3 setobjectxyperm 1, 4, 3
setobjectxyperm 2, 4, 4 setobjectxyperm 2, 4, 4
end end
BattleFrontier_BattlePikeRoom_OnWarp: @ 82C3EDE BattleFrontier_BattlePikeRoom_OnWarp: @ 82C3EDE
map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeRoomNormal_EventScript_EnterRoom map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeRoomNormal_EventScript_InitRoomObjects
.2byte 0 .2byte 0
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterRoom:: @ 82C3EE8 BattleFrontier_BattlePikeRoomNormal_EventScript_InitRoomObjects:: @ 82C3EE8
setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_LINK_RECEPTIONIST setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_LINK_RECEPTIONIST
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_LINK_RECEPTIONIST setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_LINK_RECEPTIONIST
pike_getroomtype pike_getroomtype
compare VAR_RESULT, PIKE_ROOM_STATUS compare VAR_RESULT, PIKE_ROOM_STATUS
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_2C3F35 goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_InitTwoObjectRoom
compare VAR_RESULT, PIKE_ROOM_HARD_BATTLE compare VAR_RESULT, PIKE_ROOM_HARD_BATTLE
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_2C3F35 goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_InitTwoObjectRoom
compare VAR_RESULT, PIKE_ROOM_DOUBLE_BATTLE compare VAR_RESULT, PIKE_ROOM_DOUBLE_BATTLE
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_2C3F35 goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_InitTwoObjectRoom
compare VAR_RESULT, PIKE_ROOM_BRAIN compare VAR_RESULT, PIKE_ROOM_BRAIN
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_2C3F3F goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_InitBrainRoomObjects
hideobjectat 2, MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_NORMAL hideobjectat 2, MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_NORMAL
setvar VAR_TEMP_4, 1 setvar VAR_TEMP_4, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end end
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3F35:: @ 82C3F35 BattleFrontier_BattlePikeRoomNormal_EventScript_InitTwoObjectRoom:: @ 82C3F35
setvar VAR_TEMP_4, 1 setvar VAR_TEMP_4, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end end
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3F3F:: @ 82C3F3F BattleFrontier_BattlePikeRoomNormal_EventScript_InitBrainRoomObjects:: @ 82C3F3F
setvar VAR_TEMP_4, 1 setvar VAR_TEMP_4, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
hideobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_NORMAL hideobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_NORMAL @ Pike Queen hidden initially
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_LeftRoomWarp:: @ 82C3F4E BattleFrontier_BattlePikeThreePathRoom_EventScript_LeftRoomWarp:: @ 82C3F4E
@@ -125,12 +125,12 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpWildMonRoom:: @ 82C4049
waitstate waitstate
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_2C4062:: @ 82C4062 BattleFrontier_BattlePikeThreePathRoom_EventScript_SetEnteredRoom:: @ 82C4062
setvar VAR_TEMP_3, 1 setvar VAR_TEMP_3, 1
setvar VAR_TEMP_2, 1 setvar VAR_TEMP_2, 1
end end
BattleFrontier_BattlePikeThreePathRoom_EventScript_2C406D:: @ 82C406D BattleFrontier_BattlePikeThreePathRoom_EventScript_NoTurningBack:: @ 82C406D
setvar VAR_TEMP_3, 0 setvar VAR_TEMP_3, 0
setvar VAR_TEMP_2, 0 setvar VAR_TEMP_2, 0
lockall lockall
@@ -138,12 +138,12 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_2C406D:: @ 82C406D
closemessage closemessage
end end
BattleFrontier_BattlePikeRoomNormal_EventScript_2C4082:: @ 82C4082 BattleFrontier_BattlePikeRoomNormal_EventScript_SetEnteredRoom:: @ 82C4082
setvar VAR_TEMP_3, 1 setvar VAR_TEMP_3, 1
setvar VAR_TEMP_2, 1 setvar VAR_TEMP_2, 1
end end
BattleFrontier_BattlePikeRoomNormal_EventScript_2C408D:: @ 82C408D BattleFrontier_BattlePikeRoomNormal_EventScript_NoTurningBack:: @ 82C408D
setvar VAR_TEMP_3, 0 setvar VAR_TEMP_3, 0
setvar VAR_TEMP_2, 0 setvar VAR_TEMP_2, 0
lockall lockall
@@ -193,7 +193,7 @@ BattleFrontier_BattlePikeRoom_EventScript_WarpToThreePathRoom:: @ 82C415C
warpsilent MAP_BATTLE_FRONTIER_BATTLE_PIKE_THREE_PATH_ROOM, 255, 6, 10 warpsilent MAP_BATTLE_FRONTIER_BATTLE_PIKE_THREE_PATH_ROOM, 255, 6, 10
return return
BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4174:: @ 82C4174 BattleFrontier_BattlePikeRoomWildMons_EventScript_Exit:: @ 82C4174
pike_exitwildmonroom pike_exitwildmonroom
pike_ispartyfullhealth pike_ispartyfullhealth
compare VAR_RESULT, TRUE compare VAR_RESULT, TRUE
@@ -214,12 +214,12 @@ BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4174:: @ 82C4174
waitstate waitstate
end end
BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4202:: @ 82C4202 BattleFrontier_BattlePikeRoomWildMons_EventScript_SetEnteredRoom:: @ 82C4202
setvar VAR_TEMP_3, 1 setvar VAR_TEMP_3, 1
setvar VAR_TEMP_2, 1 setvar VAR_TEMP_2, 1
end end
BattleFrontier_BattlePikeRoomWildMons_EventScript_2C420D:: @ 82C420D BattleFrontier_BattlePikeRoomWildMons_EventScript_NoTurningBack:: @ 82C420D
setvar VAR_TEMP_3, 0 setvar VAR_TEMP_3, 0
setvar VAR_TEMP_2, 0 setvar VAR_TEMP_2, 0
lockall lockall
@@ -234,14 +234,14 @@ BattleFrontier_BattlePike_EventScript_Retire:: @ 82C4222
end end
BattleFrontier_BattlePikeRoom_OnResume: @ 82C423E BattleFrontier_BattlePikeRoom_OnResume: @ 82C423E
setorcopyvar VAR_0x8006, VAR_RESULT setorcopyvar VAR_0x8006, VAR_RESULT @ Save VAR_RESULT from being overwritten
frontier_get FRONTIER_DATA_CHALLENGE_STATUS frontier_get FRONTIER_DATA_CHALLENGE_STATUS
compare VAR_RESULT, CHALLENGE_STATUS_PAUSED compare VAR_RESULT, CHALLENGE_STATUS_PAUSED
goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_2C426B goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_EndOnResume
compare VAR_RESULT, CHALLENGE_STATUS_SAVING compare VAR_RESULT, CHALLENGE_STATUS_SAVING
goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_2C426B goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_EndOnResume
call BattleFrontier_BattlePikeRoom_EventScript_ResetSketchedMoves call BattleFrontier_BattlePikeRoom_EventScript_ResetSketchedMoves
BattleFrontier_BattlePikeThreePathRoom_EventScript_2C426B:: @ 82C426B BattleFrontier_BattlePikeThreePathRoom_EventScript_EndOnResume:: @ 82C426B
setorcopyvar VAR_RESULT, VAR_0x8006 setorcopyvar VAR_RESULT, VAR_0x8006
end end
+3 -3
View File
@@ -23,8 +23,8 @@
#define PIKE_HINT_BRAIN 4 #define PIKE_HINT_BRAIN 4
// For the room with a status effect. // For the room with a status effect.
#define PIKE_STATUS_KIRLIA 0 #define PIKE_STATUSMON_KIRLIA 0
#define PIKE_STATUS_DUSCLOPS 1 #define PIKE_STATUSMON_DUSCLOPS 1
#define PIKE_STATUS_FREEZE 0 #define PIKE_STATUS_FREEZE 0
#define PIKE_STATUS_BURN 1 #define PIKE_STATUS_BURN 1
@@ -48,7 +48,7 @@
#define BATTLE_PIKE_FUNC_GET_ROOM_STATUS_MON 12 #define BATTLE_PIKE_FUNC_GET_ROOM_STATUS_MON 12
#define BATTLE_PIKE_FUNC_HEAL_ONE_TWO_MONS 13 #define BATTLE_PIKE_FUNC_HEAL_ONE_TWO_MONS 13
#define BATTLE_PIKE_FUNC_BUFFER_NPC_MSG 14 #define BATTLE_PIKE_FUNC_BUFFER_NPC_MSG 14
#define BATTLE_PIKE_FUNC_STATUS_SCREEN_FADE 15 #define BATTLE_PIKE_FUNC_STATUS_SCREEN_FLASH 15
#define BATTLE_PIKE_FUNC_IS_IN 16 #define BATTLE_PIKE_FUNC_IS_IN 16
#define BATTLE_PIKE_FUNC_SET_HINT_ROOM 17 #define BATTLE_PIKE_FUNC_SET_HINT_ROOM 17
#define BATTLE_PIKE_FUNC_GET_HINT_ROOM_ID 18 #define BATTLE_PIKE_FUNC_GET_HINT_ROOM_ID 18
+83 -91
View File
@@ -373,7 +373,7 @@ extern const u8 gBerryFirmnessString_Hard[];
extern const u8 gBerryFirmnessString_VeryHard[]; extern const u8 gBerryFirmnessString_VeryHard[];
extern const u8 gBerryFirmnessString_SuperHard[]; extern const u8 gBerryFirmnessString_SuperHard[];
extern const u8 gText_BerryTag[]; extern const u8 gText_BerryTag[];
extern const u8 gText_UnkF908Var1Var2[]; extern const u8 gText_NumberVar1Var2[];
extern const u8 gText_SizeSlash[]; extern const u8 gText_SizeSlash[];
extern const u8 gText_Var1DotVar2[]; extern const u8 gText_Var1DotVar2[];
extern const u8 gText_ThreeMarks[]; extern const u8 gText_ThreeMarks[];
@@ -382,7 +382,7 @@ extern const u8 gText_FirmSlash[];
// item menu screen text // item menu screen text
extern const u8 gText_CloseBag[]; extern const u8 gText_CloseBag[];
extern const u8 gText_ClearTo11Var1Clear5Var2[]; extern const u8 gText_ClearTo11Var1Clear5Var2[];
extern const u8 gText_UnkF908Var1Clear7Var2[]; extern const u8 gText_NumberVar1Clear7Var2[];
extern const u8 gText_xVar1[]; extern const u8 gText_xVar1[];
extern const u8 gText_ReturnToVar1[]; extern const u8 gText_ReturnToVar1[];
extern const u8 gText_SelectorArrow2[]; extern const u8 gText_SelectorArrow2[];
@@ -471,20 +471,20 @@ extern const u8 gText_EggCantBattle[];
extern const u8 gText_PkmnAlreadySelected[]; extern const u8 gText_PkmnAlreadySelected[];
extern const u8 gText_PkmnAlreadyInBattle[]; extern const u8 gText_PkmnAlreadyInBattle[];
extern const u8 gText_PkmnCantSwitchOut[]; extern const u8 gText_PkmnCantSwitchOut[];
extern const u8 gUnknown_085EEA46[]; extern const u8 gText_MaxHP[];
extern const u8 gUnknown_085EEA4E[]; extern const u8 gText_Attack[];
extern const u8 gUnknown_085EEA55[]; extern const u8 gText_Defense[];
extern const u8 gUnknown_085EEA63[]; extern const u8 gText_SpAtk[];
extern const u8 gUnknown_085EEA6B[]; extern const u8 gText_SpDef[];
extern const u8 gUnknown_085EEA5D[]; extern const u8 gText_Speed[];
extern const u8 gText_Dash[]; extern const u8 gText_Dash[];
extern const u8 gText_UnkCtrlF904[]; extern const u8 gText_Plus[];
//pokedex text //pokedex text
extern const u8 gText_CryOf[]; extern const u8 gText_CryOf[];
extern const u8 gText_SizeComparedTo[]; extern const u8 gText_SizeComparedTo[];
extern const u8 gText_PokedexRegistration[]; extern const u8 gText_PokedexRegistration[];
extern const u8 gText_UnkCtrlF908Clear01[]; extern const u8 gText_NumberClear01[];
extern const u8 gText_5MarksPokemon[]; extern const u8 gText_5MarksPokemon[];
extern const u8 gText_UnkHeight[]; extern const u8 gText_UnkHeight[];
extern const u8 gText_UnkWeight[]; extern const u8 gText_UnkWeight[];
@@ -492,7 +492,7 @@ extern const u8 gText_HTHeight[];
extern const u8 gText_WTWeight[]; extern const u8 gText_WTWeight[];
extern const u8 gText_SearchingPleaseWait[]; extern const u8 gText_SearchingPleaseWait[];
extern const u8 gText_SearchCompleted[]; extern const u8 gText_SearchCompleted[];
extern const u8 gUnknown_085E8785[]; extern const u8 gText_NoMatchingPkmnWereFound[];
extern const u8 gText_SelectorArrow[]; extern const u8 gText_SelectorArrow[];
// birch dex rating text // birch dex rating text
@@ -920,7 +920,7 @@ extern const u8 gText_Accuracy2[];
extern const u8 gText_Appeal[]; extern const u8 gText_Appeal[];
extern const u8 gText_Jam[]; extern const u8 gText_Jam[];
extern const u8 gText_OTSlash[]; extern const u8 gText_OTSlash[];
extern const u8 gText_UnkCtrlF907F908[]; extern const u8 gText_IDNumber2[];
extern const u8 gText_XNature[]; extern const u8 gText_XNature[];
extern const u8 gText_XNatureHatchedAtYZ[]; extern const u8 gText_XNatureHatchedAtYZ[];
extern const u8 gText_XNatureHatchedSomewhereAt[]; extern const u8 gText_XNatureHatchedSomewhereAt[];
@@ -1078,15 +1078,15 @@ extern const u8 gTrickHouse_Mechadoll_Seven2[];
extern const u8 gTrickHouse_Mechadoll_Eight2[]; extern const u8 gTrickHouse_Mechadoll_Eight2[];
// Pokedex strings // Pokedex strings
extern const u8 gUnknown_085E87A5[]; extern const u8 gText_SearchForPkmnBasedOnParameters[];
extern const u8 gUnknown_085E87D6[]; extern const u8 gText_SwitchPokedexListings[];
extern const u8 gUnknown_085E87EF[]; extern const u8 gText_ReturnToPokedex[];
extern const u8 gUnknown_085E8806[]; extern const u8 gText_SelectPokedexMode[];
extern const u8 gUnknown_085E881F[]; extern const u8 gText_SelectPokedexListingMode[];
extern const u8 gUnknown_085E8840[]; extern const u8 gText_ListByFirstLetter[];
extern const u8 gUnknown_085E887C[]; extern const u8 gText_ListByBodyColor[];
extern const u8 gUnknown_085E88A6[]; extern const u8 gText_ListByType[];
extern const u8 gUnknown_085E88C8[]; extern const u8 gText_ExecuteSearchSwitch[];
extern const u8 gText_DexHoennTitle[]; extern const u8 gText_DexHoennTitle[];
extern const u8 gText_DexNatTitle[]; extern const u8 gText_DexNatTitle[];
extern const u8 gText_DexSortNumericalTitle[]; extern const u8 gText_DexSortNumericalTitle[];
@@ -2030,14 +2030,14 @@ extern const u8 gText_LeagueChamp[];
extern const u8 gText_HOFNumber[]; extern const u8 gText_HOFNumber[];
extern const u8 gText_PickNextCancel[]; extern const u8 gText_PickNextCancel[];
extern const u8 gText_PickCancel[]; extern const u8 gText_PickCancel[];
extern const u8 gText_UnkCtrlF800Exit[]; extern const u8 gText_AButtonExit[];
extern const u8 gText_HOFCorrupted[]; extern const u8 gText_HOFCorrupted[];
extern const u8 gText_WelcomeToHOF[]; extern const u8 gText_WelcomeToHOF[];
extern const u8 gText_Number[]; extern const u8 gText_Number[];
extern const u8 gText_Level[]; extern const u8 gText_Level[];
extern const u8 gText_IDNumber[]; extern const u8 gText_IDNumber[];
extern const u8 gText_Name[]; extern const u8 gText_Name[];
extern const u8 gText_MainMenuTime[]; extern const u8 gText_Time[];
// daycare // daycare
extern const u8 gText_MaleSymbol4[]; extern const u8 gText_MaleSymbol4[];
@@ -2123,9 +2123,6 @@ extern const u8 gText_XSentOverY[];
extern const u8 gText_TakeGoodCareOfX[]; extern const u8 gText_TakeGoodCareOfX[];
extern const u8 gText_CommunicationStandby5[]; extern const u8 gText_CommunicationStandby5[];
// roulette
extern const u8 gUnknown_082A5B89[];
// match call // match call
extern const u8 MatchCall_WildBattleText1[]; extern const u8 MatchCall_WildBattleText1[];
extern const u8 MatchCall_WildBattleText2[]; extern const u8 MatchCall_WildBattleText2[];
@@ -2371,35 +2368,35 @@ extern const u8 gText_BattlePtsWon[];
extern const u8 gText_SymbolsEarned[]; extern const u8 gText_SymbolsEarned[];
extern const u8 gText_BattleRecord[]; extern const u8 gText_BattleRecord[];
extern const u8 gText_BattlePoints[]; extern const u8 gText_BattlePoints[];
extern const u8 gUnknown_085EDA96[]; extern const u8 gText_ThereIsNoBattleRecord[];
extern const u8 gUnknown_085ED932[]; extern const u8 gText_CheckFrontierMap[];
extern const u8 gUnknown_085ED94D[]; extern const u8 gText_CheckTrainerCard[];
extern const u8 gUnknown_085ED961[]; extern const u8 gText_ViewRecordedBattle[];
extern const u8 gUnknown_085ED977[]; extern const u8 gText_PutAwayFrontierPass[];
extern const u8 gUnknown_085ED993[]; extern const u8 gText_CurrentBattlePoints[];
extern const u8 gUnknown_085ED9AF[]; extern const u8 gText_CollectedSymbols[];
extern const u8 gUnknown_085ED9C7[]; extern const u8 gText_BattleTowerAbilitySymbol[];
extern const u8 gUnknown_085ED9E5[]; extern const u8 gText_BattleDomeTacticsSymbol[];
extern const u8 gUnknown_085EDA02[]; extern const u8 gText_BattlePalaceSpiritsSymbol[];
extern const u8 gUnknown_085EDA21[]; extern const u8 gText_BattleArenaGutsSymbol[];
extern const u8 gUnknown_085EDA3C[]; extern const u8 gText_BattleFactoryKnowledgeSymbol[];
extern const u8 gUnknown_085EDA5E[]; extern const u8 gText_BattlePikeLuckSymbol[];
extern const u8 gUnknown_085EDA78[]; extern const u8 gText_BattlePyramidBraveSymbol[];
extern const u8 gUnknown_085ED931[]; extern const u8 gText_EmptyString7[];
extern const u8 gUnknown_085EDAB1[]; extern const u8 gText_BattleTower3[];
extern const u8 gUnknown_085EDB0F[]; extern const u8 gText_BattleDome2[];
extern const u8 gUnknown_085EDABE[]; extern const u8 gText_BattlePalace2[];
extern const u8 gUnknown_085EDB4E[]; extern const u8 gText_BattleArena2[];
extern const u8 gUnknown_085EDACA[]; extern const u8 gText_BattleFactory2[];
extern const u8 gUnknown_085EDB8B[]; extern const u8 gText_BattlePike2[];
extern const u8 gUnknown_085EDAD8[]; extern const u8 gText_BattlePyramid2[];
extern const u8 gUnknown_085EDBC2[]; extern const u8 gText_BattleTowerDesc[];
extern const u8 gUnknown_085EDAE5[]; extern const u8 gText_BattleDomeDesc[];
extern const u8 gUnknown_085EDC00[]; extern const u8 gText_BattlePalaceDesc[];
extern const u8 gUnknown_085EDAF4[]; extern const u8 gText_BattleArenaDesc[];
extern const u8 gUnknown_085EDC45[]; extern const u8 gText_BattleFactoryDesc[];
extern const u8 gUnknown_085EDB00[]; extern const u8 gText_BattlePikeDesc[];
extern const u8 gUnknown_085EDC84[]; extern const u8 gText_BattlePyramidDesc[];
// Apprentice // Apprentice
extern const u8 gText_Give[]; extern const u8 gText_Give[];
@@ -2550,24 +2547,19 @@ extern const u8 gText_UnionRoomChatKeyboard_Emoji9[];
extern const u8 gText_UnionRoomChatKeyboard_Emoji10[]; extern const u8 gText_UnionRoomChatKeyboard_Emoji10[];
// E-Reader // E-Reader
extern const u8 gUnknown_085EDFD6[]; extern const u8 gJPText_ReceiveMysteryGiftWithEReader[];
extern const u8 gUnknown_085EDFF5[]; extern const u8 gJPText_SelectConnectFromEReaderMenu[];
extern const u8 gUnknown_085EE014[]; extern const u8 gJPText_SelectConnectWithGBA[];
extern const u8 gUnknown_085EE035[]; extern const u8 gJPText_LinkIsIncorrect[];
extern const u8 gUnknown_085EE05C[]; extern const u8 gJPText_CardReadingHasBeenHalted[];
extern const u8 gUnknown_085EE06B[]; extern const u8 gJPText_Connecting[];
extern const u8 gUnknown_085EE080[]; extern const u8 gJPText_ConnectionErrorCheckLink[];
extern const u8 gUnknown_085EE097[]; extern const u8 gJPText_ConnectionErrorTryAgain[];
extern const u8 gUnknown_085EE0A3[]; extern const u8 gJPText_AllowEReaderToLoadCard[];
extern const u8 gUnknown_085EE0BF[]; extern const u8 gJPText_ConnectionComplete[];
extern const u8 gUnknown_085EE0DC[]; extern const u8 gJPText_NewTrainerHasComeToHoenn[];
extern const u8 gUnknown_085EE0FA[]; extern const u8 gJPText_PleaseWaitAMoment[];
extern const u8 gUnknown_085EE107[]; extern const u8 gJPText_WriteErrorUnableToSaveData[];
extern const u8 gUnknown_085EE120[];
extern const u8 gUnknown_085EE12D[];
extern const u8 gUnknown_085EE14B[];
extern const u8 gUnknown_085EE14F[];
extern const u8 gUnknown_085EE154[];
// Berry Powder Menu // Berry Powder Menu
extern const u8 gText_Powder[]; extern const u8 gText_Powder[];
@@ -2582,7 +2574,7 @@ extern const u8 gText_Battle[];
extern const u8 gText_Lets[]; extern const u8 gText_Lets[];
extern const u8 gText_Ok[]; extern const u8 gText_Ok[];
extern const u8 gText_Sorry[]; extern const u8 gText_Sorry[];
extern const u8 gText_YayUnkF9F9[]; extern const u8 gText_YaySmileEmoji[];
extern const u8 gText_ThankYou[]; extern const u8 gText_ThankYou[];
extern const u8 gText_ByeBye[]; extern const u8 gText_ByeBye[];
@@ -2745,26 +2737,26 @@ extern const u8 gText_Unknown[];
extern const u8 gText_TrainerCloseBy[]; extern const u8 gText_TrainerCloseBy[];
// pokenav_unk_2 // pokenav_unk_2
extern const u8 gUnknown_085EBCC5[]; extern const u8 gText_CheckMapOfHoenn[];
extern const u8 gUnknown_085EBCE8[]; extern const u8 gText_CheckPokemonInDetail[];
extern const u8 gUnknown_085EBD01[]; extern const u8 gText_CallRegisteredTrainer[];
extern const u8 gUnknown_085EBD1C[]; extern const u8 gText_CheckObtainedRibbons[];
extern const u8 gUnknown_085EBD34[]; extern const u8 gText_PutAwayPokenav[];
extern const u8 gUnknown_085EBD83[]; extern const u8 gText_CheckPartyPokemonInDetail[];
extern const u8 gUnknown_085EBDA2[]; extern const u8 gText_CheckAllPokemonInDetail[];
extern const u8 gUnknown_085EBDBF[]; extern const u8 gText_ReturnToPokenavMenu[];
extern const u8 gUnknown_085EBDDB[]; extern const u8 gText_FindCoolPokemon[];
extern const u8 gUnknown_085EBDEE[]; extern const u8 gText_FindBeautifulPokemon[];
extern const u8 gUnknown_085EBE06[]; extern const u8 gText_FindCutePokemon[];
extern const u8 gUnknown_085EBE19[]; extern const u8 gText_FindSmartPokemon[];
extern const u8 gUnknown_085EBE2D[]; extern const u8 gText_FindToughPokemon[];
extern const u8 gUnknown_085EBE41[]; extern const u8 gText_ReturnToConditionMenu[];
extern const u8 gText_NoRibbonWinners[]; extern const u8 gText_NoRibbonWinners[];
// pokenav_unk_4 // pokenav_unk_4
extern const u8 gUnknown_085EC017[]; extern const u8 gText_Call[];
extern const u8 gUnknown_085EC01C[]; extern const u8 gText_Check[];
extern const u8 gUnknown_085EC022[]; extern const u8 gText_Cancel6[];
// pokenav_unk_8 // pokenav_unk_8
extern const u8 gText_NumberF700[]; extern const u8 gText_NumberF700[];
+20 -20
View File
@@ -375,8 +375,8 @@ static const struct WindowTemplate sSelect_WindowTemplates[] =
static const u16 gUnknown_0861046C[] = INCBIN_U16("graphics/unknown/unknown_61046C.gbapal"); static const u16 gUnknown_0861046C[] = INCBIN_U16("graphics/unknown/unknown_61046C.gbapal");
static const u8 gUnknown_08610476[] = {0x00, 0x02, 0x00}; static const u8 sMenuOptionTextColors[] = {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_DARK_GREY, TEXT_COLOR_TRANSPARENT};
static const u8 gUnknown_08610479[] = {0x00, 0x04, 0x00}; static const u8 sSpeciesNameTextColors[] = {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_RED, TEXT_COLOR_TRANSPARENT};
static const struct OamData gUnknown_0861047C = static const struct OamData gUnknown_0861047C =
{ {
@@ -985,8 +985,8 @@ static const struct WindowTemplate sSwap_WindowTemplates[] =
}; };
static const u16 gUnknown_08610918[] = {RGB_BLACK, RGB_BLACK, RGB_WHITE, RGB_BLACK, RGB_RED}; // Palette. static const u16 gUnknown_08610918[] = {RGB_BLACK, RGB_BLACK, RGB_WHITE, RGB_BLACK, RGB_RED}; // Palette.
static const u8 gUnknown_08610922[] = {0x0, 0x02, 0x0}; static const u8 sSwapMenuOptionsTextColors[] = {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_DARK_GREY, TEXT_COLOR_TRANSPARENT};
static const u8 gUnknown_08610925[] = {0x0, 0x04, 0x0}; static const u8 sSwapSpeciesNameTextColors[] = {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_RED, TEXT_COLOR_TRANSPARENT};
static const struct SwapActionIdAndFunc sSwap_PlayerScreenActions[] = static const struct SwapActionIdAndFunc sSwap_PlayerScreenActions[] =
{ {
@@ -1808,7 +1808,7 @@ static void Select_PrintMonSpecies(void)
species = GetMonData(&sFactorySelectScreen->mons[monId].monData, MON_DATA_SPECIES, NULL); species = GetMonData(&sFactorySelectScreen->mons[monId].monData, MON_DATA_SPECIES, NULL);
StringCopy(gStringVar4, gSpeciesNames[species]); StringCopy(gStringVar4, gSpeciesNames[species]);
x = GetStringRightAlignXOffset(1, gStringVar4, 86); x = GetStringRightAlignXOffset(1, gStringVar4, 86);
AddTextPrinterParameterized3(1, 1, x, 1, gUnknown_08610479, 0, gStringVar4); AddTextPrinterParameterized3(1, 1, x, 1, sSpeciesNameTextColors, 0, gStringVar4);
CopyWindowToVram(1, 2); CopyWindowToVram(1, 2);
} }
@@ -1843,13 +1843,13 @@ static void Select_PrintMenuOptions(void)
PutWindowTilemap(3); PutWindowTilemap(3);
FillWindowPixelBuffer(3, PIXEL_FILL(0)); FillWindowPixelBuffer(3, PIXEL_FILL(0));
AddTextPrinterParameterized3(3, 1, 7, 1, gUnknown_08610476, 0, gText_Summary); AddTextPrinterParameterized3(3, 1, 7, 1, sMenuOptionTextColors, 0, gText_Summary);
if (selectedId != 0) if (selectedId != 0)
AddTextPrinterParameterized3(3, 1, 7, 17, gUnknown_08610476, 0, gText_Deselect); AddTextPrinterParameterized3(3, 1, 7, 17, sMenuOptionTextColors, 0, gText_Deselect);
else else
AddTextPrinterParameterized3(3, 1, 7, 17, gUnknown_08610476, 0, gText_Rent); AddTextPrinterParameterized3(3, 1, 7, 17, sMenuOptionTextColors, 0, gText_Rent);
AddTextPrinterParameterized3(3, 1, 7, 33, gUnknown_08610476, 0, gText_Others2); AddTextPrinterParameterized3(3, 1, 7, 33, sMenuOptionTextColors, 0, gText_Others2);
CopyWindowToVram(3, 3); CopyWindowToVram(3, 3);
} }
@@ -1857,8 +1857,8 @@ static void Select_PrintYesNoOptions(void)
{ {
PutWindowTilemap(4); PutWindowTilemap(4);
FillWindowPixelBuffer(4, PIXEL_FILL(0)); FillWindowPixelBuffer(4, PIXEL_FILL(0));
AddTextPrinterParameterized3(4, 1, 7, 1, gUnknown_08610476, 0, gText_Yes2); AddTextPrinterParameterized3(4, 1, 7, 1, sMenuOptionTextColors, 0, gText_Yes2);
AddTextPrinterParameterized3(4, 1, 7, 17, gUnknown_08610476, 0, gText_No2); AddTextPrinterParameterized3(4, 1, 7, 17, sMenuOptionTextColors, 0, gText_No2);
CopyWindowToVram(4, 3); CopyWindowToVram(4, 3);
} }
@@ -3599,7 +3599,7 @@ static void Swap_PrintMonSpecies(void)
species = GetMonData(&gEnemyParty[monId], MON_DATA_SPECIES, NULL); species = GetMonData(&gEnemyParty[monId], MON_DATA_SPECIES, NULL);
StringCopy(gStringVar4, gSpeciesNames[species]); StringCopy(gStringVar4, gSpeciesNames[species]);
x = GetStringRightAlignXOffset(1, gStringVar4, 86); x = GetStringRightAlignXOffset(1, gStringVar4, 86);
AddTextPrinterParameterized3(1, 1, x, 1, gUnknown_08610925, 0, gStringVar4); AddTextPrinterParameterized3(1, 1, x, 1, sSwapSpeciesNameTextColors, 0, gStringVar4);
CopyWindowToVram(1, 3); CopyWindowToVram(1, 3);
} }
} }
@@ -3615,9 +3615,9 @@ static void Swap_PrintMenuOptions(void)
{ {
PutWindowTilemap(3); PutWindowTilemap(3);
FillWindowPixelBuffer(3, PIXEL_FILL(0)); FillWindowPixelBuffer(3, PIXEL_FILL(0));
AddTextPrinterParameterized3(3, 1, 15, 1, gUnknown_08610922, 0, gText_Summary2); AddTextPrinterParameterized3(3, 1, 15, 1, sSwapMenuOptionsTextColors, 0, gText_Summary2);
AddTextPrinterParameterized3(3, 1, 15, 17, gUnknown_08610922, 0, gText_Swap); AddTextPrinterParameterized3(3, 1, 15, 17, sSwapMenuOptionsTextColors, 0, gText_Swap);
AddTextPrinterParameterized3(3, 1, 15, 33, gUnknown_08610922, 0, gText_Rechoose); AddTextPrinterParameterized3(3, 1, 15, 33, sSwapMenuOptionsTextColors, 0, gText_Rechoose);
CopyWindowToVram(3, 3); CopyWindowToVram(3, 3);
} }
@@ -3625,15 +3625,15 @@ static void Swap_PrintYesNoOptions(void)
{ {
PutWindowTilemap(4); PutWindowTilemap(4);
FillWindowPixelBuffer(4, PIXEL_FILL(0)); FillWindowPixelBuffer(4, PIXEL_FILL(0));
AddTextPrinterParameterized3(4, 1, 7, 1, gUnknown_08610922, 0, gText_Yes3); AddTextPrinterParameterized3(4, 1, 7, 1, sSwapMenuOptionsTextColors, 0, gText_Yes3);
AddTextPrinterParameterized3(4, 1, 7, 17, gUnknown_08610922, 0, gText_No3); AddTextPrinterParameterized3(4, 1, 7, 17, sSwapMenuOptionsTextColors, 0, gText_No3);
CopyWindowToVram(4, 3); CopyWindowToVram(4, 3);
} }
static void Swap_PrintActionString(const u8 *str, u32 y, u32 windowId) static void Swap_PrintActionString(const u8 *str, u32 y, u32 windowId)
{ {
s32 x = GetStringRightAlignXOffset(0, str, 0x46); s32 x = GetStringRightAlignXOffset(0, str, 0x46);
AddTextPrinterParameterized3(windowId, 0, x, y, gUnknown_08610922, 0, str); AddTextPrinterParameterized3(windowId, 0, x, y, sSwapMenuOptionsTextColors, 0, str);
} }
static void Swap_PrintActionStrings(void) static void Swap_PrintActionStrings(void)
@@ -3707,7 +3707,7 @@ static void Swap_PrintMonSpecies2(void)
species = GetMonData(&gEnemyParty[monId], MON_DATA_SPECIES, NULL); species = GetMonData(&gEnemyParty[monId], MON_DATA_SPECIES, NULL);
StringCopy(gStringVar4, gSpeciesNames[species]); StringCopy(gStringVar4, gSpeciesNames[species]);
x = GetStringRightAlignXOffset(1, gStringVar4, 86); x = GetStringRightAlignXOffset(1, gStringVar4, 86);
AddTextPrinterParameterized3(7, 1, x, 1, gUnknown_08610925, 0, gStringVar4); AddTextPrinterParameterized3(7, 1, x, 1, sSwapSpeciesNameTextColors, 0, gStringVar4);
CopyWindowToVram(7, 3); CopyWindowToVram(7, 3);
} }
} }
@@ -3733,7 +3733,7 @@ static void Swap_PrintMonSpecies3(void)
species = GetMonData(&gEnemyParty[monId], MON_DATA_SPECIES, NULL); species = GetMonData(&gEnemyParty[monId], MON_DATA_SPECIES, NULL);
StringCopy(gStringVar4, gSpeciesNames[species]); StringCopy(gStringVar4, gSpeciesNames[species]);
x = GetStringRightAlignXOffset(1, gStringVar4, 86); x = GetStringRightAlignXOffset(1, gStringVar4, 86);
AddTextPrinterParameterized3(1, 1, x, 1, gUnknown_08610925, 0, gStringVar4); AddTextPrinterParameterized3(1, 1, x, 1, sSwapSpeciesNameTextColors, 0, gStringVar4);
CopyWindowToVram(1, 3); CopyWindowToVram(1, 3);
} }
} }
+21 -21
View File
@@ -64,7 +64,7 @@ static void GetRoomInflictedStatus(void);
static void GetRoomInflictedStatusMon(void); static void GetRoomInflictedStatusMon(void);
static void HealOneOrTwoMons(void); static void HealOneOrTwoMons(void);
static void BufferNPCMessage(void); static void BufferNPCMessage(void);
static void StatusInflictionScreenFade(void); static void StatusInflictionScreenFlash(void);
static void GetInBattlePike(void); static void GetInBattlePike(void);
static void SetHintedRoom(void); static void SetHintedRoom(void);
static void GetHintedRoomIndex(void); static void GetHintedRoomIndex(void);
@@ -83,7 +83,7 @@ static void PrepareOneTrainer(bool8 difficult);
static u16 GetNPCRoomGraphicsId(void); static u16 GetNPCRoomGraphicsId(void);
static void PrepareTwoTrainers(void); static void PrepareTwoTrainers(void);
static void TryHealMons(u8 healCount); static void TryHealMons(u8 healCount);
static void Task_DoStatusInflictionScreenFade(u8 taskId); static void Task_DoStatusInflictionScreenFlash(u8 taskId);
static bool8 AtLeastTwoAliveMons(void); static bool8 AtLeastTwoAliveMons(void);
static u8 SpeciesToPikeMonId(u16 species); static u8 SpeciesToPikeMonId(u16 species);
static bool8 CanEncounterWildMon(u8 monLevel); static bool8 CanEncounterWildMon(u8 monLevel);
@@ -495,7 +495,7 @@ static void (* const sBattlePikeFunctions[])(void) =
[BATTLE_PIKE_FUNC_GET_ROOM_STATUS_MON] = GetRoomInflictedStatusMon, [BATTLE_PIKE_FUNC_GET_ROOM_STATUS_MON] = GetRoomInflictedStatusMon,
[BATTLE_PIKE_FUNC_HEAL_ONE_TWO_MONS] = HealOneOrTwoMons, [BATTLE_PIKE_FUNC_HEAL_ONE_TWO_MONS] = HealOneOrTwoMons,
[BATTLE_PIKE_FUNC_BUFFER_NPC_MSG] = BufferNPCMessage, [BATTLE_PIKE_FUNC_BUFFER_NPC_MSG] = BufferNPCMessage,
[BATTLE_PIKE_FUNC_STATUS_SCREEN_FADE] = StatusInflictionScreenFade, [BATTLE_PIKE_FUNC_STATUS_SCREEN_FLASH] = StatusInflictionScreenFlash,
[BATTLE_PIKE_FUNC_IS_IN] = GetInBattlePike, [BATTLE_PIKE_FUNC_IS_IN] = GetInBattlePike,
[BATTLE_PIKE_FUNC_SET_HINT_ROOM] = SetHintedRoom, [BATTLE_PIKE_FUNC_SET_HINT_ROOM] = SetHintedRoom,
[BATTLE_PIKE_FUNC_GET_HINT_ROOM_ID] = GetHintedRoomIndex, [BATTLE_PIKE_FUNC_GET_HINT_ROOM_ID] = GetHintedRoomIndex,
@@ -533,7 +533,7 @@ static const u8 sNumMonsToHealBeforePikeQueen[][3] =
{0, 1, 2}, {0, 1, 2},
}; };
static bool8 (* const sStatusInflictionScreenFadeFuncs[])(struct Task *) = static bool8 (* const sStatusInflictionScreenFlashFuncs[])(struct Task *) =
{ {
StatusInflictionFadeOut, StatusInflictionFadeIn StatusInflictionFadeOut, StatusInflictionFadeIn
}; };
@@ -579,7 +579,7 @@ static void SetupRoomObjectEvents(void)
break; break;
case PIKE_ROOM_STATUS: case PIKE_ROOM_STATUS:
objGfx1 = OBJ_EVENT_GFX_GENTLEMAN; objGfx1 = OBJ_EVENT_GFX_GENTLEMAN;
if (sStatusMon == PIKE_STATUS_DUSCLOPS) if (sStatusMon == PIKE_STATUSMON_DUSCLOPS)
objGfx2 = OBJ_EVENT_GFX_DUSCLOPS; objGfx2 = OBJ_EVENT_GFX_DUSCLOPS;
else else
objGfx2 = OBJ_EVENT_GFX_KIRLIA; objGfx2 = OBJ_EVENT_GFX_KIRLIA;
@@ -774,9 +774,9 @@ static void BufferNPCMessage(void)
FrontierSpeechToString(sNPCSpeeches[speechId]); FrontierSpeechToString(sNPCSpeeches[speechId]);
} }
static void StatusInflictionScreenFade(void) static void StatusInflictionScreenFlash(void)
{ {
CreateTask(Task_DoStatusInflictionScreenFade, 2); CreateTask(Task_DoStatusInflictionScreenFlash, 2);
} }
static void HealMon(struct Pokemon *mon) static void HealMon(struct Pokemon *mon)
@@ -946,19 +946,19 @@ static bool8 TryInflictRandomStatus(void)
switch (sStatusFlags) switch (sStatusFlags)
{ {
case STATUS1_FREEZE: case STATUS1_FREEZE:
sStatusMon = PIKE_STATUS_DUSCLOPS; sStatusMon = PIKE_STATUSMON_DUSCLOPS;
break; break;
case STATUS1_BURN: case STATUS1_BURN:
if (Random() % 2 != 0) if (Random() % 2 != 0)
sStatusMon = PIKE_STATUS_DUSCLOPS; sStatusMon = PIKE_STATUSMON_DUSCLOPS;
else else
sStatusMon = PIKE_STATUS_KIRLIA; sStatusMon = PIKE_STATUSMON_KIRLIA;
break; break;
case STATUS1_PARALYSIS: case STATUS1_PARALYSIS:
case STATUS1_SLEEP: case STATUS1_SLEEP:
case STATUS1_TOXIC_POISON: case STATUS1_TOXIC_POISON:
default: default:
sStatusMon = PIKE_STATUS_KIRLIA; sStatusMon = PIKE_STATUSMON_KIRLIA;
break; break;
} }
@@ -1172,9 +1172,9 @@ u8 GetBattlePikeWildMonHeaderId(void)
return headerId; return headerId;
} }
static void DoStatusInflictionScreenFade(u8 taskId) static void DoStatusInflictionScreenFlash(u8 taskId)
{ {
while (sStatusInflictionScreenFadeFuncs[gTasks[taskId].data[0]](&gTasks[taskId])); while (sStatusInflictionScreenFlashFuncs[gTasks[taskId].data[0]](&gTasks[taskId]));
} }
static bool8 StatusInflictionFadeOut(struct Task *task) static bool8 StatusInflictionFadeOut(struct Task *task)
@@ -1211,7 +1211,7 @@ static bool8 StatusInflictionFadeIn(struct Task *task)
{ {
if (--task->data[3] == 0) if (--task->data[3] == 0)
{ {
DestroyTask(FindTaskIdByFunc(DoStatusInflictionScreenFade)); DestroyTask(FindTaskIdByFunc(DoStatusInflictionScreenFlash));
} }
else else
{ {
@@ -1222,9 +1222,9 @@ static bool8 StatusInflictionFadeIn(struct Task *task)
return FALSE; return FALSE;
} }
static void StartStatusInflictionScreenFade(s16 fadeOutDelay, s16 fadeInDelay, s16 numFades, s16 fadeOutSpeed, s16 fadeInSpped) static void StartStatusInflictionScreenFlash(s16 fadeOutDelay, s16 fadeInDelay, s16 numFades, s16 fadeOutSpeed, s16 fadeInSpped)
{ {
u8 taskId = CreateTask(DoStatusInflictionScreenFade, 3); u8 taskId = CreateTask(DoStatusInflictionScreenFlash, 3);
gTasks[taskId].data[1] = fadeOutDelay; gTasks[taskId].data[1] = fadeOutDelay;
gTasks[taskId].data[2] = fadeInDelay; gTasks[taskId].data[2] = fadeInDelay;
@@ -1234,24 +1234,24 @@ static void StartStatusInflictionScreenFade(s16 fadeOutDelay, s16 fadeInDelay, s
gTasks[taskId].data[6] = fadeOutDelay; gTasks[taskId].data[6] = fadeOutDelay;
} }
static bool8 IsStatusInflictionScreenFadeTaskFinished(void) static bool8 IsStatusInflictionScreenFlashTaskFinished(void)
{ {
if (FindTaskIdByFunc(DoStatusInflictionScreenFade) == 0xFF) if (FindTaskIdByFunc(DoStatusInflictionScreenFlash) == 0xFF)
return TRUE; return TRUE;
else else
return FALSE; return FALSE;
} }
static void Task_DoStatusInflictionScreenFade(u8 taskId) static void Task_DoStatusInflictionScreenFlash(u8 taskId)
{ {
if (gTasks[taskId].data[0] == 0) if (gTasks[taskId].data[0] == 0)
{ {
gTasks[taskId].data[0]++; gTasks[taskId].data[0]++;
StartStatusInflictionScreenFade(0, 0, 3, 2, 2); StartStatusInflictionScreenFlash(0, 0, 3, 2, 2);
} }
else else
{ {
if (IsStatusInflictionScreenFadeTaskFinished()) if (IsStatusInflictionScreenFlashTaskFinished())
{ {
EnableBothScriptContexts(); EnableBothScriptContexts();
DestroyTask(taskId); DestroyTask(taskId);
+1 -1
View File
@@ -589,7 +589,7 @@ static void PyramidBag_CopyItemName(u8 *dst, u16 itemId)
{ {
ConvertIntToDecimalStringN(gStringVar1, ITEM_TO_BERRY(itemId), STR_CONV_MODE_LEADING_ZEROS, 2); ConvertIntToDecimalStringN(gStringVar1, ITEM_TO_BERRY(itemId), STR_CONV_MODE_LEADING_ZEROS, 2);
CopyItemName(itemId, gStringVar2); CopyItemName(itemId, gStringVar2);
StringExpandPlaceholders(dst, gText_UnkF908Var1Clear7Var2); StringExpandPlaceholders(dst, gText_NumberVar1Clear7Var2);
} }
else else
{ {
+2 -2
View File
@@ -6278,7 +6278,7 @@ static void DrawLevelUpWindow1(void)
u16 currStats[NUM_STATS]; u16 currStats[NUM_STATS];
GetMonLevelUpWindowStats(&gPlayerParty[gBattleStruct->expGetterMonId], currStats); GetMonLevelUpWindowStats(&gPlayerParty[gBattleStruct->expGetterMonId], currStats);
DrawLevelUpWindowPg1(0xD, gBattleResources->beforeLvlUp->stats, currStats, 0xE, 0xD, 0xF); DrawLevelUpWindowPg1(0xD, gBattleResources->beforeLvlUp->stats, currStats, TEXT_DYNAMIC_COLOR_5, TEXT_DYNAMIC_COLOR_4, TEXT_DYNAMIC_COLOR_6);
} }
static void DrawLevelUpWindow2(void) static void DrawLevelUpWindow2(void)
@@ -6286,7 +6286,7 @@ static void DrawLevelUpWindow2(void)
u16 currStats[NUM_STATS]; u16 currStats[NUM_STATS];
GetMonLevelUpWindowStats(&gPlayerParty[gBattleStruct->expGetterMonId], currStats); GetMonLevelUpWindowStats(&gPlayerParty[gBattleStruct->expGetterMonId], currStats);
DrawLevelUpWindowPg2(0xD, currStats, 0xE, 0xD, 0xF); DrawLevelUpWindowPg2(0xD, currStats, TEXT_DYNAMIC_COLOR_5, TEXT_DYNAMIC_COLOR_4, TEXT_DYNAMIC_COLOR_6);
} }
static void sub_804F17C(void) static void sub_804F17C(void)
+2 -2
View File
@@ -153,7 +153,7 @@ extern const u16 gUnknown_082F41E8[];
extern const s8 gUnknown_082F41CC[][2]; extern const s8 gUnknown_082F41CC[][2];
extern const s8 gUnknown_082F41D2[][2]; extern const s8 gUnknown_082F41D2[][2];
extern const u32 gUnknown_082F334C[]; extern const u32 gUnknown_082F334C[];
extern const u8 gUnknown_082F32D8[][3]; extern const u8 sBerryCrushTextColors1[][3];
struct BerryCrushGame *sub_8020C00(void) struct BerryCrushGame *sub_8020C00(void)
{ {
@@ -821,5 +821,5 @@ void sub_8021944(struct BerryCrushGame_138 *arg0, u16 arg1)
void sub_80219C8(u8 windowId, u8 left, u8 colorId, const u8 *string) void sub_80219C8(u8 windowId, u8 left, u8 colorId, const u8 *string)
{ {
left = (left * 4) - (GetStringWidth(2, string, -1) / 2u); left = (left * 4) - (GetStringWidth(2, string, -1) / 2u);
AddTextPrinterParameterized3(windowId, 2, left, 0, gUnknown_082F32D8[colorId], 0, string); AddTextPrinterParameterized3(windowId, 2, left, 0, sBerryCrushTextColors1[colorId], 0, string);
} }
+27 -27
View File
@@ -36,16 +36,16 @@ static void berry_fix_bg_hide(void);
// .rodata // .rodata
static const u8 sUnknown_08617E78[] = _("Berry Program Update"); static const u8 sText_BerryProgramUpdate[] = _("Berry Program Update");
static const u8 sUnknown_08617E8D[] = _("Ruby/Sapphire"); static const u8 sText_RubySapphire[] = _("Ruby/Sapphire");
static const u8 sUnknown_08617E9B[] = _("Emerald"); static const u8 sText_Emerald[] = _("Emerald");
static const u8 Unknown_08617EA3[] = _("The Berry Program on your POKéMON\nRuby/Sapphire Game Pak will be updated.\n{COLOR RED}{SHADOW LIGHT_RED}Press the A Button."); static const u8 sText_BerryProgramWillBeUpdatedPressA[] = _("The Berry Program on your POKéMON\nRuby/Sapphire Game Pak will be updated.\n{COLOR RED}{SHADOW LIGHT_RED}Press the A Button.");
static const u8 Unknown_08617F07[] = _("Please ensure the connection of your\nGame Boy Advance system matches this.\n{COLOR RED}{SHADOW LIGHT_RED}YES: Press the A Button.\nNO: Turn off the power and try again."); static const u8 sText_EnsureGBAConnectionMatches[] = _("Please ensure the connection of your\nGame Boy Advance system matches this.\n{COLOR RED}{SHADOW LIGHT_RED}YES: Press the A Button.\nNO: Turn off the power and try again.");
static const u8 Unknown_08617F97[] = _("Please turn on the power of POKéMON\nRuby/Sapphire while holding START and\nSELECT simultaneously. Then, ensure\nthe picture above appears."); static const u8 sText_TurnOffPowerHoldingStartSelect[] = _("Please turn on the power of POKéMON\nRuby/Sapphire while holding START and\nSELECT simultaneously. Then, ensure\nthe picture above appears.");
static const u8 Unknown_08618020[] = _("Transmitting. Please wait.\n{COLOR RED}{SHADOW LIGHT_RED}Please do not turn off the power or\nunplug the Game Boy Advance Game\nLink Cable."); static const u8 sText_TransmittingPleaseWait[] = _("Transmitting. Please wait.\n{COLOR RED}{SHADOW LIGHT_RED}Please do not turn off the power or\nunplug the Game Boy Advance Game\nLink Cable.");
static const u8 Unknown_08618092[] = _("Please follow the instructions on your\nPOKéMON Ruby/Sapphire screen."); static const u8 sText_PleaseFollowInstructionsOnScreen[] = _("Please follow the instructions on your\nPOKéMON Ruby/Sapphire screen.");
static const u8 Unknown_086180D7[] = _("Transmission failure.\n{COLOR RED}{SHADOW LIGHT_RED}Please try again."); static const u8 sText_TransmissionFailureTryAgain[] = _("Transmission failure.\n{COLOR RED}{SHADOW LIGHT_RED}Please try again.");
static const struct BgTemplate gUnknown_08618108[] = { static const struct BgTemplate gUnknown_08618108[] = {
{ {
@@ -70,16 +70,16 @@ static const u16 sUnknown_08618138[] = {
0x675a, 0, 0, 0 0x675a, 0, 0, 0
}; };
static const u8 sUnknown_08618158[] = {10, 11, 12}; static const u8 sBerryProgramTextColors[] = {TEXT_DYNAMIC_COLOR_1, TEXT_DYNAMIC_COLOR_2, TEXT_DYNAMIC_COLOR_3};
static const u8 sUnknown_0861815B[] = { 0, 10, 13}; static const u8 sGameTitleTextColors[] = { TEXT_COLOR_TRANSPARENT, TEXT_DYNAMIC_COLOR_1, TEXT_DYNAMIC_COLOR_4};
static const u8 *const gUnknown_08618160[] = { static const u8 *const sBerryProgramTexts[] = {
Unknown_08617F07, sText_EnsureGBAConnectionMatches,
Unknown_08617F97, sText_TurnOffPowerHoldingStartSelect,
Unknown_08618020, sText_TransmittingPleaseWait,
Unknown_08618092, sText_PleaseFollowInstructionsOnScreen,
Unknown_086180D7, sText_TransmissionFailureTryAgain,
Unknown_08617EA3 sText_BerryProgramWillBeUpdatedPressA
}; };
static const void *const gUnknown_08618178[][3] = { static const void *const gUnknown_08618178[][3] = {
@@ -230,21 +230,21 @@ static void berry_fix_gpu_set(void)
FillWindowPixelBuffer(3, PIXEL_FILL(0)); FillWindowPixelBuffer(3, PIXEL_FILL(0));
FillWindowPixelBuffer(0, PIXEL_FILL(0xA)); FillWindowPixelBuffer(0, PIXEL_FILL(0xA));
width = GetStringWidth(0, sUnknown_08617E9B, 0); width = GetStringWidth(0, sText_Emerald, 0);
left = (0x78 - width) / 2; left = (0x78 - width) / 2;
AddTextPrinterParameterized3(2, 0, left, 3, sUnknown_0861815B, TEXT_SPEED_FF, sUnknown_08617E9B); AddTextPrinterParameterized3(2, 0, left, 3, sGameTitleTextColors, TEXT_SPEED_FF, sText_Emerald);
width = GetStringWidth(0, sUnknown_08617E8D, 0); width = GetStringWidth(0, sText_RubySapphire, 0);
left = (0x78 - width) / 2 + 0x78; left = (0x78 - width) / 2 + 0x78;
AddTextPrinterParameterized3(2, 0, left, 3, sUnknown_0861815B, TEXT_SPEED_FF, sUnknown_08617E8D); AddTextPrinterParameterized3(2, 0, left, 3, sGameTitleTextColors, TEXT_SPEED_FF, sText_RubySapphire);
width = GetStringWidth(0, sUnknown_08617E8D, 0); width = GetStringWidth(0, sText_RubySapphire, 0);
left = (0x70 - width) / 2; left = (0x70 - width) / 2;
AddTextPrinterParameterized3(3, 0, left, 0, sUnknown_0861815B, TEXT_SPEED_FF, sUnknown_08617E8D); AddTextPrinterParameterized3(3, 0, left, 0, sGameTitleTextColors, TEXT_SPEED_FF, sText_RubySapphire);
width = GetStringWidth(1, sUnknown_08617E78, 0); width = GetStringWidth(1, sText_BerryProgramUpdate, 0);
left = (0xD0 - width) / 2; left = (0xD0 - width) / 2;
AddTextPrinterParameterized3(0, 1, left, 2, sUnknown_08618158, TEXT_SPEED_FF, sUnknown_08617E78); AddTextPrinterParameterized3(0, 1, left, 2, sBerryProgramTextColors, TEXT_SPEED_FF, sText_BerryProgramUpdate);
CopyWindowToVram(2, 2); CopyWindowToVram(2, 2);
CopyWindowToVram(3, 2); CopyWindowToVram(3, 2);
@@ -274,7 +274,7 @@ static void berry_fix_text_print(int scene)
{ {
FillBgTilemapBufferRect_Palette0(0, 0, 0, 0, 32, 32); FillBgTilemapBufferRect_Palette0(0, 0, 0, 0, 32, 32);
FillWindowPixelBuffer(1, PIXEL_FILL(0xA)); FillWindowPixelBuffer(1, PIXEL_FILL(0xA));
AddTextPrinterParameterized3(1, 1, 0, 0, sUnknown_08618158, -1, gUnknown_08618160[scene]); AddTextPrinterParameterized3(1, 1, 0, 0, sBerryProgramTextColors, -1, sBerryProgramTexts[scene]);
PutWindowTilemap(1); PutWindowTilemap(1);
CopyWindowToVram(1, 2); CopyWindowToVram(1, 2);
switch (scene) switch (scene)
+1 -1
View File
@@ -403,7 +403,7 @@ static void PrintBerryNumberAndName(void)
const struct Berry *berry = GetBerryInfo(sBerryTag->berryId); const struct Berry *berry = GetBerryInfo(sBerryTag->berryId);
ConvertIntToDecimalStringN(gStringVar1, sBerryTag->berryId, STR_CONV_MODE_LEADING_ZEROS, 2); ConvertIntToDecimalStringN(gStringVar1, sBerryTag->berryId, STR_CONV_MODE_LEADING_ZEROS, 2);
StringCopy(gStringVar2, berry->name); StringCopy(gStringVar2, berry->name);
StringExpandPlaceholders(gStringVar4, gText_UnkF908Var1Var2); StringExpandPlaceholders(gStringVar4, gText_NumberVar1Var2);
PrintTextInBerryTagScreen(WIN_BERRY_NAME, gStringVar4, 0, 1, 0, 0); PrintTextInBerryTagScreen(WIN_BERRY_NAME, gStringVar4, 0, 1, 0, 0);
} }
+3 -3
View File
@@ -89,7 +89,7 @@ extern const struct CompressedSpriteSheet gUnknown_0858D878[];
extern const struct CompressedSpritePalette gUnknown_0858D880[]; extern const struct CompressedSpritePalette gUnknown_0858D880[];
extern const struct SpriteSheet gUnknown_0858D8E0; extern const struct SpriteSheet gUnknown_0858D8E0;
extern const struct SpriteTemplate gSpriteTemplate_858D8C8; extern const struct SpriteTemplate gSpriteTemplate_858D8C8;
extern const u8 gUnknown_0858D8E8[]; extern const u8 sContestLinkTextColors[];
extern const u8 gUnknown_0858D6D0[]; extern const u8 gUnknown_0858D6D0[];
extern const struct SpriteTemplate gSpriteTemplate_858D7F8; extern const struct SpriteTemplate gSpriteTemplate_858D7F8;
extern const struct SpriteSheet gUnknown_0858D810[]; extern const struct SpriteSheet gUnknown_0858D810[];
@@ -935,7 +935,7 @@ s32 sub_80F6B78(const u8 *text, u8 spriteId)
if (strWidth > 30) if (strWidth > 30)
strWidth = 30; strWidth = 30;
AddTextPrinterParameterized3(windowId, 1, (strWidth * 8 - origWidth) / 2, 1, gUnknown_0858D8E8, -1, text); AddTextPrinterParameterized3(windowId, 1, (strWidth * 8 - origWidth) / 2, 1, sContestLinkTextColors, -1, text);
windowTilesPtr = (u8 *)(GetWindowAttribute(windowId, WINDOW_TILE_DATA)); windowTilesPtr = (u8 *)(GetWindowAttribute(windowId, WINDOW_TILE_DATA));
src = (u8 *)(gUnknown_0858D6D0); src = (u8 *)(gUnknown_0858D6D0);
@@ -1029,7 +1029,7 @@ _080F6BD0:\n\
asrs r2, 1\n\ asrs r2, 1\n\
lsls r2, 24\n\ lsls r2, 24\n\
lsrs r2, 24\n\ lsrs r2, 24\n\
ldr r0, =gUnknown_0858D8E8\n\ ldr r0, =sContestLinkTextColors\n\
str r0, [sp]\n\ str r0, [sp]\n\
movs r0, 0x1\n\ movs r0, 0x1\n\
negs r0, r0\n\ negs r0, r0\n\
+345 -350
View File
@@ -1,210 +1,213 @@
// const rom data // const rom data
ALIGNED(4) const u8 gText_EmptyString[] = _(""); ALIGNED(4) static const u8 sText_EmptyString[] = _("");
ALIGNED(4) const u8 gText_Colon[] = _(":"); ALIGNED(4) const u8 sText_Colon[] = _(":");
ALIGNED(4) const u8 gText_UnkCtrlCodeF907[] = _("{ID}"); ALIGNED(4) const u8 sText_ID[] = _("{ID}");
ALIGNED(4) const u8 gText_PleaseStartOver[] = _("Please start over from the beginning."); ALIGNED(4) const u8 sText_PleaseStartOver[] = _("Please start over from the beginning.");
ALIGNED(4) const u8 gText_WirelessSearchCanceled[] = _("The WIRELESS COMMUNICATION\nSYSTEM search has been canceled."); ALIGNED(4) const u8 sText_WirelessSearchCanceled[] = _("The WIRELESS COMMUNICATION\nSYSTEM search has been canceled.");
ALIGNED(4) const u8 unref_text_union_room_0[] = _("Awaiting communication\nfrom another player."); ALIGNED(4) const u8 sText_AwaitingCommunucation2[] = _("Awaiting communication\nfrom another player."); // Unused
ALIGNED(4) const u8 gText_AwaitingCommunication[] = _("{STR_VAR_1}! Awaiting\ncommunication from another player."); ALIGNED(4) const u8 sText_AwaitingCommunication[] = _("{STR_VAR_1}! Awaiting\ncommunication from another player.");
ALIGNED(4) const u8 gText_AwaitingLink[] = _("{STR_VAR_1}! Awaiting link!\nPress START when everyone's ready."); ALIGNED(4) const u8 sText_AwaitingLinkPressStart[] = _("{STR_VAR_1}! Awaiting link!\nPress START when everyone's ready.");
ALIGNED(4) const u8 gJPText_SingleBattle[] = _("シングルバトルを かいさいする"); ALIGNED(4) const u8 sJPText_SingleBattle[] = _("シングルバトルを かいさいする");
ALIGNED(4) const u8 gJPText_DoubleBattle[] = _("ダブルバトルを かいさいする"); ALIGNED(4) const u8 sJPText_DoubleBattle[] = _("ダブルバトルを かいさいする");
ALIGNED(4) const u8 gJPText_MultiBattle[] = _("マルチバトルを かいさいする"); ALIGNED(4) const u8 sJPText_MultiBattle[] = _("マルチバトルを かいさいする");
ALIGNED(4) const u8 gJPText_TradePokemon[] = _("ポケモンこうかんを かいさいする"); ALIGNED(4) const u8 sJPText_TradePokemon[] = _("ポケモンこうかんを かいさいする");
ALIGNED(4) const u8 gJPText_Chat[] = _("チャットを かいさいする"); ALIGNED(4) const u8 sJPText_Chat[] = _("チャットを かいさいする");
ALIGNED(4) const u8 gJPText_DistWonderCard[] = _("ふしぎなカードをくばる"); ALIGNED(4) const u8 sJPText_DistWonderCard[] = _("ふしぎなカードをくばる");
ALIGNED(4) const u8 gJPText_DistWonderNews[] = _("ふしぎなニュースをくばる"); ALIGNED(4) const u8 sJPText_DistWonderNews[] = _("ふしぎなニュースをくばる");
ALIGNED(4) const u8 unref_text_union_room_1[] = _("ふしぎなできごとを かいさいする"); ALIGNED(4) const u8 sJPText_DistMysteryEvent[] = _("ふしぎなできごとを かいさいする"); // Unused
ALIGNED(4) const u8 gJPText_HoldPokemonJump[] = _("なわとびを かいさいする"); ALIGNED(4) const u8 sJPText_HoldPokemonJump[] = _("なわとびを かいさいする");
ALIGNED(4) const u8 gJPText_HoldBerryCrush[] = _("きのみマッシャーを かいさいする"); ALIGNED(4) const u8 sJPText_HoldBerryCrush[] = _("きのみマッシャーを かいさいする");
ALIGNED(4) const u8 gJPText_HoldBerryPicking[] = _("きのみどりを かいさいする"); ALIGNED(4) const u8 sJPText_HoldBerryPicking[] = _("きのみどりを かいさいする");
ALIGNED(4) const u8 gJPText_HoldSpinTrade[] = _("ぐるぐるこうかんを かいさいする"); ALIGNED(4) const u8 sJPText_HoldSpinTrade[] = _("ぐるぐるこうかんを かいさいする");
ALIGNED(4) const u8 gJPText_HoldSpinShop[] = _("ぐるぐるショップを かいさいする"); ALIGNED(4) const u8 sJPText_HoldSpinShop[] = _("ぐるぐるショップを かいさいする");
const u8 *const unref_text_ptrs_union_room_0[] = { // Unused
gJPText_SingleBattle, const u8 *const sJPLinkGroupActionTexts[] = {
gJPText_DoubleBattle, sJPText_SingleBattle,
gJPText_MultiBattle, sJPText_DoubleBattle,
gJPText_TradePokemon, sJPText_MultiBattle,
gJPText_Chat, sJPText_TradePokemon,
gJPText_DistWonderCard, sJPText_Chat,
gJPText_DistWonderNews, sJPText_DistWonderCard,
gJPText_DistWonderCard, sJPText_DistWonderNews,
gJPText_HoldPokemonJump, sJPText_DistWonderCard,
gJPText_HoldBerryCrush, sJPText_HoldPokemonJump,
gJPText_HoldBerryPicking, sJPText_HoldBerryCrush,
gJPText_HoldBerryPicking, sJPText_HoldBerryPicking,
gJPText_HoldSpinTrade, sJPText_HoldBerryPicking,
gJPText_HoldSpinShop sJPText_HoldSpinTrade,
sJPText_HoldSpinShop
}; };
const u8 gText_1PlayerNeeded[] = _("1 player\nneeded."); const u8 sText_1PlayerNeeded[] = _("1 player\nneeded.");
const u8 gText_2PlayersNeeded[] = _("2 players\nneeded."); const u8 sText_2PlayersNeeded[] = _("2 players\nneeded.");
const u8 gText_3PlayersNeeded[] = _("3 players\nneeded."); const u8 sText_3PlayersNeeded[] = _("3 players\nneeded.");
const u8 gText_4PlayersNeeded[] = _("4 players\nneeded."); const u8 sText_4PlayersNeeded[] = _("4 players\nneeded.");
const u8 gText_2PlayerMode[] = _("2-PLAYER\nMODE"); const u8 sText_2PlayerMode[] = _("2-PLAYER\nMODE");
const u8 gText_3PlayerMode[] = _("3-PLAYER\nMODE"); const u8 sText_3PlayerMode[] = _("3-PLAYER\nMODE");
const u8 gText_4PlayerMode[] = _("4-PLAYER\nMODE"); const u8 sText_4PlayerMode[] = _("4-PLAYER\nMODE");
const u8 gText_5PlayerMode[] = _("5-PLAYER\nMODE"); const u8 sText_5PlayerMode[] = _("5-PLAYER\nMODE");
const u8 *const gUnknown_082EDB60[][5] = { static const u8 *const sPlayersNeededOrModeTexts[][5] = {
{ {
gText_1PlayerNeeded, sText_1PlayerNeeded,
gText_2PlayerMode sText_2PlayerMode
}, { }, {
gText_3PlayersNeeded, sText_3PlayersNeeded,
gText_2PlayersNeeded, sText_2PlayersNeeded,
gText_1PlayerNeeded, sText_1PlayerNeeded,
gText_4PlayerMode sText_4PlayerMode
}, { }, {
gText_1PlayerNeeded, sText_1PlayerNeeded,
gText_2PlayerMode, sText_2PlayerMode,
gText_3PlayerMode, sText_3PlayerMode,
gText_4PlayerMode, sText_4PlayerMode,
gText_5PlayerMode sText_5PlayerMode
}, { }, {
gText_2PlayersNeeded, sText_2PlayersNeeded,
gText_1PlayerNeeded, sText_1PlayerNeeded,
gText_3PlayerMode, sText_3PlayerMode,
gText_4PlayerMode, sText_4PlayerMode,
gText_5PlayerMode sText_5PlayerMode
}, { }, {
gText_1PlayerNeeded, sText_1PlayerNeeded,
gText_2PlayerMode, sText_2PlayerMode,
gText_3PlayerMode, sText_3PlayerMode,
gText_4PlayerMode sText_4PlayerMode
} }
}; };
ALIGNED(4) const u8 gUnknown_082EDBC4[] = _("{B_BUTTON}CANCEL"); ALIGNED(4) const u8 sText_BButtonCancel[] = _("{B_BUTTON}CANCEL");
ALIGNED(4) const u8 unref_text_union_room_2[] = _("ため\nさんかしゃ ぼしゅうちゅう です!"); ALIGNED(4) const u8 sJPText_SearchingForParticipants[] = _("ため\nさんかしゃ ぼしゅうちゅう です!"); // Unused, may have been cut off
ALIGNED(4) const u8 gUnknown_082EDBE8[] = _("{STR_VAR_2} contacted you for\n{STR_VAR_1}. Accept?"); ALIGNED(4) const u8 sText_PlayerContactedYouForXAccept[] = _("{STR_VAR_2} contacted you for\n{STR_VAR_1}. Accept?");
ALIGNED(4) const u8 gUnknown_082EDC0C[] = _("{STR_VAR_2} contacted you.\nWill you share {STR_VAR_1}?"); ALIGNED(4) const u8 sText_PlayerContactedYouShareX[] = _("{STR_VAR_2} contacted you.\nWill you share {STR_VAR_1}?");
ALIGNED(4) const u8 gUnknown_082EDC34[] = _("{STR_VAR_2} contacted you.\nAdd to the members?"); ALIGNED(4) const u8 sText_PlayerContactedYouAddToMembers[] = _("{STR_VAR_2} contacted you.\nAdd to the members?");
ALIGNED(4) const u8 gUnknown_082EDC5C[] = _("{STR_VAR_1}!\nAre these members OK?"); ALIGNED(4) const u8 sText_AreTheseMembersOK[] = _("{STR_VAR_1}!\nAre these members OK?");
ALIGNED(4) const u8 gUnknown_082EDC78[] = _("Cancel {STR_VAR_1} MODE\nwith these members?"); ALIGNED(4) const u8 sText_CancelModeWithTheseMembers[] = _("Cancel {STR_VAR_1} MODE\nwith these members?");
ALIGNED(4) const u8 gUnknown_082EDC9C[] = _("An “OK” was sent\nto {STR_VAR_1}."); ALIGNED(4) const u8 sText_AnOKWasSentToPlayer[] = _("An “OK” was sent\nto {STR_VAR_1}.");
ALIGNED(4) const u8 gUnknown_082EDCB4[] = _("The other TRAINER doesn't appear\nto be available now…\p"); ALIGNED(4) const u8 sText_OtherTrainerUnavailableNow[] = _("The other TRAINER doesn't appear\nto be available now…\p");
ALIGNED(4) const u8 gUnknown_082EDCEC[] = _("You can't transmit with a TRAINER\nwho is too far away.\p"); ALIGNED(4) const u8 sText_CantTransmitTrainerTooFar[] = _("You can't transmit with a TRAINER\nwho is too far away.\p");
ALIGNED(4) const u8 gUnknown_082EDD24[] = _("The other TRAINER(S) is/are not\nready yet.\p"); ALIGNED(4) const u8 sText_TrainersNotReadyYet[] = _("The other TRAINER(S) is/are not\nready yet.\p");
const u8 *const gUnknown_082EDD50[] = { const u8 *const sCantTransmitToTrainerTexts[] = {
gUnknown_082EDCEC, sText_CantTransmitTrainerTooFar,
gUnknown_082EDD24 sText_TrainersNotReadyYet
}; };
ALIGNED(4) const u8 gUnknown_082EDD58[] = _("The {STR_VAR_1} MODE with\nthese members will be canceled.{PAUSE 60}"); ALIGNED(4) const u8 sText_ModeWithTheseMembersWillBeCanceled[] = _("The {STR_VAR_1} MODE with\nthese members will be canceled.{PAUSE 60}");
ALIGNED(4) const u8 gUnknown_082EDD8C[] = _("There is a member who can no\nlonger remain available.\p"); ALIGNED(4) const u8 sText_MemberNoLongerAvailable[] = _("There is a member who can no\nlonger remain available.\p");
const u8 *const gUnknown_082EDDC4[] = { const u8 *const sPlayerUnavailableTexts[] = {
gUnknown_082EDCB4, sText_OtherTrainerUnavailableNow,
gUnknown_082EDD8C sText_MemberNoLongerAvailable
}; };
ALIGNED(4) const u8 gUnknown_082EDDCC[] = _("The other TRAINER appears\nunavailable…\p"); ALIGNED(4) const u8 sText_TrainerAppearsUnavailable[] = _("The other TRAINER appears\nunavailable…\p");
ALIGNED(4) const u8 gUnknown_082EDDF4[] = _("{STR_VAR_1} sent back an “OK”!"); ALIGNED(4) const u8 sText_PlayerSentBackOK[] = _("{STR_VAR_1} sent back an “OK”!");
ALIGNED(4) const u8 gUnknown_082EDE0C[] = _("{STR_VAR_1} OK'd your registration as\na member."); ALIGNED(4) const u8 sText_PlayerOKdRegistration[] = _("{STR_VAR_1} OK'd your registration as\na member.");
ALIGNED(4) const u8 gUnknown_082EDE34[] = _("{STR_VAR_1} replied, “No…”\p"); ALIGNED(4) const u8 sText_PlayerRepliedNo[] = _("{STR_VAR_1} replied, “No…”\p");
ALIGNED(4) const u8 gUnknown_082EDE48[] = _("{STR_VAR_1}!\nAwaiting other members!"); ALIGNED(4) const u8 sText_AwaitingOtherMembers[] = _("{STR_VAR_1}!\nAwaiting other members!");
ALIGNED(4) const u8 gUnknown_082EDE64[] = _("Quit being a member?"); ALIGNED(4) const u8 sText_QuitBeingMember[] = _("Quit being a member?");
ALIGNED(4) const u8 gUnknown_082EDE7C[] = _("You stopped being a member.\p"); ALIGNED(4) const u8 sText_StoppedBeingMember[] = _("You stopped being a member.\p");
const u8 *const gUnknown_082EDE9C[] = { const u8 *const sPlayerDisconnectedTexts[] = {
NULL, NULL,
gUnknown_082EDD8C, sText_MemberNoLongerAvailable,
gUnknown_082EDDCC, sText_TrainerAppearsUnavailable,
NULL, NULL,
NULL, NULL,
NULL, NULL,
gUnknown_082EDE34, sText_PlayerRepliedNo,
NULL, NULL,
NULL, NULL,
gUnknown_082EDE7C sText_StoppedBeingMember
}; };
ALIGNED(4) const u8 gUnknown_082EDEC4[] = _("The WIRELESS COMMUNICATION\nSYSTEM link has been established."); ALIGNED(4) const u8 sText_WirelessLinkEstablished[] = _("The WIRELESS COMMUNICATION\nSYSTEM link has been established.");
ALIGNED(4) const u8 gUnknown_082EDF04[] = _("The WIRELESS COMMUNICATION\nSYSTEM link has been dropped…"); ALIGNED(4) const u8 sText_WirelessLinkDropped[] = _("The WIRELESS COMMUNICATION\nSYSTEM link has been dropped…");
ALIGNED(4) const u8 gUnknown_082EDF40[] = _("The link with your friend has been\ndropped…"); ALIGNED(4) const u8 sText_LinkWithFriendDropped[] = _("The link with your friend has been\ndropped…");
ALIGNED(4) const u8 gUnknown_082EDF6C[] = _("{STR_VAR_1} replied, “No…”"); ALIGNED(4) const u8 sText_PlayerRepliedNo2[] = _("{STR_VAR_1} replied, “No…”");
const u8 *const gUnknown_082EDF80[] = { const u8 *const sLinkDroppedTexts[] = {
NULL, NULL,
gUnknown_082EDF40, sText_LinkWithFriendDropped,
gUnknown_082EDF40, sText_LinkWithFriendDropped,
NULL, NULL,
NULL, NULL,
NULL, NULL,
gUnknown_082EDF6C, sText_PlayerRepliedNo2,
NULL, NULL,
NULL, NULL,
NULL NULL
}; };
ALIGNED(4) const u8 gUnknown_082EDFA8[] = _("Do you want the {STR_VAR_2}\nMODE?"); ALIGNED(4) const u8 sText_DoYouWantXMode[] = _("Do you want the {STR_VAR_2}\nMODE?");
ALIGNED(4) const u8 gUnknown_082EDFC4[] = _("Do you want the {STR_VAR_2}\nMODE?"); ALIGNED(4) const u8 sText_DoYouWantXMode2[] = _("Do you want the {STR_VAR_2}\nMODE?");
const u8 *const unref_text_ptrs_union_room_1[] = { // Unused
gUnknown_082EDFA8, static const u8 *const sDoYouWantModeTexts[] = {
gUnknown_082EDFC4 sText_DoYouWantXMode,
sText_DoYouWantXMode2
}; };
ALIGNED(4) const u8 unref_text_union_room_3[] = _("Communicating…\nPlease wait."); ALIGNED(4) const u8 sText_CommunicatingPleaseWait[] = _("Communicating…\nPlease wait."); // Unused
ALIGNED(4) const u8 gUnknown_082EE004[] = _("Awaiting {STR_VAR_1}'s response about\nthe trade…"); ALIGNED(4) const u8 sText_AwaitingPlayersResponseAboutTrade[] = _("Awaiting {STR_VAR_1}'s response about\nthe trade…");
ALIGNED(4) const u8 gUnknown_082EE02C[] = _("Communicating{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.\n{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}."); ALIGNED(4) const u8 sText_Communicating[] = _("Communicating{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.\n{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.");
ALIGNED(4) const u8 gUnknown_082EE098[] = _("Communicating with {STR_VAR_1}{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.\n{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}."); ALIGNED(4) const u8 sText_CommunicatingWithPlayer[] = _("Communicating with {STR_VAR_1}{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.\n{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.");
ALIGNED(4) const u8 gUnknown_082EE104[] = _("Please wait a while{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.\n{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}."); ALIGNED(4) const u8 sText_PleaseWaitAWhile[] = _("Please wait a while{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.\n{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.{PAUSE 15}.");
const u8 *const gUnknown_082EE17C[] = { static const u8 *const sCommunicatingWaitTexts[] = {
gUnknown_082EE02C, sText_Communicating,
gUnknown_082EE098, sText_CommunicatingWithPlayer,
gUnknown_082EE104 sText_PleaseWaitAWhile
}; };
ALIGNED(4) const u8 gUnknown_082EE188[] = _("Hiya! Is there something that you\nwanted to do?"); ALIGNED(4) const u8 sText_HiDoSomethingMale[] = _("Hiya! Is there something that you\nwanted to do?");
ALIGNED(4) const u8 gUnknown_082EE1B8[] = _("Hello!\nWould you like to do something?"); ALIGNED(4) const u8 sText_HiDoSomethingFemale[] = _("Hello!\nWould you like to do something?");
ALIGNED(4) const u8 gUnknown_082EE1E0[] = _("{STR_VAR_1}: Hiya, we meet again!\nWhat are you up for this time?"); ALIGNED(4) const u8 sText_HiDoSomethingAgainMale[] = _("{STR_VAR_1}: Hiya, we meet again!\nWhat are you up for this time?");
ALIGNED(4) const u8 gUnknown_082EE218[] = _("{STR_VAR_1}: Oh! {PLAYER}, hello!\nWould you like to do something?"); ALIGNED(4) const u8 sText_HiDoSomethingAgainFemale[] = _("{STR_VAR_1}: Oh! {PLAYER}, hello!\nWould you like to do something?");
const u8 *const gUnknown_082EE24C[][2] = { static const u8 *const sHiDoSomethingTexts[][GENDER_COUNT] = {
{ {
gUnknown_082EE188, sText_HiDoSomethingMale,
gUnknown_082EE1B8 sText_HiDoSomethingFemale
}, { }, {
gUnknown_082EE1E0, sText_HiDoSomethingAgainMale,
gUnknown_082EE218 sText_HiDoSomethingAgainFemale
} }
}; };
ALIGNED(4) const u8 gUnknown_082EE25C[] = _("Want to do something?"); ALIGNED(4) const u8 sText_DoSomethingMale[] = _("Want to do something?");
ALIGNED(4) const u8 gUnknown_082EE274[] = _("Would you like to do something?"); ALIGNED(4) const u8 sText_DoSomethingFemale[] = _("Would you like to do something?");
ALIGNED(4) const u8 gUnknown_082EE294[] = _("{STR_VAR_1}: What would you like to\ndo now?"); ALIGNED(4) const u8 sText_DoSomethingAgainMale[] = _("{STR_VAR_1}: What would you like to\ndo now?");
ALIGNED(4) const u8 unref_text_union_room_4[] = _("{STR_VAR_1}: Want to do anything else?"); ALIGNED(4) const u8 sText_DoSomethingAgainFemale[] = _("{STR_VAR_1}: Want to do anything else?"); // Unused
const u8 *const unref_text_ptrs_union_room_2[][2] = { // Unused
static const u8 *const sDoSomethingTexts[][GENDER_COUNT] = {
{ {
gUnknown_082EE25C, sText_DoSomethingMale,
gUnknown_082EE274 sText_DoSomethingFemale
}, { }, {
gUnknown_082EE294, sText_DoSomethingAgainMale,
gUnknown_082EE294 sText_DoSomethingAgainMale // was probably supposed to be sText_DoSomethingAgainFemale
} }
}; };
ALIGNED(4) const u8 sText_SomebodyHasContactedYou[] = _("Somebody has contacted you.{PAUSE 60}"); ALIGNED(4) const u8 sText_SomebodyHasContactedYou[] = _("Somebody has contacted you.{PAUSE 60}");
ALIGNED(4) const u8 sText_XHasContactedYou[] = _("{STR_VAR_1} has contacted you.{PAUSE 60}"); ALIGNED(4) const u8 sText_PlayerHasContactedYou[] = _("{STR_VAR_1} has contacted you.{PAUSE 60}");
static const u8 *const gUnknown_082EE324[] = { static const u8 *const sPlayerContactedYouTexts[] = {
sText_SomebodyHasContactedYou, sText_SomebodyHasContactedYou,
sText_XHasContactedYou sText_PlayerHasContactedYou
}; };
ALIGNED(4) const u8 sUnionRoom_AwaitingResponseFromTrainer[] = _("Awaiting a response from\nthe other TRAINER…"); ALIGNED(4) const u8 sText_AwaitingResponseFromTrainer[] = _("Awaiting a response from\nthe other TRAINER…");
ALIGNED(4) const u8 sUnionRoom_AwaitingResponseFromX[] = _("Awaiting a response from\n{STR_VAR_1}…"); ALIGNED(4) const u8 sText_AwaitingResponseFromPlayer[] = _("Awaiting a response from\n{STR_VAR_1}…");
static const u8 *const sUnionRoomTexts_AwaitingResponse[] = { static const u8 *const sAwaitingResponseTexts[] = {
sUnionRoom_AwaitingResponseFromTrainer, sText_AwaitingResponseFromTrainer,
sUnionRoom_AwaitingResponseFromX sText_AwaitingResponseFromPlayer
}; };
ALIGNED(4) const u8 sText_ShowTrainerCard[] = _("The other TRAINER showed\nyou their TRAINER CARD.\pWould you like to show your\nTRAINER CARD?"); ALIGNED(4) const u8 sText_ShowTrainerCard[] = _("The other TRAINER showed\nyou their TRAINER CARD.\pWould you like to show your\nTRAINER CARD?");
@@ -218,7 +221,7 @@ ALIGNED(4) const u8 sText_OfferDeclined2[] = _("You declined the offer.\p");
ALIGNED(4) const u8 sText_ChatEnded[] = _("The chat was ended.\p"); ALIGNED(4) const u8 sText_ChatEnded[] = _("The chat was ended.\p");
// Unused // Unused
static const u8 *const sUnionRoomTexts_Invitation[] = { static const u8 *const sInvitationTexts[] = {
sText_ShowTrainerCard, sText_ShowTrainerCard,
sText_BattleChallenge, sText_BattleChallenge,
sText_ChatInvitation, sText_ChatInvitation,
@@ -230,7 +233,7 @@ ALIGNED(4) const u8 sText_PlayerJoinChatMale[] = _("{STR_VAR_1}: Hey, {PLAYER}!\
ALIGNED(4) const u8 sText_JoinChatFemale[] = _("Oh, hi! We're having a chat now.\nWould you like to join us?"); ALIGNED(4) const u8 sText_JoinChatFemale[] = _("Oh, hi! We're having a chat now.\nWould you like to join us?");
ALIGNED(4) const u8 sText_PlayerJoinChatFemale[] = _("{STR_VAR_1}: Oh, hi, {PLAYER}!\nWe're having a chat now.\lWould you like to join us?"); ALIGNED(4) const u8 sText_PlayerJoinChatFemale[] = _("{STR_VAR_1}: Oh, hi, {PLAYER}!\nWe're having a chat now.\lWould you like to join us?");
const u8 *const sUnionRoomTexts_JoinChat[][GENDER_COUNT] = { static const u8 *const sJoinChatTexts[][GENDER_COUNT] = {
{ {
sText_JoinChatMale, sText_JoinChatMale,
sText_JoinChatFemale sText_JoinChatFemale
@@ -241,170 +244,164 @@ const u8 *const sUnionRoomTexts_JoinChat[][GENDER_COUNT] = {
}; };
ALIGNED(4) const u8 sText_TrainerAppearsBusy[] = _("……\nThe TRAINER appears to be busy…\p"); ALIGNED(4) const u8 sText_TrainerAppearsBusy[] = _("……\nThe TRAINER appears to be busy…\p");
ALIGNED(4) const u8 gUnknown_082EE6EC[] = _("A battle, huh?\nAll right, just give me some time."); ALIGNED(4) const u8 sText_WaitForBattleMale[] = _("A battle, huh?\nAll right, just give me some time.");
ALIGNED(4) const u8 gUnknown_082EE720[] = _("You want to chat, huh?\nSure, just wait a little."); ALIGNED(4) const u8 sText_WaitForChatMale[] = _("You want to chat, huh?\nSure, just wait a little.");
ALIGNED(4) const u8 gUnknown_082EE754[] = _("Sure thing! As my “Greetings,”\nhere's my TRAINER CARD."); ALIGNED(4) const u8 sText_ShowTrainerCardMale[] = _("Sure thing! As my “Greetings,”\nhere's my TRAINER CARD.");
ALIGNED(4) const u8 gUnknown_082EE78C[] = _("A battle? Of course, but I need\ntime to get ready."); ALIGNED(4) const u8 sText_WaitForBattleFemale[] = _("A battle? Of course, but I need\ntime to get ready.");
ALIGNED(4) const u8 gUnknown_082EE7C0[] = _("Did you want to chat?\nOkay, but please wait a moment."); ALIGNED(4) const u8 sText_WaitForChatFemale[] = _("Did you want to chat?\nOkay, but please wait a moment.");
ALIGNED(4) const u8 gUnknown_082EE7F8[] = _("As my introduction, I'll show you\nmy TRAINER CARD."); ALIGNED(4) const u8 sText_ShowTrainerCardFemale[] = _("As my introduction, I'll show you\nmy TRAINER CARD.");
const u8 *const gUnknown_082EE82C[][4] = { const u8 *const sText_WaitOrShowCardTexts[GENDER_COUNT][4] = {
{ {
gUnknown_082EE6EC, sText_WaitForBattleMale,
gUnknown_082EE720, sText_WaitForChatMale,
NULL, NULL,
gUnknown_082EE754 sText_ShowTrainerCardMale
}, { }, {
gUnknown_082EE78C, sText_WaitForBattleFemale,
gUnknown_082EE7C0, sText_WaitForChatFemale,
NULL, NULL,
gUnknown_082EE7F8 sText_ShowTrainerCardFemale
} }
}; };
ALIGNED(4) const u8 unref_text_union_room_5[] = _("You want to chat, huh?\nSure, just wait a little."); ALIGNED(4) const u8 sText_WaitForChatMale2[] = _("You want to chat, huh?\nSure, just wait a little."); // Unused
ALIGNED(4) const u8 gUnknown_082EE880[] = _("Thanks for waiting!\nLet's get our battle started!{PAUSE 60}"); ALIGNED(4) const u8 sText_DoneWaitingBattleMale[] = _("Thanks for waiting!\nLet's get our battle started!{PAUSE 60}");
ALIGNED(4) const u8 gUnknown_082EE8B8[] = _("All right!\nLet's chat!{PAUSE 60}"); ALIGNED(4) const u8 sText_DoneWaitingChatMale[] = _("All right!\nLet's chat!{PAUSE 60}");
ALIGNED(4) const u8 gUnknown_082EE8D4[] = _("Sorry I made you wait!\nLet's get started!{PAUSE 60}"); ALIGNED(4) const u8 sText_DoneWaitingBattleFemale[] = _("Sorry I made you wait!\nLet's get started!{PAUSE 60}");
ALIGNED(4) const u8 gUnknown_082EE904[] = _("Sorry I made you wait!\nLet's chat.{PAUSE 60}"); ALIGNED(4) const u8 sText_DoneWaitingChatFemale[] = _("Sorry I made you wait!\nLet's chat.{PAUSE 60}");
ALIGNED(4) const u8 gUnknown_082EE92C[] = _("The trade will be started.{PAUSE 60}"); ALIGNED(4) const u8 sText_TradeWillBeStarted[] = _("The trade will be started.{PAUSE 60}");
ALIGNED(4) const u8 gUnknown_082EE94C[] = _("The battle will be started.{PAUSE 60}"); ALIGNED(4) const u8 sText_BattleWillBeStarted[] = _("The battle will be started.{PAUSE 60}");
ALIGNED(4) const u8 gUnknown_082EE96C[] = _("Entering the chat…{PAUSE 60}"); ALIGNED(4) const u8 sText_EnteringChat[] = _("Entering the chat…{PAUSE 60}");
const u8 *const gUnknown_082EE984[][2][3] = { const u8 *const sStartActivityTexts[][GENDER_COUNT][3] = {
{ {
{ {
gUnknown_082EE94C, sText_BattleWillBeStarted,
gUnknown_082EE96C, sText_EnteringChat,
gUnknown_082EE92C sText_TradeWillBeStarted
}, { }, {
gUnknown_082EE94C, sText_BattleWillBeStarted,
gUnknown_082EE96C, sText_EnteringChat,
gUnknown_082EE92C sText_TradeWillBeStarted
} }
}, { }, {
{ {
gUnknown_082EE880, sText_DoneWaitingBattleMale,
gUnknown_082EE8B8, sText_DoneWaitingChatMale,
gUnknown_082EE92C sText_TradeWillBeStarted
}, { }, {
gUnknown_082EE8D4, sText_DoneWaitingBattleFemale,
gUnknown_082EE904, sText_DoneWaitingChatFemale,
gUnknown_082EE92C sText_TradeWillBeStarted
} }
} }
}; };
ALIGNED(4) const u8 gUnknown_082EE9B4[] = _("Sorry! My POKéMON don't seem to\nbe feeling too well right now.\lLet me battle you another time.\p"); ALIGNED(4) const u8 sText_BattleDeclinedMale[] = _("Sorry! My POKéMON don't seem to\nbe feeling too well right now.\lLet me battle you another time.\p");
ALIGNED(4) const u8 gUnknown_082EEA14[] = _("I'm terribly sorry, but my POKéMON\naren't feeling well…\pLet's battle another time.\p"); ALIGNED(4) const u8 sText_BattleDeclinedFemale[] = _("I'm terribly sorry, but my POKéMON\naren't feeling well…\pLet's battle another time.\p");
const u8 *const gUnknown_082EEA68[] = { const u8 *const sBattleDeclinedTexts[GENDER_COUNT] = {
gUnknown_082EE9B4, sText_BattleDeclinedMale,
gUnknown_082EEA14 sText_BattleDeclinedFemale
}; };
ALIGNED(4) const u8 gUnknown_082EEA70[] = _("Huh? My TRAINER CARD…\nWhere'd it go now?\lSorry! I'll show you another time!\p"); ALIGNED(4) const u8 sText_ShowTrainerCardDeclinedMale[] = _("Huh? My TRAINER CARD…\nWhere'd it go now?\lSorry! I'll show you another time!\p");
ALIGNED(4) const u8 gUnknown_082EEAC0[] = _("Oh? Now where did I put my\nTRAINER CARD?…\lSorry! I'll show you later!\p"); ALIGNED(4) const u8 sText_ShowTrainerCardDeclinedFemale[] = _("Oh? Now where did I put my\nTRAINER CARD?…\lSorry! I'll show you later!\p");
const u8 *const gUnknown_082EEB08[] = { const u8 *const sShowTrainerCardDeclinedTexts[GENDER_COUNT] = {
gUnknown_082EEA70, sText_ShowTrainerCardDeclinedMale,
gUnknown_082EEAC0 sText_ShowTrainerCardDeclinedFemale
}; };
ALIGNED(4) const u8 gUnknown_082EEB10[] = _("If you want to do something with\nme, just give me a shout!\p"); ALIGNED(4) const u8 sText_IfYouWantToDoSomethingMale[] = _("If you want to do something with\nme, just give me a shout!\p");
ALIGNED(4) const u8 gUnknown_082EEB4C[] = _("If you want to do something with\nme, don't be shy.\p"); ALIGNED(4) const u8 sText_IfYouWantToDoSomethingFemale[] = _("If you want to do something with\nme, don't be shy.\p");
const u8 *const gUnknown_082EEB80[] = { const u8 *const sIfYouWantToDoSomethingTexts[GENDER_COUNT] = {
gUnknown_082EEB10, sText_IfYouWantToDoSomethingMale,
gUnknown_082EEB4C sText_IfYouWantToDoSomethingFemale
}; };
ALIGNED(4) const u8 sText_TrainerBattleBusy[] = _("Whoops! Sorry, but I have to do\nsomething else.\lAnother time, okay?\p"); ALIGNED(4) const u8 sText_TrainerBattleBusy[] = _("Whoops! Sorry, but I have to do\nsomething else.\lAnother time, okay?\p");
ALIGNED(4) const u8 sText_NeedTwoMonsOfLevel30OrLower1[] = _("If you want to battle, you need\ntwo POKéMON that are below\lLv. 30.\p"); ALIGNED(4) const u8 sText_NeedTwoMonsOfLevel30OrLower1[] = _("If you want to battle, you need\ntwo POKéMON that are below\lLv. 30.\p");
ALIGNED(4) const u8 sText_NeedTwoMonsOfLevel30OrLower2[] = _("For a battle, you need two\nPOKéMON that are below Lv. 30.\p"); ALIGNED(4) const u8 sText_NeedTwoMonsOfLevel30OrLower2[] = _("For a battle, you need two\nPOKéMON that are below Lv. 30.\p");
ALIGNED(4) const u8 sText_DeclineBattleMale[] = _("Oh, all right.\nCome see me anytime, okay?\p"); ALIGNED(4) const u8 sText_DeclineBattleMale[] = _("Oh, all right.\nCome see me anytime, okay?\p");
ALIGNED(4) const u8 sText_DeclineBattleFemale[] = _("Oh…\nPlease come by anytime.\p"); ALIGNED(4) const u8 stext_DeclineBattleFemale[] = _("Oh…\nPlease come by anytime.\p");
const u8 *const sUnionRoomTexts_DeclineBattle[GENDER_COUNT] = { static const u8 *const sDeclineBattleTexts[GENDER_COUNT] = {
[MALE] = sText_DeclineBattleMale, sText_DeclineBattleMale,
[FEMALE] = sText_DeclineBattleFemale stext_DeclineBattleFemale
}; };
ALIGNED(4) const u8 gUnknown_082EECA4[] = _("Oh, sorry!\nI just can't right this instant.\lLet's chat another time.\p"); ALIGNED(4) const u8 sText_ChatDeclinedMale[] = _("Oh, sorry!\nI just can't right this instant.\lLet's chat another time.\p");
ALIGNED(4) const u8 gUnknown_082EECEC[] = _("Oh, I'm sorry.\nI have too much to do right now.\lLet's chat some other time.\p"); ALIGNED(4) const u8 sText_ChatDeclinedFemale[] = _("Oh, I'm sorry.\nI have too much to do right now.\lLet's chat some other time.\p");
const u8 *const gUnknown_082EED3C[] = { const u8 *const sChatDeclinedTexts[GENDER_COUNT] = {
gUnknown_082EECA4, sText_ChatDeclinedMale,
gUnknown_082EECEC sText_ChatDeclinedFemale
}; };
ALIGNED(4) const u8 gUnknown_082EED44[] = _("Whoa!\nI can tell you're pretty tough!\p"); ALIGNED(4) const u8 sText_YoureToughMale[] = _("Whoa!\nI can tell you're pretty tough!\p");
ALIGNED(4) const u8 gUnknown_082EED6C[] = _("You used that move?\nThat's good strategy!\p"); ALIGNED(4) const u8 sText_UsedGoodMoveMale[] = _("You used that move?\nThat's good strategy!\p");
ALIGNED(4) const u8 gUnknown_082EED98[] = _("Way to go!\nThat was an eye-opener!\p"); ALIGNED(4) const u8 sText_BattleSurpriseMale[] = _("Way to go!\nThat was an eye-opener!\p");
ALIGNED(4) const u8 gUnknown_082EEDBC[] = _("Oh! How could you use that\nPOKéMON in that situation?\p"); ALIGNED(4) const u8 sText_SwitchedMonsMale[] = _("Oh! How could you use that\nPOKéMON in that situation?\p");
ALIGNED(4) const u8 gUnknown_082EEDF4[] = _("That POKéMON…\nIt's been raised really well!\p"); ALIGNED(4) const u8 sText_YoureToughFemale[] = _("That POKéMON…\nIt's been raised really well!\p");
ALIGNED(4) const u8 gUnknown_082EEE24[] = _("That's it!\nThis is the right move now!\p"); ALIGNED(4) const u8 sText_UsedGoodMoveFemale[] = _("That's it!\nThis is the right move now!\p");
ALIGNED(4) const u8 gUnknown_082EEE4C[] = _("That's awesome!\nYou can battle that way?\p"); ALIGNED(4) const u8 sText_BattleSurpriseFemale[] = _("That's awesome!\nYou can battle that way?\p");
ALIGNED(4) const u8 gUnknown_082EEE78[] = _("You have exquisite timing for\nswitching POKéMON!\p"); ALIGNED(4) const u8 sText_SwitchedMonsFemale[] = _("You have exquisite timing for\nswitching POKéMON!\p");
const u8 *const gUnknown_082EEEAC[GENDER_COUNT][4] = { const u8 *const sBattleReactionTexts[GENDER_COUNT][4] = {
[MALE] =
{ {
gUnknown_082EED44, sText_YoureToughMale,
gUnknown_082EED6C, sText_UsedGoodMoveMale,
gUnknown_082EED98, sText_BattleSurpriseMale,
gUnknown_082EEDBC sText_SwitchedMonsMale
}, },
[FEMALE] =
{ {
gUnknown_082EEDF4, sText_YoureToughFemale,
gUnknown_082EEE24, sText_UsedGoodMoveFemale,
gUnknown_082EEE4C, sText_BattleSurpriseFemale,
gUnknown_082EEE78 sText_SwitchedMonsFemale
} }
}; };
ALIGNED(4) const u8 gUnknown_082EEECC[] = _("Oh, I see!\nThis is educational!\p"); ALIGNED(4) const u8 sText_LearnedSomethingMale[] = _("Oh, I see!\nThis is educational!\p");
ALIGNED(4) const u8 gUnknown_082EEEF0[] = _("Don't say anything funny anymore!\nI'm sore from laughing!\p"); ALIGNED(4) const u8 sText_ThatsFunnyMale[] = _("Don't say anything funny anymore!\nI'm sore from laughing!\p");
ALIGNED(4) const u8 gUnknown_082EEF2C[] = _("Oh?\nSomething like that happened.\p"); ALIGNED(4) const u8 sText_RandomChatMale1[] = _("Oh?\nSomething like that happened.\p");
ALIGNED(4) const u8 gUnknown_082EEF50[] = _("Hmhm… What?\nSo is this what you're saying?\p"); ALIGNED(4) const u8 sText_RandomChatMale2[] = _("Hmhm… What?\nSo is this what you're saying?\p");
ALIGNED(4) const u8 gUnknown_082EEF7C[] = _("Is that right?\nI didn't know that.\p"); ALIGNED(4) const u8 sText_LearnedSomethingFemale[] = _("Is that right?\nI didn't know that.\p");
ALIGNED(4) const u8 gUnknown_082EEFA0[] = _("Ahaha!\nWhat is that about?\p"); ALIGNED(4) const u8 sText_ThatsFunnyFemale[] = _("Ahaha!\nWhat is that about?\p");
ALIGNED(4) const u8 gUnknown_082EEFBC[] = _("Yes, that's exactly it!\nThat's what I meant.\p"); ALIGNED(4) const u8 sText_RandomChatFemale1[] = _("Yes, that's exactly it!\nThat's what I meant.\p");
ALIGNED(4) const u8 gUnknown_082EEFEC[] = _("In other words…\nYes! That's right!\p"); ALIGNED(4) const u8 sText_RandomChatFemale2[] = _("In other words…\nYes! That's right!\p");
const u8 *const gUnknown_082EF010[GENDER_COUNT][4] = { const u8 *const sChatReactionTexts[GENDER_COUNT][4] = {
[MALE] =
{ {
gUnknown_082EEECC, sText_LearnedSomethingMale,
gUnknown_082EEEF0, sText_ThatsFunnyMale,
gUnknown_082EEF2C, sText_RandomChatMale1,
gUnknown_082EEF50 sText_RandomChatMale2
}, },
[FEMALE] =
{ {
gUnknown_082EEF7C, sText_LearnedSomethingFemale,
gUnknown_082EEFA0, sText_ThatsFunnyFemale,
gUnknown_082EEFBC, sText_RandomChatFemale1,
gUnknown_082EEFEC sText_RandomChatFemale2
} }
}; };
ALIGNED(4) const u8 gUnknown_082EF030[] = _("I'm just showing my TRAINER CARD\nas my way of greeting.\p"); ALIGNED(4) const u8 sText_ShowedTrainerCardMale1[] = _("I'm just showing my TRAINER CARD\nas my way of greeting.\p");
ALIGNED(4) const u8 gUnknown_082EF06C[] = _("I hope I get to know you better!\p"); ALIGNED(4) const u8 sText_ShowedTrainerCardMale2[] = _("I hope I get to know you better!\p");
ALIGNED(4) const u8 gUnknown_082EF090[] = _("We're showing each other our\nTRAINER CARDS to get acquainted.\p"); ALIGNED(4) const u8 sText_ShowedTrainerCardFemale1[] = _("We're showing each other our\nTRAINER CARDS to get acquainted.\p");
ALIGNED(4) const u8 gUnknown_082EF0D0[] = _("Glad to meet you.\nPlease don't be a stranger!\p"); ALIGNED(4) const u8 sText_ShowedTrainerCardFemale2[] = _("Glad to meet you.\nPlease don't be a stranger!\p");
const u8 *const gUnknown_082EF100[GENDER_COUNT][2] = { const u8 *const sTrainerCardReactionTexts[GENDER_COUNT][2] = {
[MALE] =
{ {
gUnknown_082EF030, sText_ShowedTrainerCardMale1,
gUnknown_082EF06C sText_ShowedTrainerCardMale2
}, },
[FEMALE] =
{ {
gUnknown_082EF090, sText_ShowedTrainerCardFemale1,
gUnknown_082EF0D0 sText_ShowedTrainerCardFemale2
} }
}; };
@@ -413,13 +410,11 @@ ALIGNED(4) const u8 sText_MaleTraded2[] = _("Finally, a trade got me that\nPOKé
ALIGNED(4) const u8 sText_FemaleTraded1[] = _("I'm trading POKéMON right now.\p"); ALIGNED(4) const u8 sText_FemaleTraded1[] = _("I'm trading POKéMON right now.\p");
ALIGNED(4) const u8 sText_FemaleTraded2[] = _("I finally got that POKéMON I\nwanted in a trade!\p"); ALIGNED(4) const u8 sText_FemaleTraded2[] = _("I finally got that POKéMON I\nwanted in a trade!\p");
const u8 *const sUnionRoomTexts_Traded[GENDER_COUNT][4] = { const u8 *const sTradeReactionTexts[GENDER_COUNT][4] = {
[MALE] =
{ {
sText_MaleTraded1, sText_MaleTraded1,
sText_MaleTraded2 sText_MaleTraded2
}, },
[FEMALE] =
{ {
sText_FemaleTraded1, sText_FemaleTraded1,
sText_FemaleTraded2 sText_FemaleTraded2
@@ -442,17 +437,17 @@ ALIGNED(4) const u8 sText_RegistrationCanceled2[] = _("The registration has been
ALIGNED(4) const u8 sText_TradeTrainersWillBeListed[] = _("TRAINERS wishing to make a trade\nwill be listed."); // unused ALIGNED(4) const u8 sText_TradeTrainersWillBeListed[] = _("TRAINERS wishing to make a trade\nwill be listed."); // unused
ALIGNED(4) const u8 sText_ChooseTrainerToTradeWith2[] = _("Please choose the TRAINER with whom\nyou would like to trade POKéMON."); // unused ALIGNED(4) const u8 sText_ChooseTrainerToTradeWith2[] = _("Please choose the TRAINER with whom\nyou would like to trade POKéMON."); // unused
ALIGNED(4) const u8 sText_AskTrainerToMakeTrade[] = _("Would you like to ask {STR_VAR_1} to\nmake a trade?"); ALIGNED(4) const u8 sText_AskTrainerToMakeTrade[] = _("Would you like to ask {STR_VAR_1} to\nmake a trade?");
ALIGNED(4) const u8 sText_AwaitingResponseFromTrainer[] = _("Awaiting a response from\nthe other TRAINER…"); // unused ALIGNED(4) const u8 sText_AwaitingResponseFromTrainer2[] = _("Awaiting a response from\nthe other TRAINER…"); // unused
ALIGNED(4) const u8 sText_NotRegisteredAMonForTrade[] = _("You have not registered a POKéMON\nfor trading.\p"); // unused ALIGNED(4) const u8 sText_NotRegisteredAMonForTrade[] = _("You have not registered a POKéMON\nfor trading.\p"); // unused
ALIGNED(4) const u8 sText_DontHaveTypeTrainerWants[] = _("You don't have a {STR_VAR_2}-type\nPOKéMON that {STR_VAR_1} wants.\p"); ALIGNED(4) const u8 sText_DontHaveTypeTrainerWants[] = _("You don't have a {STR_VAR_2}-type\nPOKéMON that {STR_VAR_1} wants.\p");
ALIGNED(4) const u8 sText_DontHaveEggTrainerWants[] = _("You don't have an EGG that\n{STR_VAR_1} wants.\p"); ALIGNED(4) const u8 sText_DontHaveEggTrainerWants[] = _("You don't have an EGG that\n{STR_VAR_1} wants.\p");
ALIGNED(4) const u8 sText_CantTradeMonRightNow[] = _("{STR_VAR_1} can't make a trade for\nyour POKéMON right now.\p"); ALIGNED(4) const u8 sText_PlayerCantTradeForYourMon[] = _("{STR_VAR_1} can't make a trade for\nyour POKéMON right now.\p");
ALIGNED(4) const u8 sText_CantTradePartnersMonRightNow[] = _("You can't make a trade for\n{STR_VAR_1}'s POKéMON right now.\p"); ALIGNED(4) const u8 sText_CantTradeForPartnersMon[] = _("You can't make a trade for\n{STR_VAR_1}'s POKéMON right now.\p");
// unused // Unused
const u8 *const sUnionRoomTexts_CantTradeRightNow[] = { const u8 *const sCantTradeMonTexts[] = {
sText_CantTradeMonRightNow, sText_PlayerCantTradeForYourMon,
sText_CantTradePartnersMonRightNow sText_CantTradeForPartnersMon
}; };
ALIGNED(4) const u8 sText_TradeOfferRejected[] = _("Your trade offer was rejected.\p"); ALIGNED(4) const u8 sText_TradeOfferRejected[] = _("Your trade offer was rejected.\p");
@@ -504,27 +499,27 @@ static const u8 *const sChooseTrainerTexts[NUM_LINK_GROUP_TYPES] =
[LINK_GROUP_BATTLE_TOWER_OPEN] = sText_ChooseLeaderBattleTowerOpenLv [LINK_GROUP_BATTLE_TOWER_OPEN] = sText_ChooseLeaderBattleTowerOpenLv
}; };
ALIGNED(4) const u8 gUnknown_082EFBC8[] = _("Searching for a WIRELESS\nCOMMUNICATION SYSTEM. Wait..."); ALIGNED(4) const u8 sText_SearchingForWirelessSystemWait[] = _("Searching for a WIRELESS\nCOMMUNICATION SYSTEM. Wait...");
ALIGNED(4) const u8 unref_text_union_room_12[] = _("For a DOUBLE BATTLE, you must have\nat least two POKéMON.\p"); ALIGNED(4) const u8 sText_MustHaveTwoMonsForDoubleBattle[] = _("For a DOUBLE BATTLE, you must have\nat least two POKéMON.\p"); // Unused
ALIGNED(4) const u8 gUnknown_082EFC3C[] = _("Awaiting {STR_VAR_1}'s response…"); ALIGNED(4) const u8 sText_AwaitingPlayersResponse[] = _("Awaiting {STR_VAR_1}'s response…");
ALIGNED(4) const u8 gUnknown_082EFC54[] = _("{STR_VAR_1} has been asked to register\nyou as a member. Please wait."); ALIGNED(4) const u8 sText_PlayerHasBeenAskedToRegisterYouPleaseWait[] = _("{STR_VAR_1} has been asked to register\nyou as a member. Please wait.");
ALIGNED(4) const u8 gUnknown_082EFC90[] = _("Awaiting a response from the\nWIRELESS COMMUNICATION SYSTEM."); ALIGNED(4) const u8 sText_AwaitingResponseFromWirelessSystem[] = _("Awaiting a response from the\nWIRELESS COMMUNICATION SYSTEM.");
ALIGNED(4) const u8 unref_text_union_room_13[] = _("Please wait for other TRAINERS to\ngather and get ready."); ALIGNED(4) const u8 sText_PleaseWaitForOtherTrainersToGather[] = _("Please wait for other TRAINERS to\ngather and get ready."); // Unused
ALIGNED(4) const u8 gUnknown_082EFD04[] = _("No CARDS appear to be shared \nright now."); ALIGNED(4) const u8 sText_NoCardsSharedRightNow[] = _("No CARDS appear to be shared \nright now.");
ALIGNED(4) const u8 gUnknown_082EFD30[] = _("No NEWS appears to be shared\nright now."); ALIGNED(4) const u8 sText_NoNewsSharedRightNow[] = _("No NEWS appears to be shared\nright now.");
const u8 *const gUnknown_082EFD58[] = { const u8 *const sNoWonderSharedTexts[] = {
gUnknown_082EFD04, sText_NoCardsSharedRightNow,
gUnknown_082EFD30 sText_NoNewsSharedRightNow
}; };
ALIGNED(4) const u8 gUnknown_082EFD60[] = _("BATTLE"); ALIGNED(4) const u8 sText_Battle[] = _("BATTLE");
ALIGNED(4) const u8 gUnknown_082EFD68[] = _("CHAT"); ALIGNED(4) const u8 sText_Chat2[] = _("CHAT");
ALIGNED(4) const u8 gUnknown_082EFD70[] = _("GREETINGS"); ALIGNED(4) const u8 sText_Greetings[] = _("GREETINGS");
ALIGNED(4) const u8 gUnknown_082EFD7C[] = _("EXIT"); ALIGNED(4) const u8 sText_Exit[] = _("EXIT");
ALIGNED(4) const u8 gUnknown_082EFD84[] = _("EXIT"); ALIGNED(4) const u8 sText_Exit2[] = _("EXIT");
ALIGNED(4) const u8 gUnknown_082EFD8C[] = _("INFO"); ALIGNED(4) const u8 sText_Info[] = _("INFO");
ALIGNED(4) const u8 gUnknown_082EFD94[] = _("NAME{CLEAR_TO 0x3C}WANTED{CLEAR_TO 0x6E}OFFER{CLEAR_TO 0xC6}LV."); ALIGNED(4) const u8 sText_NameWantedOfferLv[] = _("NAME{CLEAR_TO 0x3C}WANTED{CLEAR_TO 0x6E}OFFER{CLEAR_TO 0xC6}LV.");
ALIGNED(4) const u8 sText_SingleBattle[] = _("SINGLE BATTLE"); ALIGNED(4) const u8 sText_SingleBattle[] = _("SINGLE BATTLE");
ALIGNED(4) const u8 sText_DoubleBattle[] = _("DOUBLE BATTLE"); ALIGNED(4) const u8 sText_DoubleBattle[] = _("DOUBLE BATTLE");
ALIGNED(4) const u8 sText_MultiBattle[] = _("MULTI BATTLE"); ALIGNED(4) const u8 sText_MultiBattle[] = _("MULTI BATTLE");
@@ -560,20 +555,20 @@ static const u8 *const sCardColorTexts[] = {
sText_ItsGoldCard sText_ItsGoldCard
}; };
ALIGNED(4) const u8 gUnknown_082EFF64[] = _("This is {SPECIAL_F7 0x00} {SPECIAL_F7 0x01}'s\nTRAINER CARD…\l{SPECIAL_F7 0x02}\pPOKéDEX: {SPECIAL_F7 0x03}\nTIME: {SPECIAL_F7 0x04}:{SPECIAL_F7 0x05}\p"); ALIGNED(4) const u8 sText_TrainerCardInfoPage1[] = _("This is {SPECIAL_F7 0x00} {SPECIAL_F7 0x01}'s\nTRAINER CARD…\l{SPECIAL_F7 0x02}\pPOKéDEX: {SPECIAL_F7 0x03}\nTIME: {SPECIAL_F7 0x04}:{SPECIAL_F7 0x05}\p");
ALIGNED(4) const u8 gUnknown_082EFFA4[] = _("BATTLES: WINS: {SPECIAL_F7 0x00} LOSSES: {SPECIAL_F7 0x02}\nTRADES: {SPECIAL_F7 0x03}\p“{SPECIAL_F7 0x04} {SPECIAL_F7 0x05}\n{SPECIAL_F7 0x06} {SPECIAL_F7 0x07}”\p"); ALIGNED(4) const u8 sText_TrainerCardInfoPage2[] = _("BATTLES: WINS: {SPECIAL_F7 0x00} LOSSES: {SPECIAL_F7 0x02}\nTRADES: {SPECIAL_F7 0x03}\p“{SPECIAL_F7 0x04} {SPECIAL_F7 0x05}\n{SPECIAL_F7 0x06} {SPECIAL_F7 0x07}”\p");
ALIGNED(4) const u8 gUnknown_082EFFDC[] = _("{SPECIAL_F7 0x01}: Glad to have met you!{PAUSE 60}"); ALIGNED(4) const u8 sText_GladToMeetYouMale[] = _("{SPECIAL_F7 0x01}: Glad to have met you!{PAUSE 60}");
ALIGNED(4) const u8 gUnknown_082EFFFC[] = _("{SPECIAL_F7 0x01}: Glad to meet you!{PAUSE 60}"); ALIGNED(4) const u8 sText_GladToMeetYouFemale[] = _("{SPECIAL_F7 0x01}: Glad to meet you!{PAUSE 60}");
const u8 *const gUnknown_082F0018[] = { const u8 *const sGladToMeetYouTexts[GENDER_COUNT] = {
gUnknown_082EFFDC, sText_GladToMeetYouMale,
gUnknown_082EFFFC sText_GladToMeetYouFemale
}; };
ALIGNED(4) const u8 gUnknown_082F0020[] = _("Finished checking {SPECIAL_F7 0x01}'s\nTRAINER CARD.{PAUSE 60}"); ALIGNED(4) const u8 sText_FinishedCheckingPlayersTrainerCard[] = _("Finished checking {SPECIAL_F7 0x01}'s\nTRAINER CARD.{PAUSE 60}");
const u8 *const gUnknown_082F0048[] = { const u8 *const sLinkGroupActivityTexts[] = {
gText_EmptyString, sText_EmptyString,
sText_SingleBattle, sText_SingleBattle,
sText_DoubleBattle, sText_DoubleBattle,
sText_MultiBattle, sText_MultiBattle,
@@ -586,14 +581,14 @@ const u8 *const gUnknown_082F0048[] = {
sText_BerryCrush, sText_BerryCrush,
sText_BerryPicking, sText_BerryPicking,
sText_Search, sText_Search,
gText_EmptyString, sText_EmptyString,
sText_BattleTowerOpenLv, sText_BattleTowerOpenLv,
sText_RecordCorner, sText_RecordCorner,
sText_BerryBlender, sText_BerryBlender,
gText_EmptyString, sText_EmptyString,
gText_EmptyString, sText_EmptyString,
gText_EmptyString, sText_EmptyString,
gText_EmptyString, sText_EmptyString,
sText_WonderCards, sText_WonderCards,
sText_WonderNews, sText_WonderNews,
sText_CoolContest, sText_CoolContest,
@@ -670,11 +665,11 @@ const struct WindowTemplate gUnknown_082F012C = {
}; };
const struct ListMenuItem gUnknown_082F0134[] = { const struct ListMenuItem gUnknown_082F0134[] = {
{ gText_EmptyString, 0 }, { sText_EmptyString, 0 },
{ gText_EmptyString, 1 }, { sText_EmptyString, 1 },
{ gText_EmptyString, 2 }, { sText_EmptyString, 2 },
{ gText_EmptyString, 3 }, { sText_EmptyString, 3 },
{ gText_EmptyString, 4 } { sText_EmptyString, 4 }
}; };
const struct ListMenuTemplate gUnknown_082F015C = { const struct ListMenuTemplate gUnknown_082F015C = {
@@ -719,22 +714,22 @@ const struct WindowTemplate gUnknown_082F017C = {
}; };
const struct ListMenuItem gUnknown_082F0184[] = { const struct ListMenuItem gUnknown_082F0184[] = {
{ gText_EmptyString, 0 }, { sText_EmptyString, 0 },
{ gText_EmptyString, 1 }, { sText_EmptyString, 1 },
{ gText_EmptyString, 2 }, { sText_EmptyString, 2 },
{ gText_EmptyString, 3 }, { sText_EmptyString, 3 },
{ gText_EmptyString, 4 }, { sText_EmptyString, 4 },
{ gText_EmptyString, 5 }, { sText_EmptyString, 5 },
{ gText_EmptyString, 6 }, { sText_EmptyString, 6 },
{ gText_EmptyString, 7 }, { sText_EmptyString, 7 },
{ gText_EmptyString, 8 }, { sText_EmptyString, 8 },
{ gText_EmptyString, 9 }, { sText_EmptyString, 9 },
{ gText_EmptyString, 10 }, { sText_EmptyString, 10 },
{ gText_EmptyString, 11 }, { sText_EmptyString, 11 },
{ gText_EmptyString, 12 }, { sText_EmptyString, 12 },
{ gText_EmptyString, 13 }, { sText_EmptyString, 13 },
{ gText_EmptyString, 14 }, { sText_EmptyString, 14 },
{ gText_EmptyString, 15 } { sText_EmptyString, 15 }
}; };
const struct ListMenuTemplate gUnknown_082F0204 = { const struct ListMenuTemplate gUnknown_082F0204 = {
@@ -769,10 +764,10 @@ const struct WindowTemplate gUnknown_082F021C = {
}; };
const struct ListMenuItem gUnknown_082F0224[] = { const struct ListMenuItem gUnknown_082F0224[] = {
{ gUnknown_082EFD70, 0x208 }, { sText_Greetings, 0x208 },
{ gUnknown_082EFD60, 0x241 }, { sText_Battle, 0x241 },
{ gUnknown_082EFD68, 0x245 }, { sText_Chat2, 0x245 },
{ gUnknown_082EFD7C, 0x040 } { sText_Exit, 0x040 }
}; };
const struct ListMenuTemplate gUnknown_082F0244 = { const struct ListMenuTemplate gUnknown_082F0244 = {
@@ -808,8 +803,8 @@ const struct WindowTemplate gUnknown_082F025C = {
const struct ListMenuItem gUnknown_082F0264[] = { const struct ListMenuItem gUnknown_082F0264[] = {
{ gText_Register, 1 }, { gText_Register, 1 },
{ gUnknown_082EFD8C, 2 }, { sText_Info, 2 },
{ gUnknown_082EFD7C, 3 } { sText_Exit, 3 }
}; };
const struct ListMenuTemplate gUnknown_082F027C = { const struct ListMenuTemplate gUnknown_082F027C = {
@@ -861,7 +856,7 @@ static const struct ListMenuItem sTradingBoardTypes[] = {
{ gTypeNames[TYPE_DRAGON], TYPE_DRAGON }, { gTypeNames[TYPE_DRAGON], TYPE_DRAGON },
{ gTypeNames[TYPE_STEEL], TYPE_STEEL }, { gTypeNames[TYPE_STEEL], TYPE_STEEL },
{ gTypeNames[TYPE_DARK], TYPE_DARK }, { gTypeNames[TYPE_DARK], TYPE_DARK },
{ gUnknown_082EFD7C, NUMBER_OF_MON_TYPES } { sText_Exit, NUMBER_OF_MON_TYPES }
}; };
const struct ListMenuTemplate sMenuTemplate_TradingBoardRequestType = { const struct ListMenuTemplate sMenuTemplate_TradingBoardRequestType = {
@@ -906,16 +901,16 @@ const struct WindowTemplate gUnknown_082F034C = {
}; };
const struct ListMenuItem gUnknown_082F0354[] = { const struct ListMenuItem gUnknown_082F0354[] = {
{ gText_EmptyString, -3 }, { sText_EmptyString, -3 },
{ gText_EmptyString, 0 }, { sText_EmptyString, 0 },
{ gText_EmptyString, 1 }, { sText_EmptyString, 1 },
{ gText_EmptyString, 2 }, { sText_EmptyString, 2 },
{ gText_EmptyString, 3 }, { sText_EmptyString, 3 },
{ gText_EmptyString, 4 }, { sText_EmptyString, 4 },
{ gText_EmptyString, 5 }, { sText_EmptyString, 5 },
{ gText_EmptyString, 6 }, { sText_EmptyString, 6 },
{ gText_EmptyString, 7 }, { sText_EmptyString, 7 },
{ gUnknown_082EFD84, 8 } { sText_Exit2, 8 }
}; };
const struct ListMenuTemplate gUnknown_082F03A4 = { const struct ListMenuTemplate gUnknown_082F03A4 = {
@@ -950,22 +945,22 @@ const struct WindowTemplate UnrefWindowTemplate_082F03B4 = {
}; };
const struct ListMenuItem gUnknown_082F03C4[] = { const struct ListMenuItem gUnknown_082F03C4[] = {
{ gText_EmptyString, 0 }, { sText_EmptyString, 0 },
{ gText_EmptyString, 1 }, { sText_EmptyString, 1 },
{ gText_EmptyString, 2 }, { sText_EmptyString, 2 },
{ gText_EmptyString, 3 }, { sText_EmptyString, 3 },
{ gText_EmptyString, 4 }, { sText_EmptyString, 4 },
{ gText_EmptyString, 5 }, { sText_EmptyString, 5 },
{ gText_EmptyString, 6 }, { sText_EmptyString, 6 },
{ gText_EmptyString, 7 }, { sText_EmptyString, 7 },
{ gText_EmptyString, 8 }, { sText_EmptyString, 8 },
{ gText_EmptyString, 9 }, { sText_EmptyString, 9 },
{ gText_EmptyString, 10 }, { sText_EmptyString, 10 },
{ gText_EmptyString, 11 }, { sText_EmptyString, 11 },
{ gText_EmptyString, 12 }, { sText_EmptyString, 12 },
{ gText_EmptyString, 13 }, { sText_EmptyString, 13 },
{ gText_EmptyString, 14 }, { sText_EmptyString, 14 },
{ gText_EmptyString, 15 } { sText_EmptyString, 15 }
}; };
const struct ListMenuTemplate UnrefListMenuTemplate_082F0444 = { const struct ListMenuTemplate UnrefListMenuTemplate_082F0444 = {
+20 -20
View File
@@ -2704,17 +2704,17 @@ static const u16 gUnknown_082F7B50[][4] =
{9999, 9999, 9999, 0}, {9999, 9999, 9999, 0},
}; };
static const u8 gUnknown_082F7B78[] = _("あいうえおかき"); static const u8 sJPText_Vowels[] = _("あいうえおかき");
static const u8 gUnknown_082F7B80[] = _("ABCDEFG"); static const u8 sText_ABCDEFG[] = _("ABCDEFG");
static const u8 gUnknown_082F7B88[] = _("0123456"); static const u8 sText_0123456[] = _("0123456");
static const u8 *const gUnknown_082F7B90[] = static const u8 *const sPlaceholderPlayerNames[] =
{ {
gUnknown_082F7B78, sJPText_Vowels,
gUnknown_082F7B78, sJPText_Vowels,
gUnknown_082F7B78, sJPText_Vowels,
gUnknown_082F7B80, sText_ABCDEFG,
gUnknown_082F7B88 sText_0123456
}; };
static void sub_8027D20(void) static void sub_8027D20(void)
@@ -2726,8 +2726,8 @@ static void sub_8027D38(void)
{ {
u8 i, playerId; u8 i, playerId;
for (playerId = gUnknown_02022C98->unk24; playerId < 5; playerId++) for (playerId = gUnknown_02022C98->unk24; playerId < ARRAY_COUNT(sPlaceholderPlayerNames); playerId++)
StringCopy(gLinkPlayers[playerId].name, gUnknown_082F7B90[playerId]); StringCopy(gLinkPlayers[playerId].name, sPlaceholderPlayerNames[playerId]);
gUnknown_02022C98->unk24 = 5; gUnknown_02022C98->unk24 = 5;
for (i = 0; i < 4; i++) for (i = 0; i < 4; i++)
@@ -4386,12 +4386,12 @@ struct WinCoords
u8 top; u8 top;
}; };
static const u8 gUnknown_082FB380[][3] = static const u8 sTextColorTable[][3] =
{ {
{1, 2, 3}, {TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY},
{1, 4, 5}, {TEXT_COLOR_WHITE, TEXT_COLOR_RED, TEXT_COLOR_LIGHT_RED},
{1, 8, 9}, {TEXT_COLOR_WHITE, TEXT_COLOR_BLUE, TEXT_COLOR_LIGHT_BLUE},
{1, 6, 7}, {TEXT_COLOR_WHITE, TEXT_COLOR_GREEN, TEXT_COLOR_LIGHT_GREEN},
}; };
static const struct WinCoords gUnknown_082FB38C[] = {{12, 6}}; static const struct WinCoords gUnknown_082FB38C[] = {{12, 6}};
@@ -4525,7 +4525,7 @@ static void sub_8029440(void)
if (id == GetMultiplayerId()) if (id == GetMultiplayerId())
colorsId = 2; colorsId = 2;
name = sub_8027660(id); name = sub_8027660(id);
AddTextPrinterParameterized3(gUnknown_02022CF8->unk3008[i], 1, left, 1, gUnknown_082FB380[colorsId], -1, name); AddTextPrinterParameterized3(gUnknown_02022CF8->unk3008[i], 1, left, 1, sTextColorTable[colorsId], -1, name);
CopyWindowToVram(gUnknown_02022CF8->unk3008[i], 2); CopyWindowToVram(gUnknown_02022CF8->unk3008[i], 2);
window.baseBlock += 0xE; window.baseBlock += 0xE;
sub_8029174(&window); sub_8029174(&window);
@@ -4609,7 +4609,7 @@ static void sub_80296A8(u8 playersCount_)
if (id == GetMultiplayerId()) if (id == GetMultiplayerId())
colorsId = 2; colorsId = 2;
name = sub_8027660(id); name = sub_8027660(id);
AddTextPrinterParameterized3(gUnknown_02022CF8->unk3008[1], 1, 28, gUnknown_082FB402[i], gUnknown_082FB380[colorsId], -1, name); AddTextPrinterParameterized3(gUnknown_02022CF8->unk3008[1], 1, 28, gUnknown_082FB402[i], sTextColorTable[colorsId], -1, name);
ConvertIntToDecimalStringN(numString, points, STR_CONV_MODE_LEFT_ALIGN, 7); ConvertIntToDecimalStringN(numString, points, STR_CONV_MODE_LEFT_ALIGN, 7);
numWidth = GetStringWidth(1, numString, -1); numWidth = GetStringWidth(1, numString, -1);
AddTextPrinterParameterized(gUnknown_02022CF8->unk3008[1], 1, numString, x - numWidth, gUnknown_082FB402[i], -1, NULL); AddTextPrinterParameterized(gUnknown_02022CF8->unk3008[1], 1, numString, x - numWidth, gUnknown_082FB402[i], -1, NULL);
@@ -4653,7 +4653,7 @@ static void sub_802988C(void)
colorsId = 2; colorsId = 2;
name = sub_8027660(i); name = sub_8027660(i);
AddTextPrinterParameterized3(gUnknown_02022CF8->unk3008[1], 1, 0, gUnknown_082FB3F8[i], gUnknown_082FB380[colorsId], -1, name); AddTextPrinterParameterized3(gUnknown_02022CF8->unk3008[1], 1, 0, gUnknown_082FB3F8[i], sTextColorTable[colorsId], -1, name);
for (j = 0; j < 4; j++) for (j = 0; j < 4; j++)
{ {
u32 width; u32 width;
@@ -4663,7 +4663,7 @@ static void sub_802988C(void)
ConvertIntToDecimalStringN(gStringVar4, result1, STR_CONV_MODE_LEFT_ALIGN, 4); ConvertIntToDecimalStringN(gStringVar4, result1, STR_CONV_MODE_LEFT_ALIGN, 4);
width = GetStringWidth(1, gStringVar4, -1); width = GetStringWidth(1, gStringVar4, -1);
if (result2 == result1 && result2 != 0) if (result2 == result1 && result2 != 0)
AddTextPrinterParameterized3(gUnknown_02022CF8->unk3008[1], 1, gUnknown_082FB3F0[j] - width, gUnknown_082FB3F8[i], gUnknown_082FB380[1], -1, gStringVar4); AddTextPrinterParameterized3(gUnknown_02022CF8->unk3008[1], 1, gUnknown_082FB3F0[j] - width, gUnknown_082FB3F8[i], sTextColorTable[1], -1, gStringVar4);
else else
AddTextPrinterParameterized(gUnknown_02022CF8->unk3008[1], 1, gStringVar4, gUnknown_082FB3F0[j] - width, gUnknown_082FB3F8[i], -1, NULL); AddTextPrinterParameterized(gUnknown_02022CF8->unk3008[1], 1, gStringVar4, gUnknown_082FB3F0[j] - width, gUnknown_082FB3F8[i], -1, NULL);
} }
+6 -6
View File
@@ -3703,7 +3703,7 @@ static void sub_811CFCC(void)
xOffset = GetStringCenterAlignXOffset(1, titleText, 144); xOffset = GetStringCenterAlignXOffset(1, titleText, 144);
FillWindowPixelBuffer(0, PIXEL_FILL(0)); FillWindowPixelBuffer(0, PIXEL_FILL(0));
sub_811D058(0, 1, titleText, xOffset, 1, 0xFF, 0, 2, 3); sub_811D058(0, 1, titleText, xOffset, 1, 0xFF, TEXT_COLOR_TRANSPARENT, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY);
PutWindowTilemap(0); PutWindowTilemap(0);
CopyWindowToVram(0, 3); CopyWindowToVram(0, 3);
} }
@@ -3713,12 +3713,12 @@ void sub_811D028(u8 windowId, u8 fontId, const u8 *str, u8 x, u8 y, u8 speed, vo
AddTextPrinterParameterized(windowId, fontId, str, x, y, speed, callback); AddTextPrinterParameterized(windowId, fontId, str, x, y, speed, callback);
} }
static void sub_811D058(u8 windowId, u8 fontId, const u8 *str, u8 left, u8 top, u8 speed, u8 red, u8 green, u8 blue) static void sub_811D058(u8 windowId, u8 fontId, const u8 *str, u8 left, u8 top, u8 speed, u8 bg, u8 fg, u8 shadow)
{ {
u8 color[3]; u8 color[3];
color[0] = red; color[0] = bg;
color[1] = green; color[1] = fg;
color[2] = blue; color[2] = shadow;
AddTextPrinterParameterized3(windowId, fontId, left, top, color, speed, str); AddTextPrinterParameterized3(windowId, fontId, left, top, color, speed, str);
} }
@@ -4089,7 +4089,7 @@ static void sub_811D864(u8 arg0, u8 arg1)
if (!sub_811BF88(easyChatWord)) if (!sub_811BF88(easyChatWord))
sub_811D028(2, 1, sUnknown_0203A11C->unkCC, (j * 13 + 3) * 8, y, 0xFF, NULL); sub_811D028(2, 1, sUnknown_0203A11C->unkCC, (j * 13 + 3) * 8, y, 0xFF, NULL);
else else
sub_811D058(2, 1, sUnknown_0203A11C->unkCC, (j * 13 + 3) * 8, y, 0xFF, 1, 5, 3); sub_811D058(2, 1, sUnknown_0203A11C->unkCC, (j * 13 + 3) * 8, y, 0xFF, TEXT_COLOR_WHITE, TEXT_COLOR_LIGHT_RED, TEXT_COLOR_LIGHT_GREY);
} }
} }
+14 -14
View File
@@ -251,7 +251,7 @@ static void sub_81D5084(u8 taskId)
switch (data->unk8) switch (data->unk8)
{ {
case 0: case 0:
if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9, gUnknown_085EDFD6)) if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9, gJPText_ReceiveMysteryGiftWithEReader))
data->unk8 = 1; data->unk8 = 1;
break; break;
case 1: case 1:
@@ -275,9 +275,9 @@ static void sub_81D5084(u8 taskId)
} }
break; break;
case 4: case 4:
if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9, gUnknown_085EDFF5)) if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9, gJPText_SelectConnectFromEReaderMenu))
{ {
AddTextPrinterToWindow1(gUnknown_085EE014); AddTextPrinterToWindow1(gJPText_SelectConnectWithGBA);
sub_81D505C(&data->unk0); sub_81D505C(&data->unk0);
data->unk8 = 5; data->unk8 = 5;
} }
@@ -324,11 +324,11 @@ static void sub_81D5084(u8 taskId)
} }
break; break;
case 7: case 7:
if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9, gUnknown_085EE05C)) if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9, gJPText_LinkIsIncorrect))
data->unk8 = 4; data->unk8 = 4;
break; break;
case 8: case 8:
AddTextPrinterToWindow1(gUnknown_085EE097); AddTextPrinterToWindow1(gJPText_Connecting);
// XXX: This (u32*) cast is discarding the const qualifier from gUnknown_089A3470 // XXX: This (u32*) cast is discarding the const qualifier from gUnknown_089A3470
sub_81D4D50(&gUnknown_03006370, gMultiBootProgram_BerryGlitchFix_Start - gUnknown_089A3470, (u32*)gUnknown_089A3470); sub_81D4D50(&gUnknown_03006370, gMultiBootProgram_BerryGlitchFix_Start - gUnknown_089A3470, (u32*)gUnknown_089A3470);
data->unk8 = 9; data->unk8 = 9;
@@ -347,7 +347,7 @@ static void sub_81D5084(u8 taskId)
else if (data->unkE == 1) else if (data->unkE == 1)
{ {
sub_81D505C(&data->unk0); sub_81D505C(&data->unk0);
AddTextPrinterToWindow1(gUnknown_085EE120); AddTextPrinterToWindow1(gJPText_PleaseWaitAMoment);
data->unk8 = 11; data->unk8 = 11;
} }
else else
@@ -361,7 +361,7 @@ static void sub_81D5084(u8 taskId)
break; break;
case 12: case 12:
sub_81D4E30(); sub_81D4E30();
AddTextPrinterToWindow1(gUnknown_085EE0DC); AddTextPrinterToWindow1(gJPText_AllowEReaderToLoadCard);
data->unk8 = 13; data->unk8 = 13;
break; break;
case 13: case 13:
@@ -370,7 +370,7 @@ static void sub_81D5084(u8 taskId)
case 0: case 0:
break; break;
case 2: case 2:
AddTextPrinterToWindow1(gUnknown_085EE097); AddTextPrinterToWindow1(gJPText_Connecting);
data->unk8 = 14; data->unk8 = 14;
break; break;
case 1: case 1:
@@ -418,7 +418,7 @@ static void sub_81D5084(u8 taskId)
case 17: case 17:
if (TryWriteTrainerHill((struct EReaderTrainerHillSet *)&gDecompressionBuffer)) if (TryWriteTrainerHill((struct EReaderTrainerHillSet *)&gDecompressionBuffer))
{ {
AddTextPrinterToWindow1(gUnknown_085EE0FA); AddTextPrinterToWindow1(gJPText_ConnectionComplete);
sub_81D505C(&data->unk0); sub_81D505C(&data->unk0);
data->unk8 = 18; data->unk8 = 18;
} }
@@ -430,7 +430,7 @@ static void sub_81D5084(u8 taskId)
case 18: case 18:
if (sub_81D5064(&data->unk0, 120)) if (sub_81D5064(&data->unk0, 120))
{ {
AddTextPrinterToWindow1(gUnknown_085EE107); AddTextPrinterToWindow1(gJPText_NewTrainerHasComeToHoenn);
PlayFanfare(MUS_FANFA4); PlayFanfare(MUS_FANFA4);
data->unk8 = 19; data->unk8 = 19;
} }
@@ -440,19 +440,19 @@ static void sub_81D5084(u8 taskId)
data->unk8 = 26; data->unk8 = 26;
break; break;
case 23: case 23:
if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9,gUnknown_085EE06B)) if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9, gJPText_CardReadingHasBeenHalted))
data->unk8 = 26; data->unk8 = 26;
break; break;
case 20: case 20:
if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9, gUnknown_085EE0A3)) if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9, gJPText_ConnectionErrorCheckLink))
data->unk8 = 0; data->unk8 = 0;
break; break;
case 21: case 21:
if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9, gUnknown_085EE0BF)) if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9, gJPText_ConnectionErrorTryAgain))
data->unk8 = 0; data->unk8 = 0;
break; break;
case 22: case 22:
if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9, gUnknown_085EE12D)) if (MG_PrintTextOnWindow1AndWaitButton(&data->unk9, gJPText_WriteErrorUnableToSaveData))
data->unk8 = 0; data->unk8 = 0;
break; break;
case 26: case 26:
+25 -25
View File
@@ -288,9 +288,9 @@ static const struct WindowTemplate sMapWindowTemplates[] =
static const u8 sTextColors[][3] = static const u8 sTextColors[][3] =
{ {
{0, 2, 3}, {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY},
{0, 1, 9}, {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_WHITE, TEXT_COLOR_LIGHT_BLUE},
{0, 4, 5}, {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_RED, TEXT_COLOR_LIGHT_RED},
}; };
struct struct
@@ -483,21 +483,21 @@ static const struct SpriteTemplate sSpriteTemplate_Head =
static const u8 *const sPassAreaDescriptions[] = static const u8 *const sPassAreaDescriptions[] =
{ {
gUnknown_085EDA96, gText_ThereIsNoBattleRecord,
gUnknown_085ED932, gText_CheckFrontierMap,
gUnknown_085ED94D, gText_CheckTrainerCard,
gUnknown_085ED961, gText_ViewRecordedBattle,
gUnknown_085ED977, gText_PutAwayFrontierPass,
gUnknown_085ED993, gText_CurrentBattlePoints,
gUnknown_085ED9AF, gText_CollectedSymbols,
gUnknown_085ED9C7, gText_BattleTowerAbilitySymbol,
gUnknown_085ED9E5, gText_BattleDomeTacticsSymbol,
gUnknown_085EDA02, gText_BattlePalaceSpiritsSymbol,
gUnknown_085EDA21, gText_BattleArenaGutsSymbol,
gUnknown_085EDA3C, gText_BattleFactoryKnowledgeSymbol,
gUnknown_085EDA5E, gText_BattlePikeLuckSymbol,
gUnknown_085EDA78, gText_BattlePyramidBraveSymbol,
gUnknown_085ED931, gText_EmptyString7,
}; };
struct struct
@@ -509,13 +509,13 @@ struct
u8 animNum; u8 animNum;
} static const sMapLandmarks[] = } static const sMapLandmarks[] =
{ {
{gUnknown_085EDAB1, gUnknown_085EDB0F, 0x59, 0x28, 1}, {gText_BattleTower3, gText_BattleTowerDesc, 0x59, 0x28, 1},
{gUnknown_085EDABE, gUnknown_085EDB4E, 0x21, 0x2A, 1}, {gText_BattleDome2, gText_BattleDomeDesc, 0x21, 0x2A, 1},
{gUnknown_085EDACA, gUnknown_085EDB8B, 0x78, 0x56, 0}, {gText_BattlePalace2, gText_BattlePalaceDesc, 0x78, 0x56, 0},
{gUnknown_085EDAD8, gUnknown_085EDBC2, 0x72, 0x3B, 0}, {gText_BattleArena2, gText_BattleArenaDesc, 0x72, 0x3B, 0},
{gUnknown_085EDAE5, gUnknown_085EDC00, 0x19, 0x43, 0}, {gText_BattleFactory2, gText_BattleFactoryDesc, 0x19, 0x43, 0},
{gUnknown_085EDAF4, gUnknown_085EDC45, 0x39, 0x39, 1}, {gText_BattlePike2, gText_BattlePikeDesc, 0x39, 0x39, 1},
{gUnknown_085EDB00, gUnknown_085EDC84, 0x86, 0x29, 1}, {gText_BattlePyramid2, gText_BattlePyramidDesc, 0x86, 0x29, 1},
}; };
// code // code
+17 -16
View File
@@ -138,9 +138,10 @@ static const struct BgTemplate sHof_BgTemplates[] =
static const struct WindowTemplate sHof_WindowTemplate = {0, 2, 2, 0xE, 6, 0xE, 1}; static const struct WindowTemplate sHof_WindowTemplate = {0, 2, 2, 0xE, 6, 0xE, 1};
static const u8 sUnknown_085E5388[] = {0, 1, 2, 0}; static const u8 sMonInfoTextColors[4] = {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY};
static const u8 sPlayerInfoTextColors[4] = {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY};
static const u8 sUnknown_085E538C[] = {0, 2, 3, 0, 4, 5, 0, 0}; static const u8 sUnused_085E538C[] = {4, 5, 0, 0};
static const struct CompressedSpriteSheet sHallOfFame_ConfettiSpriteSheet[] = static const struct CompressedSpriteSheet sHallOfFame_ConfettiSpriteSheet[] =
{ {
@@ -1063,7 +1064,7 @@ static void Task_HofPC_HandleExit(u8 taskId)
static void Task_HofPC_PrintDataIsCorrupted(u8 taskId) static void Task_HofPC_PrintDataIsCorrupted(u8 taskId)
{ {
sub_8198180(gText_UnkCtrlF800Exit, 8, TRUE); sub_8198180(gText_AButtonExit, 8, TRUE);
DrawDialogueFrame(0, 0); DrawDialogueFrame(0, 0);
AddTextPrinterParameterized2(0, 1, gText_HOFCorrupted, 0, NULL, 2, 1, 3); AddTextPrinterParameterized2(0, 1, gText_HOFCorrupted, 0, NULL, 2, 1, 3);
CopyWindowToVram(0, 3); CopyWindowToVram(0, 3);
@@ -1086,7 +1087,7 @@ static void HallOfFame_PrintWelcomeText(u8 unusedPossiblyWindowId, u8 unused2)
{ {
FillWindowPixelBuffer(0, PIXEL_FILL(0)); FillWindowPixelBuffer(0, PIXEL_FILL(0));
PutWindowTilemap(0); PutWindowTilemap(0);
AddTextPrinterParameterized3(0, 1, GetStringCenterAlignXOffset(1, gText_WelcomeToHOF, 0xD0), 1, sUnknown_085E5388, 0, gText_WelcomeToHOF); AddTextPrinterParameterized3(0, 1, GetStringCenterAlignXOffset(1, gText_WelcomeToHOF, 0xD0), 1, sMonInfoTextColors, 0, gText_WelcomeToHOF);
CopyWindowToVram(0, 3); CopyWindowToVram(0, 3);
} }
@@ -1122,7 +1123,7 @@ static void HallOfFame_PrintMonInfo(struct HallofFameMon* currMon, u8 unused1, u
*(stringPtr)++ = CHAR_QUESTION_MARK; *(stringPtr)++ = CHAR_QUESTION_MARK;
} }
stringPtr[0] = EOS; stringPtr[0] = EOS;
AddTextPrinterParameterized3(0, 1, 0x10, 1, sUnknown_085E5388, -1, text); AddTextPrinterParameterized3(0, 1, 0x10, 1, sMonInfoTextColors, -1, text);
} }
// nick, species names, gender and level // nick, species names, gender and level
@@ -1131,13 +1132,13 @@ static void HallOfFame_PrintMonInfo(struct HallofFameMon* currMon, u8 unused1, u
if (currMon->species == SPECIES_EGG) if (currMon->species == SPECIES_EGG)
{ {
width = GetStringCenterAlignXOffset(1, text, 0xD0); width = GetStringCenterAlignXOffset(1, text, 0xD0);
AddTextPrinterParameterized3(0, 1, width, 1, sUnknown_085E5388, -1, text); AddTextPrinterParameterized3(0, 1, width, 1, sMonInfoTextColors, -1, text);
CopyWindowToVram(0, 3); CopyWindowToVram(0, 3);
} }
else else
{ {
width = GetStringRightAlignXOffset(1, text, 0x80); width = GetStringRightAlignXOffset(1, text, 0x80);
AddTextPrinterParameterized3(0, 1, width, 1, sUnknown_085E5388, -1, text); AddTextPrinterParameterized3(0, 1, width, 1, sMonInfoTextColors, -1, text);
text[0] = CHAR_SLASH; text[0] = CHAR_SLASH;
stringPtr = StringCopy(text + 1, gSpeciesNames[currMon->species]); stringPtr = StringCopy(text + 1, gSpeciesNames[currMon->species]);
@@ -1158,15 +1159,15 @@ static void HallOfFame_PrintMonInfo(struct HallofFameMon* currMon, u8 unused1, u
} }
stringPtr[0] = EOS; stringPtr[0] = EOS;
AddTextPrinterParameterized3(0, 1, 0x80, 1, sUnknown_085E5388, -1, text); AddTextPrinterParameterized3(0, 1, 0x80, 1, sMonInfoTextColors, -1, text);
stringPtr = StringCopy(text, gText_Level); stringPtr = StringCopy(text, gText_Level);
ConvertIntToDecimalStringN(stringPtr, currMon->lvl, STR_CONV_MODE_LEFT_ALIGN, 3); ConvertIntToDecimalStringN(stringPtr, currMon->lvl, STR_CONV_MODE_LEFT_ALIGN, 3);
AddTextPrinterParameterized3(0, 1, 0x24, 0x11, sUnknown_085E5388, -1, text); AddTextPrinterParameterized3(0, 1, 0x24, 0x11, sMonInfoTextColors, -1, text);
stringPtr = StringCopy(text, gText_IDNumber); stringPtr = StringCopy(text, gText_IDNumber);
ConvertIntToDecimalStringN(stringPtr, (u16)(currMon->tid), STR_CONV_MODE_LEADING_ZEROS, 5); ConvertIntToDecimalStringN(stringPtr, (u16)(currMon->tid), STR_CONV_MODE_LEADING_ZEROS, 5);
AddTextPrinterParameterized3(0, 1, 0x68, 0x11, sUnknown_085E5388, -1, text); AddTextPrinterParameterized3(0, 1, 0x68, 0x11, sMonInfoTextColors, -1, text);
CopyWindowToVram(0, 3); CopyWindowToVram(0, 3);
} }
@@ -1181,13 +1182,13 @@ static void HallOfFame_PrintPlayerInfo(u8 unused1, u8 unused2)
FillWindowPixelBuffer(1, PIXEL_FILL(1)); FillWindowPixelBuffer(1, PIXEL_FILL(1));
PutWindowTilemap(1); PutWindowTilemap(1);
DrawStdFrameWithCustomTileAndPalette(1, FALSE, 0x21D, 0xD); DrawStdFrameWithCustomTileAndPalette(1, FALSE, 0x21D, 0xD);
AddTextPrinterParameterized3(1, 1, 0, 1, sUnknown_085E538C, -1, gText_Name); AddTextPrinterParameterized3(1, 1, 0, 1, sPlayerInfoTextColors, -1, gText_Name);
width = GetStringRightAlignXOffset(1, gSaveBlock2Ptr->playerName, 0x70); width = GetStringRightAlignXOffset(1, gSaveBlock2Ptr->playerName, 0x70);
AddTextPrinterParameterized3(1, 1, width, 1, sUnknown_085E538C, -1, gSaveBlock2Ptr->playerName); AddTextPrinterParameterized3(1, 1, width, 1, sPlayerInfoTextColors, -1, gSaveBlock2Ptr->playerName);
trainerId = (gSaveBlock2Ptr->playerTrainerId[0]) | (gSaveBlock2Ptr->playerTrainerId[1] << 8); trainerId = (gSaveBlock2Ptr->playerTrainerId[0]) | (gSaveBlock2Ptr->playerTrainerId[1] << 8);
AddTextPrinterParameterized3(1, 1, 0, 0x11, sUnknown_085E538C, 0, gText_IDNumber); AddTextPrinterParameterized3(1, 1, 0, 0x11, sPlayerInfoTextColors, 0, gText_IDNumber);
text[0] = (trainerId % 100000) / 10000 + CHAR_0; text[0] = (trainerId % 100000) / 10000 + CHAR_0;
text[1] = (trainerId % 10000) / 1000 + CHAR_0; text[1] = (trainerId % 10000) / 1000 + CHAR_0;
text[2] = (trainerId % 1000) / 100 + CHAR_0; text[2] = (trainerId % 1000) / 100 + CHAR_0;
@@ -1195,9 +1196,9 @@ static void HallOfFame_PrintPlayerInfo(u8 unused1, u8 unused2)
text[4] = (trainerId % 10) / 1 + CHAR_0; text[4] = (trainerId % 10) / 1 + CHAR_0;
text[5] = EOS; text[5] = EOS;
width = GetStringRightAlignXOffset(1, text, 0x70); width = GetStringRightAlignXOffset(1, text, 0x70);
AddTextPrinterParameterized3(1, 1, width, 0x11, sUnknown_085E538C, -1, text); AddTextPrinterParameterized3(1, 1, width, 0x11, sPlayerInfoTextColors, -1, text);
AddTextPrinterParameterized3(1, 1, 0, 0x21, sUnknown_085E538C, -1, gText_MainMenuTime); AddTextPrinterParameterized3(1, 1, 0, 0x21, sPlayerInfoTextColors, -1, gText_Time);
text[0] = (gSaveBlock2Ptr->playTimeHours / 100) + CHAR_0; text[0] = (gSaveBlock2Ptr->playTimeHours / 100) + CHAR_0;
text[1] = (gSaveBlock2Ptr->playTimeHours % 100) / 10 + CHAR_0; text[1] = (gSaveBlock2Ptr->playTimeHours % 100) / 10 + CHAR_0;
text[2] = (gSaveBlock2Ptr->playTimeHours % 10) + CHAR_0; text[2] = (gSaveBlock2Ptr->playTimeHours % 10) + CHAR_0;
@@ -1213,7 +1214,7 @@ static void HallOfFame_PrintPlayerInfo(u8 unused1, u8 unused2)
text[6] = EOS; text[6] = EOS;
width = GetStringRightAlignXOffset(1, text, 0x70); width = GetStringRightAlignXOffset(1, text, 0x70);
AddTextPrinterParameterized3(1, 1, width, 0x21, sUnknown_085E538C, -1, text); AddTextPrinterParameterized3(1, 1, width, 0x21, sPlayerInfoTextColors, -1, text);
CopyWindowToVram(1, 3); CopyWindowToVram(1, 3);
} }
+2 -2
View File
@@ -797,13 +797,13 @@ void GetItemName(s8 *dest, u16 itemId)
else else
{ {
ConvertIntToDecimalStringN(gStringVar1, itemId - ITEM_TM01 + 1, STR_CONV_MODE_LEADING_ZEROS, 2); ConvertIntToDecimalStringN(gStringVar1, itemId - ITEM_TM01 + 1, STR_CONV_MODE_LEADING_ZEROS, 2);
StringExpandPlaceholders(dest, gText_UnkF908Var1Clear7Var2); StringExpandPlaceholders(dest, gText_NumberVar1Clear7Var2);
} }
break; break;
case BERRIES_POCKET: case BERRIES_POCKET:
ConvertIntToDecimalStringN(gStringVar1, itemId - ITEM_CHERI_BERRY + 1, STR_CONV_MODE_LEADING_ZEROS, 2); ConvertIntToDecimalStringN(gStringVar1, itemId - ITEM_CHERI_BERRY + 1, STR_CONV_MODE_LEADING_ZEROS, 2);
CopyItemName(itemId, gStringVar2); CopyItemName(itemId, gStringVar2);
StringExpandPlaceholders(dest, gText_UnkF908Var1Clear7Var2); StringExpandPlaceholders(dest, gText_NumberVar1Clear7Var2);
break; break;
default: default:
CopyItemName(itemId, dest); CopyItemName(itemId, dest);
+8 -9
View File
@@ -213,10 +213,9 @@ const struct WindowTemplate gUnknown_082ED204[] = {
{0x00, 0x00, 0x0D, 0x1E, 0x07, 0x0F, 0x016A}, {0x00, 0x00, 0x0D, 0x1E, 0x07, 0x0F, 0x016A},
DUMMY_WIN_TEMPLATE DUMMY_WIN_TEMPLATE
}; };
const u8 gUnknown_082ED224[] = {
0x00, 0x01, 0x02, 0x00, static const u8 sTextColors[] = { TEXT_COLOR_TRANSPARENT, TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY };
0xff, 0xfe, 0xff, 0x00 static const u8 sUnused_082ED224[] = {0x00, 0xff, 0xfe, 0xff, 0x00};
};
// .text // .text
@@ -1688,8 +1687,8 @@ static void sub_800B080(void)
LoadPalette(gWirelessLinkDisplayPal, 0, 0x20); LoadPalette(gWirelessLinkDisplayPal, 0, 0x20);
FillWindowPixelBuffer(0, PIXEL_FILL(0)); FillWindowPixelBuffer(0, PIXEL_FILL(0));
FillWindowPixelBuffer(2, PIXEL_FILL(0)); FillWindowPixelBuffer(2, PIXEL_FILL(0));
AddTextPrinterParameterized3(0, 3, 2, 6, gUnknown_082ED224, 0, gText_CommErrorEllipsis); AddTextPrinterParameterized3(0, 3, 2, 6, sTextColors, 0, gText_CommErrorEllipsis);
AddTextPrinterParameterized3(2, 3, 2, 1, gUnknown_082ED224, 0, gText_MoveCloserToLinkPartner); AddTextPrinterParameterized3(2, 3, 2, 1, sTextColors, 0, gText_MoveCloserToLinkPartner);
PutWindowTilemap(0); PutWindowTilemap(0);
PutWindowTilemap(2); PutWindowTilemap(2);
CopyWindowToVram(0, 0); CopyWindowToVram(0, 0);
@@ -1701,7 +1700,7 @@ static void sub_800B138(void)
LoadBgTiles(0, g2BlankTilesGfx, 0x20, 0); LoadBgTiles(0, g2BlankTilesGfx, 0x20, 0);
FillWindowPixelBuffer(1, PIXEL_FILL(0)); FillWindowPixelBuffer(1, PIXEL_FILL(0));
FillWindowPixelBuffer(2, PIXEL_FILL(0)); FillWindowPixelBuffer(2, PIXEL_FILL(0));
AddTextPrinterParameterized3(1, 3, 2, 0, gUnknown_082ED224, 0, gText_CommErrorCheckConnections); AddTextPrinterParameterized3(1, 3, 2, 0, sTextColors, 0, gText_CommErrorCheckConnections);
PutWindowTilemap(1); PutWindowTilemap(1);
PutWindowTilemap(2); PutWindowTilemap(2);
CopyWindowToVram(1, 0); CopyWindowToVram(1, 0);
@@ -1741,11 +1740,11 @@ static void CB2_PrintErrorMessage(void)
case 130: case 130:
if (gWirelessCommType == 2) if (gWirelessCommType == 2)
{ {
AddTextPrinterParameterized3(0, 3, 2, 20, gUnknown_082ED224, 0, gText_ABtnTitleScreen); AddTextPrinterParameterized3(0, 3, 2, 20, sTextColors, 0, gText_ABtnTitleScreen);
} }
else if (gWirelessCommType == 1) else if (gWirelessCommType == 1)
{ {
AddTextPrinterParameterized3(0, 3, 2, 20, gUnknown_082ED224, 0, gText_ABtnRegistrationCounter); AddTextPrinterParameterized3(0, 3, 2, 20, sTextColors, 0, gText_ABtnRegistrationCounter);
} }
break; break;
} }
+6 -6
View File
@@ -158,10 +158,10 @@ static const struct WindowTemplate sUnknown_0859F29C[] = {
DUMMY_WIN_TEMPLATE DUMMY_WIN_TEMPLATE
}; };
static const u8 sUnknown_0859F2AC[] = { static const u8 sTextColors[] = {
0, TEXT_COLOR_TRANSPARENT,
10, TEXT_DYNAMIC_COLOR_1,
11 TEXT_DYNAMIC_COLOR_2
}; };
static const u16 sUnknown_0859F2B0[][2] = { static const u16 sUnknown_0859F2B0[][2] = {
@@ -486,14 +486,14 @@ static void sub_8121B1C(void)
{ {
continue; continue;
} }
AddTextPrinterParameterized3(0, 1, sMailRead->layout->var8[i].xOffset + sMailRead->layout->wordsYPos, y + sMailRead->layout->wordsXPos, sUnknown_0859F2AC, 0, sMailRead->strbuf[i]); AddTextPrinterParameterized3(0, 1, sMailRead->layout->var8[i].xOffset + sMailRead->layout->wordsYPos, y + sMailRead->layout->wordsXPos, sTextColors, 0, sMailRead->strbuf[i]);
y += sMailRead->layout->var8[i].lineHeight; y += sMailRead->layout->var8[i].lineHeight;
} }
bufptr = StringCopy(strbuf, gText_FromSpace); bufptr = StringCopy(strbuf, gText_FromSpace);
StringCopy(bufptr, sMailRead->playerName); StringCopy(bufptr, sMailRead->playerName);
box_x = GetStringCenterAlignXOffset(1, strbuf, sMailRead->signatureWidth) + 0x68; box_x = GetStringCenterAlignXOffset(1, strbuf, sMailRead->signatureWidth) + 0x68;
box_y = sMailRead->layout->signatureYPos + 0x58; box_y = sMailRead->layout->signatureYPos + 0x58;
AddTextPrinterParameterized3(0, 1, box_x, box_y, sUnknown_0859F2AC, 0, strbuf); AddTextPrinterParameterized3(0, 1, box_x, box_y, sTextColors, 0, strbuf);
CopyWindowToVram(0, 3); CopyWindowToVram(0, 3);
CopyWindowToVram(1, 3); CopyWindowToVram(1, 3);
} }
+10 -10
View File
@@ -412,8 +412,8 @@ static const struct WindowTemplate gNewGameBirchSpeechTextWindows[] =
static const u16 sMainMenuBgPal[] = INCBIN_U16("graphics/misc/main_menu_bg.gbapal"); static const u16 sMainMenuBgPal[] = INCBIN_U16("graphics/misc/main_menu_bg.gbapal");
static const u16 sMainMenuTextPal[] = INCBIN_U16("graphics/misc/main_menu_text.gbapal"); static const u16 sMainMenuTextPal[] = INCBIN_U16("graphics/misc/main_menu_text.gbapal");
static const u8 sTextColor_Headers[] = {10, 11, 12}; static const u8 sTextColor_Headers[] = {TEXT_DYNAMIC_COLOR_1, TEXT_DYNAMIC_COLOR_2, TEXT_DYNAMIC_COLOR_3};
static const u8 sTextColor_PlayerGenderColor[] = {10, 1, 12}; static const u8 sTextColor_MenuInfo[] = {TEXT_DYNAMIC_COLOR_1, TEXT_COLOR_WHITE, TEXT_DYNAMIC_COLOR_3};
static const struct BgTemplate sMainMenuBgTemplates[] = { static const struct BgTemplate sMainMenuBgTemplates[] = {
{ {
@@ -2147,8 +2147,8 @@ static void MainMenu_FormatSavegameText(void)
static void MainMenu_FormatSavegamePlayer(void) static void MainMenu_FormatSavegamePlayer(void)
{ {
StringExpandPlaceholders(gStringVar4, gText_ContinueMenuPlayer); StringExpandPlaceholders(gStringVar4, gText_ContinueMenuPlayer);
AddTextPrinterParameterized3(2, 1, 0, 17, sTextColor_PlayerGenderColor, -1, gStringVar4); AddTextPrinterParameterized3(2, 1, 0, 17, sTextColor_MenuInfo, -1, gStringVar4);
AddTextPrinterParameterized3(2, 1, GetStringRightAlignXOffset(1, gSaveBlock2Ptr->playerName, 100), 17, sTextColor_PlayerGenderColor, -1, gSaveBlock2Ptr->playerName); AddTextPrinterParameterized3(2, 1, GetStringRightAlignXOffset(1, gSaveBlock2Ptr->playerName, 100), 17, sTextColor_MenuInfo, -1, gSaveBlock2Ptr->playerName);
} }
static void MainMenu_FormatSavegameTime(void) static void MainMenu_FormatSavegameTime(void)
@@ -2157,11 +2157,11 @@ static void MainMenu_FormatSavegameTime(void)
u8* ptr; u8* ptr;
StringExpandPlaceholders(gStringVar4, gText_ContinueMenuTime); StringExpandPlaceholders(gStringVar4, gText_ContinueMenuTime);
AddTextPrinterParameterized3(2, 1, 0x6C, 17, sTextColor_PlayerGenderColor, -1, gStringVar4); AddTextPrinterParameterized3(2, 1, 0x6C, 17, sTextColor_MenuInfo, -1, gStringVar4);
ptr = ConvertIntToDecimalStringN(str, gSaveBlock2Ptr->playTimeHours, STR_CONV_MODE_LEFT_ALIGN, 3); ptr = ConvertIntToDecimalStringN(str, gSaveBlock2Ptr->playTimeHours, STR_CONV_MODE_LEFT_ALIGN, 3);
*ptr = 0xF0; *ptr = 0xF0;
ConvertIntToDecimalStringN(ptr + 1, gSaveBlock2Ptr->playTimeMinutes, STR_CONV_MODE_LEADING_ZEROS, 2); ConvertIntToDecimalStringN(ptr + 1, gSaveBlock2Ptr->playTimeMinutes, STR_CONV_MODE_LEADING_ZEROS, 2);
AddTextPrinterParameterized3(2, 1, GetStringRightAlignXOffset(1, str, 0xD0), 17, sTextColor_PlayerGenderColor, -1, str); AddTextPrinterParameterized3(2, 1, GetStringRightAlignXOffset(1, str, 0xD0), 17, sTextColor_MenuInfo, -1, str);
} }
static void MainMenu_FormatSavegamePokedex(void) static void MainMenu_FormatSavegamePokedex(void)
@@ -2176,9 +2176,9 @@ static void MainMenu_FormatSavegamePokedex(void)
else else
dexCount = GetHoennPokedexCount(FLAG_GET_CAUGHT); dexCount = GetHoennPokedexCount(FLAG_GET_CAUGHT);
StringExpandPlaceholders(gStringVar4, gText_ContinueMenuPokedex); StringExpandPlaceholders(gStringVar4, gText_ContinueMenuPokedex);
AddTextPrinterParameterized3(2, 1, 0, 33, sTextColor_PlayerGenderColor, -1, gStringVar4); AddTextPrinterParameterized3(2, 1, 0, 33, sTextColor_MenuInfo, -1, gStringVar4);
ConvertIntToDecimalStringN(str, dexCount, STR_CONV_MODE_LEFT_ALIGN, 3); ConvertIntToDecimalStringN(str, dexCount, STR_CONV_MODE_LEFT_ALIGN, 3);
AddTextPrinterParameterized3(2, 1, GetStringRightAlignXOffset(1, str, 100), 33, sTextColor_PlayerGenderColor, -1, str); AddTextPrinterParameterized3(2, 1, GetStringRightAlignXOffset(1, str, 100), 33, sTextColor_MenuInfo, -1, str);
} }
} }
@@ -2194,9 +2194,9 @@ static void MainMenu_FormatSavegameBadges(void)
badgeCount++; badgeCount++;
} }
StringExpandPlaceholders(gStringVar4, gText_ContinueMenuBadges); StringExpandPlaceholders(gStringVar4, gText_ContinueMenuBadges);
AddTextPrinterParameterized3(2, 1, 0x6C, 33, sTextColor_PlayerGenderColor, -1, gStringVar4); AddTextPrinterParameterized3(2, 1, 0x6C, 33, sTextColor_MenuInfo, -1, gStringVar4);
ConvertIntToDecimalStringN(str, badgeCount, STR_CONV_MODE_LEADING_ZEROS, 1); ConvertIntToDecimalStringN(str, badgeCount, STR_CONV_MODE_LEADING_ZEROS, 1);
AddTextPrinterParameterized3(2, 1, GetStringRightAlignXOffset(1, str, 0xD0), 33, sTextColor_PlayerGenderColor, -1, str); AddTextPrinterParameterized3(2, 1, GetStringRightAlignXOffset(1, str, 0xD0), 33, sTextColor_MenuInfo, -1, str);
} }
static void LoadMainMenuWindowFrameTiles(u8 bgId, u16 tileOffset) static void LoadMainMenuWindowFrameTiles(u8 bgId, u16 tileOffset)
+8 -8
View File
@@ -96,7 +96,7 @@ static const struct WindowTemplate sYesNo_WindowTemplates =
}; };
const u16 gUnknown_0860F0B0[] = INCBIN_U16("graphics/interface/860F0B0.gbapal"); const u16 gUnknown_0860F0B0[] = INCBIN_U16("graphics/interface/860F0B0.gbapal");
const u8 gUnknown_0860F0D0[] = { 15, 1, 2 }; const u8 sTextColors[] = { TEXT_DYNAMIC_COLOR_6, TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY };
// Table of move info icon offsets in graphics/interface_fr/menu.png // Table of move info icon offsets in graphics/interface_fr/menu.png
const struct MoveMenuInfoIcon gMoveMenuInfoIcons[] = const struct MoveMenuInfoIcon gMoveMenuInfoIcons[] =
@@ -825,7 +825,7 @@ void sub_8198180(const u8 *string, u8 a2, bool8 copyToVram)
0, 0,
0xEC - (GetWindowAttribute(sWindowId, WINDOW_TILEMAP_LEFT) * 8) - a2 - width, 0xEC - (GetWindowAttribute(sWindowId, WINDOW_TILEMAP_LEFT) * 8) - a2 - width,
1, 1,
gUnknown_0860F0D0, sTextColors,
0, 0,
string); string);
if (copyToVram) if (copyToVram)
@@ -842,15 +842,15 @@ void sub_8198204(const u8 *string, const u8 *string2, u8 a3, u8 a4, bool8 copyTo
{ {
if (a3 != 0) if (a3 != 0)
{ {
color[0] = 0; color[0] = TEXT_COLOR_TRANSPARENT;
color[1] = 1; color[1] = TEXT_COLOR_WHITE;
color[2] = 2; color[2] = TEXT_COLOR_DARK_GREY;
} }
else else
{ {
color[0] = 15; color[0] = TEXT_DYNAMIC_COLOR_6;
color[1] = 1; color[1] = TEXT_COLOR_WHITE;
color[2] = 2; color[2] = TEXT_COLOR_DARK_GREY;
} }
PutWindowTilemap(sWindowId); PutWindowTilemap(sWindowId);
FillWindowPixelBuffer(sWindowId, PIXEL_FILL(15)); FillWindowPixelBuffer(sWindowId, PIXEL_FILL(15));
+11 -11
View File
@@ -72,9 +72,9 @@ static const struct WindowTemplate sUnknown_086253E8[] =
} }
}; };
static const u8 sUnknown_08625400[] = static const u8 sPlayerNameTextColors[] =
{ {
1, 2, 3 TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY
}; };
static const u8 sEmptyItemName[] = _(""); static const u8 sEmptyItemName[] = _("");
@@ -267,7 +267,7 @@ static void sub_81D1D44(u8 windowId, s32 itemId, u8 y)
length = StringLength(buffer); length = StringLength(buffer);
if (length <= 5) if (length <= 5)
ConvertInternationalString(buffer, LANGUAGE_JAPANESE); ConvertInternationalString(buffer, LANGUAGE_JAPANESE);
AddTextPrinterParameterized4(windowId, 1, 8, y, 0, 0, sUnknown_08625400, -1, buffer); AddTextPrinterParameterized4(windowId, 1, 8, y, 0, 0, sPlayerNameTextColors, -1, buffer);
} }
u8 sub_81D1DC0(struct PlayerPCItemPageStruct *page) u8 sub_81D1DC0(struct PlayerPCItemPageStruct *page)
@@ -1476,14 +1476,14 @@ static void sub_81D35E8(struct Sprite *sprite)
} }
} }
static const u8 *const sLvlUpStatStrings[] = static const u8 *const sLvlUpStatStrings[NUM_STATS] =
{ {
gUnknown_085EEA46, gText_MaxHP,
gUnknown_085EEA4E, gText_Attack,
gUnknown_085EEA55, gText_Defense,
gUnknown_085EEA63, gText_SpAtk,
gUnknown_085EEA6B, gText_SpDef,
gUnknown_085EEA5D gText_Speed
}; };
void DrawLevelUpWindowPg1(u16 windowId, u16 *statsBefore, u16 *statsAfter, u8 bgClr, u8 fgClr, u8 shadowClr) void DrawLevelUpWindowPg1(u16 windowId, u16 *statsBefore, u16 *statsAfter, u8 bgClr, u8 fgClr, u8 shadowClr)
@@ -1517,7 +1517,7 @@ void DrawLevelUpWindowPg1(u16 windowId, u16 *statsBefore, u16 *statsAfter, u8 bg
-1, -1,
sLvlUpStatStrings[i]); sLvlUpStatStrings[i]);
StringCopy(text, (statsDiff[i] >= 0) ? gText_UnkCtrlF904 : gText_Dash); StringCopy(text, (statsDiff[i] >= 0) ? gText_Plus : gText_Dash);
AddTextPrinterParameterized3(windowId, AddTextPrinterParameterized3(windowId,
1, 1,
56, 56,
+11 -11
View File
@@ -63,9 +63,9 @@ void sub_801C61C(void);
extern const struct OamData gOamData_AffineOff_ObjNormal_32x16; extern const struct OamData gOamData_AffineOff_ObjNormal_32x16;
const u8 gUnknown_082F0E10[][3] = { const u8 sTextColorTable[][3] = {
{0, 2, 3}, {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY},
{0, 1, 2} {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY}
}; };
const u8 ALIGNED(4) gUnknown_082F0E18[3] = {7, 4, 7}; const u8 ALIGNED(4) gUnknown_082F0E18[3] = {7, 4, 7};
const struct WindowTemplate gUnknown_082F0E1C[] = { const struct WindowTemplate gUnknown_082F0E1C[] = {
@@ -371,28 +371,28 @@ void sub_801C178(u8 whichWindow)
case 0: case 0:
{ {
s32 x; s32 x;
AddTextPrinterParameterized3(windowId, 3, 0, 1, gUnknown_082F0E10[sWonderCardData->unk_0170->textPal1], 0, sWonderCardData->unk_018B); AddTextPrinterParameterized3(windowId, 3, 0, 1, sTextColorTable[sWonderCardData->unk_0170->textPal1], 0, sWonderCardData->unk_018B);
x = 160 - GetStringWidth(3, sWonderCardData->unk_01B4, GetFontAttribute(3, 2)); x = 160 - GetStringWidth(3, sWonderCardData->unk_01B4, GetFontAttribute(3, 2));
if (x < 0) if (x < 0)
x = 0; x = 0;
AddTextPrinterParameterized3(windowId, 3, x, 17, gUnknown_082F0E10[sWonderCardData->unk_0170->textPal1], 0, sWonderCardData->unk_01B4); AddTextPrinterParameterized3(windowId, 3, x, 17, sTextColorTable[sWonderCardData->unk_0170->textPal1], 0, sWonderCardData->unk_01B4);
if (sWonderCardData->unk_0000.unk_04 != 0) if (sWonderCardData->unk_0000.unk_04 != 0)
{ {
AddTextPrinterParameterized3(windowId, 1, 166, 17, gUnknown_082F0E10[sWonderCardData->unk_0170->textPal1], 0, sWonderCardData->unk_01DD); AddTextPrinterParameterized3(windowId, 1, 166, 17, sTextColorTable[sWonderCardData->unk_0170->textPal1], 0, sWonderCardData->unk_01DD);
} }
break; break;
} }
case 1: case 1:
for (; sp0C < 4; sp0C++) for (; sp0C < 4; sp0C++)
{ {
AddTextPrinterParameterized3(windowId, 3, 0, 16 * sp0C + 2, gUnknown_082F0E10[sWonderCardData->unk_0170->textPal2], 0, sWonderCardData->unk_01E4[sp0C]); AddTextPrinterParameterized3(windowId, 3, 0, 16 * sp0C + 2, sTextColorTable[sWonderCardData->unk_0170->textPal2], 0, sWonderCardData->unk_01E4[sp0C]);
} }
break; break;
case 2: case 2:
AddTextPrinterParameterized3(windowId, 3, 0, gUnknown_082F0E18[sWonderCardData->unk_0000.unk_08_0], gUnknown_082F0E10[sWonderCardData->unk_0170->textPal3], 0, sWonderCardData->unk_0288); AddTextPrinterParameterized3(windowId, 3, 0, gUnknown_082F0E18[sWonderCardData->unk_0000.unk_08_0], sTextColorTable[sWonderCardData->unk_0170->textPal3], 0, sWonderCardData->unk_0288);
if (sWonderCardData->unk_0000.unk_08_0 != 2) if (sWonderCardData->unk_0000.unk_08_0 != 2)
{ {
AddTextPrinterParameterized3(windowId, 3, 0, 16 + gUnknown_082F0E18[sWonderCardData->unk_0000.unk_08_0], gUnknown_082F0E10[sWonderCardData->unk_0170->textPal3], 0, sWonderCardData->unk_02B1); AddTextPrinterParameterized3(windowId, 3, 0, 16 + gUnknown_082F0E18[sWonderCardData->unk_0000.unk_08_0], sTextColorTable[sWonderCardData->unk_0170->textPal3], 0, sWonderCardData->unk_02B1);
} }
else else
{ {
@@ -401,11 +401,11 @@ void sub_801C178(u8 whichWindow)
s32 spacing = GetFontAttribute(3, 2); s32 spacing = GetFontAttribute(3, 2);
for (; sp0C < sWonderCardData->unk_0175; sp0C++) for (; sp0C < sWonderCardData->unk_0175; sp0C++)
{ {
AddTextPrinterParameterized3(windowId, 3, x, y, gUnknown_082F0E10[sWonderCardData->unk_0170->textPal3], 0, sWonderCardData->unk_02DC[sp0C].unk_01); AddTextPrinterParameterized3(windowId, 3, x, y, sTextColorTable[sWonderCardData->unk_0170->textPal3], 0, sWonderCardData->unk_02DC[sp0C].unk_01);
if (sWonderCardData->unk_02DC[sp0C].unk_42[0] != EOS) if (sWonderCardData->unk_02DC[sp0C].unk_42[0] != EOS)
{ {
x += GetStringWidth(3, sWonderCardData->unk_02DC[sp0C].unk_01, spacing); x += GetStringWidth(3, sWonderCardData->unk_02DC[sp0C].unk_01, spacing);
AddTextPrinterParameterized3(windowId, 3, x, y, gUnknown_082F0E10[sWonderCardData->unk_0170->textPal3], 0, sWonderCardData->unk_02DC[sp0C].unk_42); AddTextPrinterParameterized3(windowId, 3, x, y, sTextColorTable[sWonderCardData->unk_0170->textPal3], 0, sWonderCardData->unk_02DC[sp0C].unk_42);
x += GetStringWidth(3, sWonderCardData->unk_02DC[sp0C].unk_42, spacing) + sWonderCardData->unk_02DC[sp0C].unk_00; x += GetStringWidth(3, sWonderCardData->unk_02DC[sp0C].unk_42, spacing) + sWonderCardData->unk_02DC[sp0C].unk_00;
} }
} }
+19 -19
View File
@@ -55,7 +55,7 @@ static const u8 *const sTransferredToPCMessages[] =
gText_PkmnTransferredLanettesPCBoxFull gText_PkmnTransferredLanettesPCBoxFull
}; };
static const u8 gUnknown_0858BDC8[] = _("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!"); static const u8 sText_AlphabetUpperLower[] = _("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!");
static const struct BgTemplate gUnknown_0858BE00[] = static const struct BgTemplate gUnknown_0858BE00[] =
{ {
@@ -222,7 +222,7 @@ static void NamingScreen_TurnOffScreen(void);
static void NamingScreen_InitDisplayMode(void); static void NamingScreen_InitDisplayMode(void);
static void VBlankCB_NamingScreen(void); static void VBlankCB_NamingScreen(void);
static void sub_80E501C(void); static void sub_80E501C(void);
static bool8 sub_80E503C(u8); static bool8 IsLetter(u8);
void DoNamingScreen(u8 templateNum, u8 *destBuffer, u16 monSpecies, u16 monGender, u32 monPersonality, MainCallback returnCallback) void DoNamingScreen(u8 templateNum, u8 *destBuffer, u16 monSpecies, u16 monGender, u32 monPersonality, MainCallback returnCallback)
{ {
@@ -1527,8 +1527,8 @@ static void TaskDummy3(void)
static const u8 sGenderColors[2][3] = static const u8 sGenderColors[2][3] =
{ {
{0, 9, 8}, {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_LIGHT_BLUE, TEXT_COLOR_BLUE},
{0, 5, 4} {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_LIGHT_RED, TEXT_COLOR_RED}
}; };
static void sub_80E49BC(void) static void sub_80E49BC(void)
@@ -1680,7 +1680,7 @@ static void sub_80E4D10(void)
{ {
temp[0] = gNamingScreenData->textBuffer[i]; temp[0] = gNamingScreenData->textBuffer[i];
temp[1] = gExpandedPlaceholder_Empty[0]; temp[1] = gExpandedPlaceholder_Empty[0];
unk2 = (sub_80E503C(temp[0]) == 1) ? 2 : 0; unk2 = (IsLetter(temp[0]) == TRUE) ? 2 : 0;
AddTextPrinterParameterized(gNamingScreenData->windows[2], 1, temp, i * 8 + unk + unk2, 1, 0xFF, NULL); AddTextPrinterParameterized(gNamingScreenData->windows[2], 1, temp, i * 8 + unk + unk2, 1, 0xFF, NULL);
} }
@@ -1690,17 +1690,17 @@ static void sub_80E4D10(void)
PutWindowTilemap(gNamingScreenData->windows[2]); PutWindowTilemap(gNamingScreenData->windows[2]);
} }
struct TextColorThing // needed because of alignment... it's so stupid struct TextColor // Needed because of alignment
{ {
u8 colors[3][4]; u8 colors[3][4];
}; };
static const struct TextColorThing sUnkColorStruct = static const struct TextColor sTextColorStruct =
{ {
{ {
{13, 1, 2}, {TEXT_DYNAMIC_COLOR_4, TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY},
{14, 1, 2}, {TEXT_DYNAMIC_COLOR_5, TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY},
{15, 1, 2} {TEXT_DYNAMIC_COLOR_6, TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY}
} }
}; };
@@ -1711,11 +1711,11 @@ static const u8 sFillValues[KBPAGE_COUNT] =
[KBPAGE_SYMBOLS] = PIXEL_FILL(0xF) [KBPAGE_SYMBOLS] = PIXEL_FILL(0xF)
}; };
static const u8 *const sUnkColors[KBPAGE_COUNT] = static const u8 *const sKeyboardTextColors[KBPAGE_COUNT] =
{ {
[KBPAGE_LETTERS_LOWER] = sUnkColorStruct.colors[1], [KBPAGE_LETTERS_LOWER] = sTextColorStruct.colors[1],
[KBPAGE_LETTERS_UPPER] = sUnkColorStruct.colors[0], [KBPAGE_LETTERS_UPPER] = sTextColorStruct.colors[0],
[KBPAGE_SYMBOLS] = sUnkColorStruct.colors[2] [KBPAGE_SYMBOLS] = sTextColorStruct.colors[2]
}; };
static void sub_80E4DE4(u8 window, u8 page) static void sub_80E4DE4(u8 window, u8 page)
@@ -1726,7 +1726,7 @@ static void sub_80E4DE4(u8 window, u8 page)
for (i = 0; i < KBROW_COUNT; i++) for (i = 0; i < KBROW_COUNT; i++)
{ {
AddTextPrinterParameterized3(window, 1, 0, i * 16 + 1, sUnkColors[page], 0, sNamingScreenKeyboardText[page][i]); AddTextPrinterParameterized3(window, 1, 0, i * 16 + 1, sKeyboardTextColors[page], 0, sNamingScreenKeyboardText[page][i]);
} }
PutWindowTilemap(window); PutWindowTilemap(window);
@@ -1768,7 +1768,7 @@ static void sub_80E4E5C(void)
static void sub_80E4EF0(void) static void sub_80E4EF0(void)
{ {
const u8 color[3] = { 15, 1, 2 }; const u8 color[3] = { TEXT_DYNAMIC_COLOR_6, TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY };
FillWindowPixelBuffer(gNamingScreenData->windows[4], PIXEL_FILL(15)); FillWindowPixelBuffer(gNamingScreenData->windows[4], PIXEL_FILL(15));
AddTextPrinterParameterized3(gNamingScreenData->windows[4], 0, 2, 1, color, 0, gText_MoveOkBack); AddTextPrinterParameterized3(gNamingScreenData->windows[4], 0, 2, 1, color, 0, gText_MoveOkBack);
@@ -1816,13 +1816,13 @@ static void sub_80E501C(void)
ShowBg(3); ShowBg(3);
} }
static bool8 sub_80E503C(u8 character) static bool8 IsLetter(u8 character)
{ {
u8 i; u8 i;
for (i = 0; gUnknown_0858BDC8[i] != EOS; i++) for (i = 0; sText_AlphabetUpperLower[i] != EOS; i++)
{ {
if (character == gUnknown_0858BDC8[i]) if (character == sText_AlphabetUpperLower[i])
return FALSE; return FALSE;
} }
return FALSE; return FALSE;
+2 -2
View File
@@ -4956,7 +4956,7 @@ static void DisplayLevelUpStatsPg1(u8 taskId)
s16 *arrayPtr = sPartyMenuInternal->data; s16 *arrayPtr = sPartyMenuInternal->data;
arrayPtr[12] = CreateLevelUpStatsWindow(); arrayPtr[12] = CreateLevelUpStatsWindow();
DrawLevelUpWindowPg1(arrayPtr[12], arrayPtr, &arrayPtr[6], 1, 2, 3); DrawLevelUpWindowPg1(arrayPtr[12], arrayPtr, &arrayPtr[6], TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY);
CopyWindowToVram(arrayPtr[12], 2); CopyWindowToVram(arrayPtr[12], 2);
schedule_bg_copy_tilemap_to_vram(2); schedule_bg_copy_tilemap_to_vram(2);
} }
@@ -4965,7 +4965,7 @@ static void DisplayLevelUpStatsPg2(u8 taskId)
{ {
s16 *arrayPtr = sPartyMenuInternal->data; s16 *arrayPtr = sPartyMenuInternal->data;
DrawLevelUpWindowPg2(arrayPtr[12], &arrayPtr[6], 1, 2, 3); DrawLevelUpWindowPg2(arrayPtr[12], &arrayPtr[6], TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY);
CopyWindowToVram(arrayPtr[12], 2); CopyWindowToVram(arrayPtr[12], 2);
schedule_bg_copy_tilemap_to_vram(2); schedule_bg_copy_tilemap_to_vram(2);
} }
+12 -12
View File
@@ -934,19 +934,19 @@ static const u8 gUnknown_0856ED08[][4] =
static const struct UnknownStruct3 gUnknown_0856ED30[] = static const struct UnknownStruct3 gUnknown_0856ED30[] =
{ {
{ {
.text = gUnknown_085E87A5, .text = gText_SearchForPkmnBasedOnParameters,
.unk4 = 0, .unk4 = 0,
.unk5 = 0, .unk5 = 0,
.unk6 = 5, .unk6 = 5,
}, },
{ {
.text = gUnknown_085E87D6, .text = gText_SwitchPokedexListings,
.unk4 = 6, .unk4 = 6,
.unk5 = 0, .unk5 = 0,
.unk6 = 5, .unk6 = 5,
}, },
{ {
.text = gUnknown_085E87EF, .text = gText_ReturnToPokedex,
.unk4 = 12, .unk4 = 12,
.unk5 = 0, .unk5 = 0,
.unk6 = 5, .unk6 = 5,
@@ -956,7 +956,7 @@ static const struct UnknownStruct3 gUnknown_0856ED30[] =
static const struct UnknownStruct4 gUnknown_0856ED48[] = static const struct UnknownStruct4 gUnknown_0856ED48[] =
{ {
{ {
.text = gUnknown_085E8840, .text = gText_ListByFirstLetter,
.unk4 = 0, .unk4 = 0,
.unk5 = 2, .unk5 = 2,
.unk6 = 5, .unk6 = 5,
@@ -965,7 +965,7 @@ static const struct UnknownStruct4 gUnknown_0856ED48[] =
.unk9 = 12, .unk9 = 12,
}, },
{ {
.text = gUnknown_085E887C, .text = gText_ListByBodyColor,
.unk4 = 0, .unk4 = 0,
.unk5 = 4, .unk5 = 4,
.unk6 = 5, .unk6 = 5,
@@ -974,7 +974,7 @@ static const struct UnknownStruct4 gUnknown_0856ED48[] =
.unk9 = 12, .unk9 = 12,
}, },
{ {
.text = gUnknown_085E88A6, .text = gText_ListByType,
.unk4 = 0, .unk4 = 0,
.unk5 = 6, .unk5 = 6,
.unk6 = 5, .unk6 = 5,
@@ -983,7 +983,7 @@ static const struct UnknownStruct4 gUnknown_0856ED48[] =
.unk9 = 6, .unk9 = 6,
}, },
{ {
.text = gUnknown_085E88A6, .text = gText_ListByType,
.unk4 = 0, .unk4 = 0,
.unk5 = 6, .unk5 = 6,
.unk6 = 5, .unk6 = 5,
@@ -992,7 +992,7 @@ static const struct UnknownStruct4 gUnknown_0856ED48[] =
.unk9 = 6, .unk9 = 6,
}, },
{ {
.text = gUnknown_085E881F, .text = gText_SelectPokedexListingMode,
.unk4 = 0, .unk4 = 0,
.unk5 = 8, .unk5 = 8,
.unk6 = 5, .unk6 = 5,
@@ -1001,7 +1001,7 @@ static const struct UnknownStruct4 gUnknown_0856ED48[] =
.unk9 = 12, .unk9 = 12,
}, },
{ {
.text = gUnknown_085E8806, .text = gText_SelectPokedexMode,
.unk4 = 0, .unk4 = 0,
.unk5 = 10, .unk5 = 10,
.unk6 = 5, .unk6 = 5,
@@ -1010,7 +1010,7 @@ static const struct UnknownStruct4 gUnknown_0856ED48[] =
.unk9 = 12, .unk9 = 12,
}, },
{ {
.text = gUnknown_085E88C8, .text = gText_ExecuteSearchSwitch,
.unk4 = 0, .unk4 = 0,
.unk5 = 12, .unk5 = 12,
.unk6 = 5, .unk6 = 5,
@@ -3897,7 +3897,7 @@ static void PrintMonInfo(u32 num, u32 value, u32 owned, u32 newEntry)
value = NationalToHoennOrder(num); value = NationalToHoennOrder(num);
else else
value = num; value = num;
ConvertIntToDecimalStringN(StringCopy(str, gText_UnkCtrlF908Clear01), value, STR_CONV_MODE_LEADING_ZEROS, 3); ConvertIntToDecimalStringN(StringCopy(str, gText_NumberClear01), value, STR_CONV_MODE_LEADING_ZEROS, 3);
PrintInfoPageText(str, 0x60, 0x19); PrintInfoPageText(str, 0x60, 0x19);
natNum = NationalPokedexNumToSpecies(num); natNum = NationalPokedexNumToSpecies(num);
if (natNum) if (natNum)
@@ -5067,7 +5067,7 @@ void sub_80C1A4C(u8 taskId)
else else
{ {
PlaySE(SE_HAZURE); PlaySE(SE_HAZURE);
sub_80C2618(gUnknown_085E8785); sub_80C2618(gText_NoMatchingPkmnWereFound);
} }
gTasks[taskId].func = sub_80C1AB8; gTasks[taskId].func = sub_80C1AB8;
CopyWindowToVram(0, 2); CopyWindowToVram(0, 2);
+4 -4
View File
@@ -3466,7 +3466,7 @@ static void sub_802DB18(u16 left, u16 top, u8 cursorPos)
static void sub_802DB8C(void) static void sub_802DB8C(void)
{ {
u8 color[] = {0, 2, 3}; u8 color[] = {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY};
PutWindowTilemap(0); PutWindowTilemap(0);
PutWindowTilemap(1); PutWindowTilemap(1);
@@ -3666,7 +3666,7 @@ static void sub_802DF70(bool32 arg0)
if (!arg0) if (!arg0)
{ {
for (i = 0; i < playersCount; i++) for (i = 0; i < playersCount; i++)
sub_802DED8(i, 0, 2, 3); sub_802DED8(i, TEXT_COLOR_TRANSPARENT, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY);
} }
else else
{ {
@@ -3674,9 +3674,9 @@ static void sub_802DF70(bool32 arg0)
for (i = 0; i < playersCount; i++) for (i = 0; i < playersCount; i++)
{ {
if (var != i) if (var != i)
sub_802DED8(i, 0, 2, 3); sub_802DED8(i, TEXT_COLOR_TRANSPARENT, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY);
else else
sub_802DED8(i, 0, 4, 5); sub_802DED8(i, TEXT_COLOR_TRANSPARENT, TEXT_COLOR_RED, TEXT_COLOR_LIGHT_RED);
} }
} }
} }
+8 -8
View File
@@ -778,8 +778,8 @@ static const union AffineAnimCmd *const sSpriteAffineAnimTable_8571730[] =
sSpriteAffineAnim_8571720 sSpriteAffineAnim_8571720
}; };
static const u8 gUnknown_08571734[] = {4, 0xF, 0xE}; static const u8 sBoxInfoTextColors[] = {TEXT_COLOR_RED, TEXT_DYNAMIC_COLOR_6, TEXT_DYNAMIC_COLOR_5};
static const u8 gUnknown_08571737[] = _("/30"); static const u8 sText_OutOf30[] = _("/30");
static const u16 gBoxSelectionPopupPalette[] = INCBIN_U16("graphics/unknown/unknown_57173C.gbapal"); static const u16 gBoxSelectionPopupPalette[] = INCBIN_U16("graphics/unknown/unknown_57173C.gbapal");
static const u8 gBoxSelectionPopupCenterTiles[] = INCBIN_U8("graphics/pokemon_storage/box_selection_popup_center.4bpp"); static const u8 gBoxSelectionPopupCenterTiles[] = INCBIN_U8("graphics/pokemon_storage/box_selection_popup_center.4bpp");
@@ -2090,7 +2090,7 @@ static void sub_80C7BB4(void)
static void sub_80C7BE4(void) static void sub_80C7BE4(void)
{ {
u8 text[16]; u8 numBoxMonsText[16];
struct WindowTemplate winTemplate; struct WindowTemplate winTemplate;
u8 windowId; u8 windowId;
u8 *boxName = GetBoxNamePtr(gUnknown_02039D04->curBox); u8 *boxName = GetBoxNamePtr(gUnknown_02039D04->curBox);
@@ -2106,12 +2106,12 @@ static void sub_80C7BE4(void)
FillWindowPixelBuffer(windowId, PIXEL_FILL(4)); FillWindowPixelBuffer(windowId, PIXEL_FILL(4));
center = GetStringCenterAlignXOffset(1, boxName, 64); center = GetStringCenterAlignXOffset(1, boxName, 64);
AddTextPrinterParameterized3(windowId, 1, center, 1, gUnknown_08571734, TEXT_SPEED_FF, boxName); AddTextPrinterParameterized3(windowId, 1, center, 1, sBoxInfoTextColors, TEXT_SPEED_FF, boxName);
ConvertIntToDecimalStringN(text, nPokemonInBox, STR_CONV_MODE_RIGHT_ALIGN, 2); ConvertIntToDecimalStringN(numBoxMonsText, nPokemonInBox, STR_CONV_MODE_RIGHT_ALIGN, 2);
StringAppend(text, gUnknown_08571737); StringAppend(numBoxMonsText, sText_OutOf30);
center = GetStringCenterAlignXOffset(1, text, 64); center = GetStringCenterAlignXOffset(1, numBoxMonsText, 64);
AddTextPrinterParameterized3(windowId, 1, center, 17, gUnknown_08571734, TEXT_SPEED_FF, text); AddTextPrinterParameterized3(windowId, 1, center, 17, sBoxInfoTextColors, TEXT_SPEED_FF, numBoxMonsText);
winTileData = GetWindowAttribute(windowId, WINDOW_TILE_DATA); winTileData = GetWindowAttribute(windowId, WINDOW_TILE_DATA);
CpuCopy32((void *)winTileData, (void *)OBJ_VRAM0 + 0x100 + (GetSpriteTileStartByTag(gUnknown_02039D04->unk_0240) * 32), 0x400); CpuCopy32((void *)winTileData, (void *)OBJ_VRAM0 + 0x100 + (GetSpriteTileStartByTag(gUnknown_02039D04->unk_0240) * 32), 0x400);
+3 -3
View File
@@ -2716,7 +2716,7 @@ static void PrintNotEggInfo(void)
u16 dexNum = SpeciesToPokedexNum(summary->species); u16 dexNum = SpeciesToPokedexNum(summary->species);
if (dexNum != 0xFFFF) if (dexNum != 0xFFFF)
{ {
StringCopy(gStringVar1, &gText_UnkCtrlF908Clear01[0]); StringCopy(gStringVar1, &gText_NumberClear01[0]);
ConvertIntToDecimalStringN(gStringVar2, dexNum, STR_CONV_MODE_LEADING_ZEROS, 3); ConvertIntToDecimalStringN(gStringVar2, dexNum, STR_CONV_MODE_LEADING_ZEROS, 3);
StringAppend(gStringVar1, gStringVar2); StringAppend(gStringVar1, gStringVar2);
if (!IsMonShiny(mon)) if (!IsMonShiny(mon))
@@ -3055,7 +3055,7 @@ static void PrintMonOTID(void)
int xPos; int xPos;
if (InBattleFactory() != TRUE && InSlateportBattleTent() != TRUE) if (InBattleFactory() != TRUE && InSlateportBattleTent() != TRUE)
{ {
ConvertIntToDecimalStringN(StringCopy(gStringVar1, gText_UnkCtrlF907F908), (u16)sMonSummaryScreen->summary.OTID, STR_CONV_MODE_LEADING_ZEROS, 5); ConvertIntToDecimalStringN(StringCopy(gStringVar1, gText_IDNumber2), (u16)sMonSummaryScreen->summary.OTID, STR_CONV_MODE_LEADING_ZEROS, 5);
xPos = GetStringRightAlignXOffset(1, gStringVar1, 56); xPos = GetStringRightAlignXOffset(1, gStringVar1, 56);
SummaryScreen_PrintTextOnWindow(AddWindowFromTemplateList(sPageInfoTemplate, PSS_DATA_WINDOW_INFO_ID), gStringVar1, xPos, 1, 0, 1); SummaryScreen_PrintTextOnWindow(AddWindowFromTemplateList(sPageInfoTemplate, PSS_DATA_WINDOW_INFO_ID), gStringVar1, xPos, 1, 0, 1);
} }
@@ -3209,7 +3209,7 @@ static void PrintEggOTName(void)
static void PrintEggOTID(void) static void PrintEggOTID(void)
{ {
int x; int x;
StringCopy(gStringVar1, gText_UnkCtrlF907F908); StringCopy(gStringVar1, gText_IDNumber2);
StringAppend(gStringVar1, gText_FiveMarks); StringAppend(gStringVar1, gText_FiveMarks);
x = GetStringRightAlignXOffset(1, gStringVar1, 56); x = GetStringRightAlignXOffset(1, gStringVar1, 56);
SummaryScreen_PrintTextOnWindow(AddWindowFromTemplateList(sPageInfoTemplate, PSS_DATA_WINDOW_INFO_ID), gStringVar1, x, 1, 0, 1); SummaryScreen_PrintTextOnWindow(AddWindowFromTemplateList(sPageInfoTemplate, PSS_DATA_WINDOW_INFO_ID), gStringVar1, x, 1, 0, 1);
+3 -3
View File
@@ -130,9 +130,9 @@ const u8 *const sHelpBarTexts[12] =
gText_PokenavRibbons_RibbonCheckButtons, gText_PokenavRibbons_RibbonCheckButtons,
}; };
const u8 gMenuButtonReminderColor[3] = static const u8 sHelpBarTextColors[3] =
{ {
4, 1, 2 TEXT_COLOR_RED, TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY
}; };
static const struct CompressedSpriteSheet gSpinningPokenavSpriteSheet[] = static const struct CompressedSpriteSheet gSpinningPokenavSpriteSheet[] =
@@ -692,7 +692,7 @@ void sub_81C7BA4(u32 helpBarIndex)
struct PokenavMainMenuResources *structPtr = GetSubstructPtr(0); struct PokenavMainMenuResources *structPtr = GetSubstructPtr(0);
sub_81C7BF8(structPtr->unk10); sub_81C7BF8(structPtr->unk10);
AddTextPrinterParameterized3(structPtr->unk10, 1, 0, 1, gMenuButtonReminderColor, 0, sHelpBarTexts[helpBarIndex]); AddTextPrinterParameterized3(structPtr->unk10, 1, 0, 1, sHelpBarTextColors, 0, sHelpBarTexts[helpBarIndex]);
} }
bool32 IsDma3ManagerBusyWithBgCopy_(void) bool32 IsDma3ManagerBusyWithBgCopy_(void)
+2 -2
View File
@@ -705,7 +705,7 @@ void sub_81C8C64(struct UnknownSubSubStruct_0203CF40 *a0, u32 a1)
void sub_81C8CB4(struct MatchCallWindowState *a0, struct PokenavSub17Substruct *a1) void sub_81C8CB4(struct MatchCallWindowState *a0, struct PokenavSub17Substruct *a1)
{ {
u8 colors[3] = {0, 2, 5}; u8 colors[3] = {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_RED};
a1->unk34(a0->unk10 + a0->unkC * a0->windowTopIndex, a1->unkTextBuffer); a1->unk34(a0->unk10 + a0->unkC * a0->windowTopIndex, a1->unkTextBuffer);
a1->unk38(a1->unk0.windowId, a0->windowTopIndex, a1->unk0.unkA); a1->unk38(a1->unk0.windowId, a0->windowTopIndex, a1->unk0.unkA);
@@ -727,7 +727,7 @@ void sub_81C8D4C(struct MatchCallWindowState *a0, struct PokenavSub17Substruct *
void PrintMatchCallFieldNames(struct PokenavSub17Substruct *a0, u32 fieldId) void PrintMatchCallFieldNames(struct PokenavSub17Substruct *a0, u32 fieldId)
{ {
const u8 *fieldNames[] = {gText_PokenavMatchCall_Strategy, gText_PokenavMatchCall_TrainerPokemon, gText_PokenavMatchCall_SelfIntroduction}; const u8 *fieldNames[] = {gText_PokenavMatchCall_Strategy, gText_PokenavMatchCall_TrainerPokemon, gText_PokenavMatchCall_SelfIntroduction};
u8 colors[3] = {1, 4, 5}; u8 colors[3] = {TEXT_COLOR_WHITE, TEXT_COLOR_RED, TEXT_COLOR_LIGHT_RED};
u32 top = (a0->unk0.unkA + 1 + (fieldId * 2)) & 0xF; u32 top = (a0->unk0.unkA + 1 + (fieldId * 2)) & 0xF;
FillWindowPixelRect(a0->unk0.windowId, PIXEL_FILL(1), 0, top << 4, a0->unk0.unk4, 16); FillWindowPixelRect(a0->unk0.windowId, PIXEL_FILL(1), 0, top << 4, a0->unk0.unk4, 16);
+2 -2
View File
@@ -752,7 +752,7 @@ void sub_81D0E60(struct PokenavSub14 *structPtr)
void sub_81D0E84(struct PokenavSub14 *structPtr) void sub_81D0E84(struct PokenavSub14 *structPtr)
{ {
u8 color[] = {4, 2, 3}; u8 color[] = {TEXT_COLOR_RED, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY};
ConvertIntToDecimalStringN(gStringVar1, GetCurrMonRibbonCount(), STR_CONV_MODE_LEFT_ALIGN, 2); ConvertIntToDecimalStringN(gStringVar1, GetCurrMonRibbonCount(), STR_CONV_MODE_LEFT_ALIGN, 2);
DynamicPlaceholderTextUtil_Reset(); DynamicPlaceholderTextUtil_Reset();
@@ -767,7 +767,7 @@ void sub_81D0EFC(struct PokenavSub14 *structPtr)
{ {
s32 i; s32 i;
u32 ribbonId = sub_81D0954(); u32 ribbonId = sub_81D0954();
u8 color[] = {4, 2, 3}; u8 color[] = {TEXT_COLOR_RED, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY};
FillWindowPixelBuffer(structPtr->field_A, PIXEL_FILL(4)); FillWindowPixelBuffer(structPtr->field_A, PIXEL_FILL(4));
if (ribbonId < 25) if (ribbonId < 25)
+18 -19
View File
@@ -220,25 +220,24 @@ static const struct WindowTemplate gUnknown_086202CC =
static const u8 *const gUnknown_086202D4[] = static const u8 *const gUnknown_086202D4[] =
{ {
gUnknown_085EBCC5, gText_CheckMapOfHoenn,
gUnknown_085EBCE8, gText_CheckPokemonInDetail,
gUnknown_085EBD01, gText_CallRegisteredTrainer,
gUnknown_085EBD1C, gText_CheckObtainedRibbons,
gUnknown_085EBD34, gText_PutAwayPokenav,
gUnknown_085EBD83, gText_CheckPartyPokemonInDetail,
gUnknown_085EBDA2, gText_CheckAllPokemonInDetail,
gUnknown_085EBDBF, gText_ReturnToPokenavMenu,
gUnknown_085EBDDB, gText_FindCoolPokemon,
gUnknown_085EBDEE, gText_FindBeautifulPokemon,
gUnknown_085EBE06, gText_FindCutePokemon,
gUnknown_085EBE19, gText_FindSmartPokemon,
gUnknown_085EBE2D, gText_FindToughPokemon,
gUnknown_085EBE41 gText_ReturnToConditionMenu
}; };
static const u8 gUnknown_0862030C[] = {6, 8, 7}; static const u8 sOptionDescTextColors[] = {TEXT_COLOR_GREEN, TEXT_COLOR_BLUE, TEXT_COLOR_LIGHT_GREEN};
static const u8 sOptionDescTextColors2[] = {TEXT_COLOR_GREEN, TEXT_COLOR_BLUE, TEXT_COLOR_LIGHT_GREEN};
static const u8 gUnknown_0862030F[] = {6, 8, 7, 0, 0};
static const struct OamData gUnknown_08620314 = static const struct OamData gUnknown_08620314 =
{ {
@@ -1130,7 +1129,7 @@ static void sub_81CA714(void)
const u8 * s = gUnknown_086202D4[i]; const u8 * s = gUnknown_086202D4[i];
u32 width = GetStringWidth(1, s, -1); u32 width = GetStringWidth(1, s, -1);
FillWindowPixelBuffer(ptr->optionDescriptionWindowId, PIXEL_FILL(6)); FillWindowPixelBuffer(ptr->optionDescriptionWindowId, PIXEL_FILL(6));
AddTextPrinterParameterized3(ptr->optionDescriptionWindowId, 1, (192 - width) / 2, 1, gUnknown_0862030C, 0, s); AddTextPrinterParameterized3(ptr->optionDescriptionWindowId, 1, (192 - width) / 2, 1, sOptionDescTextColors, 0, s);
} }
@@ -1140,7 +1139,7 @@ static void sub_81CA770(void)
const u8 * s = gText_NoRibbonWinners; const u8 * s = gText_NoRibbonWinners;
u32 width = GetStringWidth(1, s, -1); u32 width = GetStringWidth(1, s, -1);
FillWindowPixelBuffer(ptr->optionDescriptionWindowId, PIXEL_FILL(6)); FillWindowPixelBuffer(ptr->optionDescriptionWindowId, PIXEL_FILL(6));
AddTextPrinterParameterized3(ptr->optionDescriptionWindowId, 1, (192 - width) / 2, 1, gUnknown_0862030F, 0, s); AddTextPrinterParameterized3(ptr->optionDescriptionWindowId, 1, (192 - width) / 2, 1, sOptionDescTextColors2, 0, s);
} }
static bool32 sub_81CA7C4(void) static bool32 sub_81CA7C4(void)
+6 -5
View File
@@ -199,12 +199,13 @@ const struct WindowTemplate gUnknown_086227E0 =
const u8 *const gUnknown_086227E8[] = const u8 *const gUnknown_086227E8[] =
{ {
gUnknown_085EC017, gText_Call,
gUnknown_085EC01C, gText_Check,
gUnknown_085EC022 gText_Cancel6
}; };
const u8 gUnknown_086227F4[] = _("·{PAUSE 0x04}·{PAUSE 0x04}·{PAUSE 0x04}·{PAUSE 0x04}·\p"); // The series of 5 dots that appear when someone is called with Match Call
static const u8 sText_CallingDots[] = _("·{PAUSE 0x04}·{PAUSE 0x04}·{PAUSE 0x04}·{PAUSE 0x04}·\p");
const struct WindowTemplate gUnknown_08622808 = const struct WindowTemplate gUnknown_08622808 =
{ {
@@ -1100,7 +1101,7 @@ static bool32 sub_81CC0D0(struct Pokenav4Struct *state)
static void sub_81CC0E0(struct Pokenav4Struct *state) static void sub_81CC0E0(struct Pokenav4Struct *state)
{ {
AddTextPrinterParameterized(state->unk14, 1, gUnknown_086227F4, 32, 1, 1, NULL); AddTextPrinterParameterized(state->unk14, 1, sText_CallingDots, 32, 1, 1, NULL);
} }
static bool32 sub_81CC104(struct Pokenav4Struct *state) static bool32 sub_81CC104(struct Pokenav4Struct *state)
+2 -2
View File
@@ -453,7 +453,7 @@ const struct WindowTemplate gUnknown_085A7444 =
0, 1, 3, 20, 13, 13, 1 0, 1, 3, 20, 13, 13, 1
}; };
const u8 gColors_ReeltimeHelp[] = {3, 1, 2, 0}; static const u8 sColors_ReeltimeHelp[] = {TEXT_COLOR_LIGHT_GREY, TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY};
bool8 (*const SlotActions[])(struct Task *task) = bool8 (*const SlotActions[])(struct Task *task) =
{ {
@@ -3126,7 +3126,7 @@ static void InfoBox_8104B80(struct Task *task)
static void InfoBox_AddText(struct Task *task) static void InfoBox_AddText(struct Task *task)
{ {
AddTextPrinterParameterized3(1, 1, 2, 5, gColors_ReeltimeHelp, 0, gText_ReelTimeHelp); AddTextPrinterParameterized3(1, 1, 2, 5, sColors_ReeltimeHelp, 0, gText_ReelTimeHelp);
CopyWindowToVram(1, 3); CopyWindowToVram(1, 3);
BeginNormalPaletteFade(0xFFFFFFFF, 0, 16, 0, RGB(0, 0, 0)); BeginNormalPaletteFade(0xFFFFFFFF, 0, 16, 0, RGB(0, 0, 0));
task->data[0]++; task->data[0]++;
+25 -25
View File
@@ -112,16 +112,16 @@ static const struct WindowTemplate gUnknown_085B1DE4 =
static const u8 sPokeballCoords[STARTER_MON_COUNT][2] = static const u8 sPokeballCoords[STARTER_MON_COUNT][2] =
{ {
{0x3c, 0x40}, {60, 64},
{0x78, 0x58}, {120, 88},
{0xb4, 0x40}, {180, 64},
}; };
static const u8 gStarterChoose_LabelCoords[][2] = static const u8 sStarterLabelCoords[][2] =
{ {
{0x00, 0x09}, {0, 9},
{0x10, 0x0a}, {16, 10},
{0x08, 0x04}, {8, 4},
}; };
static const u16 sStarterMon[STARTER_MON_COUNT] = static const u16 sStarterMon[STARTER_MON_COUNT] =
@@ -162,7 +162,7 @@ static const struct BgTemplate gUnknown_085B1E00[3] =
}, },
}; };
static const u8 gUnknown_085B1E0C[] = {0x00, 0x01, 0x03}; static const u8 sTextColors[] = {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_WHITE, TEXT_COLOR_LIGHT_GREY};
static const struct OamData gOamData_85B1E10 = static const struct OamData gOamData_85B1E10 =
{ {
@@ -215,11 +215,11 @@ static const struct OamData gOamData_85B1E20 =
.affineParam = 0, .affineParam = 0,
}; };
static const u8 gUnknown_085B1E28[][2] = static const u8 sCursorCoords[][2] =
{ {
{0x3c, 0x20}, {60, 32},
{0x78, 0x38}, {120, 56},
{0xb4, 0x20}, {180, 32},
}; };
static const union AnimCmd gSpriteAnim_85B1E30[] = static const union AnimCmd gSpriteAnim_85B1E30[] =
@@ -579,36 +579,36 @@ static void Task_StarterChoose6(u8 taskId)
static void CreateStarterPokemonLabel(u8 selection) static void CreateStarterPokemonLabel(u8 selection)
{ {
u8 text[32]; u8 categoryText[32];
struct WindowTemplate winTemplate; struct WindowTemplate winTemplate;
const u8 *speciesName; const u8 *speciesName;
s32 width; s32 width;
u8 labelLeft, labelRight, labelTop, labelBottom; u8 labelLeft, labelRight, labelTop, labelBottom;
u16 species = GetStarterPokemon(selection); u16 species = GetStarterPokemon(selection);
CopyMonCategoryText(SpeciesToNationalPokedexNum(species), text); CopyMonCategoryText(SpeciesToNationalPokedexNum(species), categoryText);
speciesName = gSpeciesNames[species]; speciesName = gSpeciesNames[species];
winTemplate = gUnknown_085B1DE4; winTemplate = gUnknown_085B1DE4;
winTemplate.tilemapLeft = gStarterChoose_LabelCoords[selection][0]; winTemplate.tilemapLeft = sStarterLabelCoords[selection][0];
winTemplate.tilemapTop = gStarterChoose_LabelCoords[selection][1]; winTemplate.tilemapTop = sStarterLabelCoords[selection][1];
sStarterChooseWindowId = AddWindow(&winTemplate); sStarterChooseWindowId = AddWindow(&winTemplate);
FillWindowPixelBuffer(sStarterChooseWindowId, PIXEL_FILL(0)); FillWindowPixelBuffer(sStarterChooseWindowId, PIXEL_FILL(0));
width = GetStringCenterAlignXOffset(7, text, 0x68); width = GetStringCenterAlignXOffset(7, categoryText, 0x68);
AddTextPrinterParameterized3(sStarterChooseWindowId, 7, width, 1, gUnknown_085B1E0C, 0, text); AddTextPrinterParameterized3(sStarterChooseWindowId, 7, width, 1, sTextColors, 0, categoryText);
width = GetStringCenterAlignXOffset(1, speciesName, 0x68); width = GetStringCenterAlignXOffset(1, speciesName, 0x68);
AddTextPrinterParameterized3(sStarterChooseWindowId, 1, width, 0x11, gUnknown_085B1E0C, 0, speciesName); AddTextPrinterParameterized3(sStarterChooseWindowId, 1, width, 0x11, sTextColors, 0, speciesName);
PutWindowTilemap(sStarterChooseWindowId); PutWindowTilemap(sStarterChooseWindowId);
schedule_bg_copy_tilemap_to_vram(0); schedule_bg_copy_tilemap_to_vram(0);
labelLeft = gStarterChoose_LabelCoords[selection][0] * 8 - 4; labelLeft = sStarterLabelCoords[selection][0] * 8 - 4;
labelRight = (gStarterChoose_LabelCoords[selection][0] + 13) * 8 + 4; labelRight = (sStarterLabelCoords[selection][0] + 13) * 8 + 4;
labelTop = gStarterChoose_LabelCoords[selection][1] * 8; labelTop = sStarterLabelCoords[selection][1] * 8;
labelBottom = (gStarterChoose_LabelCoords[selection][1] + 4) * 8; labelBottom = (sStarterLabelCoords[selection][1] + 4) * 8;
SetGpuReg(REG_OFFSET_WIN0H, WIN_RANGE(labelLeft, labelRight)); SetGpuReg(REG_OFFSET_WIN0H, WIN_RANGE(labelLeft, labelRight));
SetGpuReg(REG_OFFSET_WIN0V, WIN_RANGE(labelTop, labelBottom)); SetGpuReg(REG_OFFSET_WIN0V, WIN_RANGE(labelTop, labelBottom));
} }
@@ -647,8 +647,8 @@ static u8 CreatePokemonFrontSprite(u16 species, u8 x, u8 y)
void sub_81346DC(struct Sprite *sprite) void sub_81346DC(struct Sprite *sprite)
{ {
sprite->pos1.x = gUnknown_085B1E28[gTasks[sprite->data[0]].tStarterSelection][0]; sprite->pos1.x = sCursorCoords[gTasks[sprite->data[0]].tStarterSelection][0];
sprite->pos1.y = gUnknown_085B1E28[gTasks[sprite->data[0]].tStarterSelection][1]; sprite->pos1.y = sCursorCoords[gTasks[sprite->data[0]].tStarterSelection][1];
sprite->pos2.y = Sin(sprite->data[1], 8); sprite->pos2.y = Sin(sprite->data[1], 8);
sprite->data[1] = (u8)(sprite->data[1]) + 4; sprite->data[1] = (u8)(sprite->data[1]) + 4;
} }
+198 -198
View File
@@ -28,31 +28,31 @@ const u8 gText_MainMenuMysteryEvents[] = _("MYSTERY EVENTS");
const u8 gText_WirelessNotConnected[] = _("The Wireless Adapter is not\nconnected."); const u8 gText_WirelessNotConnected[] = _("The Wireless Adapter is not\nconnected.");
const u8 gText_MysteryGiftCantUse[] = _("MYSTERY GIFT can't be used while\nthe Wireless Adapter is attached."); const u8 gText_MysteryGiftCantUse[] = _("MYSTERY GIFT can't be used while\nthe Wireless Adapter is attached.");
const u8 gText_MysteryEventsCantUse[] = _("MYSTERY EVENTS can't be used while\nthe Wireless Adapter is attached."); const u8 gText_MysteryEventsCantUse[] = _("MYSTERY EVENTS can't be used while\nthe Wireless Adapter is attached.");
const u8 gUnknown_085E836D[] = _("Updating save file using external\ndata. Please wait."); const u8 gText_UpdatingSaveExternalData[] = _("Updating save file using external\ndata. Please wait."); // Unused
const u8 gUnknown_085E83A2[] = _("The save file has been updated."); const u8 gText_SaveFileUpdated[] = _("The save file has been updated."); // Unused
const u8 gText_SaveFileCorrupted[] = _("The save file is corrupted. The\nprevious save file will be loaded."); const u8 gText_SaveFileCorrupted[] = _("The save file is corrupted. The\nprevious save file will be loaded.");
const u8 gText_SaveFileErased[] = _("The save file has been erased\ndue to corruption or damage."); const u8 gText_SaveFileErased[] = _("The save file has been erased\ndue to corruption or damage.");
const u8 gJPText_No1MSubCircuit[] = _("1Mサブきばんが ささっていません!"); const u8 gJPText_No1MSubCircuit[] = _("1Mサブきばんが ささっていません!");
const u8 gText_BatteryRunDry[] = _("The internal battery has run dry.\nThe game can be played.\pHowever, clock-based events will\nno longer occur."); const u8 gText_BatteryRunDry[] = _("The internal battery has run dry.\nThe game can be played.\pHowever, clock-based events will\nno longer occur.");
const u8 gUnknown_085E84BF[] = _("PLAYER"); const u8 gText_Player[] = _("PLAYER"); // Unused
const u8 gUnknown_085E84C6[] = _("POKéDEX"); const u8 gText_Pokedex[] = _("POKéDEX"); // Unused
const u8 gText_MainMenuTime[] = _("TIME"); const u8 gText_Time[] = _("TIME");
const u8 gUnknown_085E84D3[] = _("BADGES"); const u8 gText_Badges[] = _("BADGES"); // Unused
const u8 gUnknown_085E84DA[] = _("A Button"); const u8 gText_AButton[] = _("A Button"); // Unused
const u8 gUnknown_085E84E3[] = _("B Button"); const u8 gText_BButton[] = _("B Button"); // Unused
const u8 gUnknown_085E84EC[] = _("R Button"); const u8 gText_RButton[] = _("R Button"); // Unused
const u8 gUnknown_085E84F5[] = _("L Button"); const u8 gText_LButton[] = _("L Button"); // Unused
const u8 gUnknown_085E84FE[] = _("START"); const u8 gText_Start[] = _("START"); // Unused
const u8 gUnknown_085E8504[] = _("SELECT"); const u8 gText_Select[] = _("SELECT"); // Unused
const u8 gUnknown_085E850B[] = _("+ Control Pad"); const u8 gText_ControlPad[] = _("+ Control Pad"); // Unused
const u8 gUnknown_085E8519[] = _("L Button R Button"); const u8 gText_LButtonRButton[] = _("L Button R Button"); // Unused
const u8 gUnknown_085E852C[] = _("CONTROLS"); const u8 gText_Controls[] = _("CONTROLS"); // Unused
ALIGNED(4) const u8 gUnknown_085E8538[] = _("{DPAD_UPDOWN}PICK {A_BUTTON}OK"); ALIGNED(4) const u8 gText_PickOk[] = _("{DPAD_UPDOWN}PICK {A_BUTTON}OK"); // Unused
ALIGNED(4) const u8 gUnknown_085E8544[] = _("{A_BUTTON}NEXT"); ALIGNED(4) const u8 gText_Next[] = _("{A_BUTTON}NEXT"); // Unused
ALIGNED(4) const u8 gUnknown_085E854C[] = _("{A_BUTTON}NEXT {B_BUTTON}BACK"); ALIGNED(4) const u8 gText_NextBack[] = _("{A_BUTTON}NEXT {B_BUTTON}BACK"); // Unused
ALIGNED(4) const u8 gText_PickNextCancel[] = _("{DPAD_UPDOWN}PICK {A_BUTTON}NEXT {B_BUTTON}CANCEL"); ALIGNED(4) const u8 gText_PickNextCancel[] = _("{DPAD_UPDOWN}PICK {A_BUTTON}NEXT {B_BUTTON}CANCEL");
ALIGNED(4) const u8 gText_PickCancel[] = _("{DPAD_UPDOWN}PICK {A_BUTTON}{B_BUTTON}CANCEL"); ALIGNED(4) const u8 gText_PickCancel[] = _("{DPAD_UPDOWN}PICK {A_BUTTON}{B_BUTTON}CANCEL");
ALIGNED(4) const u8 gText_UnkCtrlF800Exit[] = _("{A_BUTTON}EXIT"); ALIGNED(4) const u8 gText_AButtonExit[] = _("{A_BUTTON}EXIT");
const u8 gText_BirchBoy[] = _("BOY"); const u8 gText_BirchBoy[] = _("BOY");
const u8 gText_BirchGirl[] = _("GIRL"); const u8 gText_BirchGirl[] = _("GIRL");
const u8 gText_DefaultNameStu[] = _("STU"); const u8 gText_DefaultNameStu[] = _("STU");
@@ -99,28 +99,28 @@ const u8 gText_ThisIsAPokemon[] = _("This is what we call a “POKéMON.”{PAUS
const u8 gText_5MarksPokemon[] = _("????? POKéMON"); const u8 gText_5MarksPokemon[] = _("????? POKéMON");
const u8 gText_UnkHeight[] = _("{CLEAR_TO 0x0C}??'??”"); const u8 gText_UnkHeight[] = _("{CLEAR_TO 0x0C}??'??”");
const u8 gText_UnkWeight[] = _("????.? lbs."); const u8 gText_UnkWeight[] = _("????.? lbs.");
const u8 gUnknown_085E86DC[] = _(" POKéMON"); const u8 gText_EmptyPkmnCategory[] = _(" POKéMON"); // Unused
const u8 gUnknown_085E86FB[] = _("{CLEAR_TO 0x0C} ' ”"); const u8 gText_EmptyHeight[] = _("{CLEAR_TO 0x0C} ' ”"); // Unused
const u8 gUnknown_085E8709[] = _(" . lbs."); const u8 gText_EmptyWeight[] = _(" . lbs."); // Unused
const u8 gUnknown_085E871A[] = _(""); const u8 gText_EmptyPokedexInfo1[] = _(""); // Unused
const u8 gText_CryOf[] = _("CRY OF"); const u8 gText_CryOf[] = _("CRY OF");
const u8 gUnknown_085E8722[] = _(""); const u8 gText_EmptyPokedexInfo2[] = _(""); // Unused
const u8 gText_SizeComparedTo[] = _("SIZE COMPARED TO "); const u8 gText_SizeComparedTo[] = _("SIZE COMPARED TO ");
const u8 gText_PokedexRegistration[] = _("POKéDEX registration completed."); const u8 gText_PokedexRegistration[] = _("POKéDEX registration completed.");
const u8 gText_HTHeight[] = _("HT"); const u8 gText_HTHeight[] = _("HT");
const u8 gText_WTWeight[] = _("WT"); const u8 gText_WTWeight[] = _("WT");
const u8 gText_SearchingPleaseWait[] = _("Searching…\nPlease wait."); const u8 gText_SearchingPleaseWait[] = _("Searching…\nPlease wait.");
const u8 gText_SearchCompleted[] = _("Search completed."); const u8 gText_SearchCompleted[] = _("Search completed.");
const u8 gUnknown_085E8785[] = _("No matching POKéMON were found."); const u8 gText_NoMatchingPkmnWereFound[] = _("No matching POKéMON were found.");
const u8 gUnknown_085E87A5[] = _("Search for POKéMON based on\nselected parameters."); const u8 gText_SearchForPkmnBasedOnParameters[] = _("Search for POKéMON based on\nselected parameters.");
const u8 gUnknown_085E87D6[] = _("Switch POKéDEX listings."); const u8 gText_SwitchPokedexListings[] = _("Switch POKéDEX listings.");
const u8 gUnknown_085E87EF[] = _("Return to the POKéDEX."); const u8 gText_ReturnToPokedex[] = _("Return to the POKéDEX.");
const u8 gUnknown_085E8806[] = _("Select the POKéDEX mode."); const u8 gText_SelectPokedexMode[] = _("Select the POKéDEX mode.");
const u8 gUnknown_085E881F[] = _("Select the POKéDEX listing mode."); const u8 gText_SelectPokedexListingMode[] = _("Select the POKéDEX listing mode.");
const u8 gUnknown_085E8840[] = _("List by the first letter in the name.\nSpotted POKéMON only."); const u8 gText_ListByFirstLetter[] = _("List by the first letter in the name.\nSpotted POKéMON only.");
const u8 gUnknown_085E887C[] = _("List by body color.\nSpotted POKéMON only."); const u8 gText_ListByBodyColor[] = _("List by body color.\nSpotted POKéMON only.");
const u8 gUnknown_085E88A6[] = _("List by type.\nOwned POKéMON only."); const u8 gText_ListByType[] = _("List by type.\nOwned POKéMON only.");
const u8 gUnknown_085E88C8[] = _("Execute search/switch."); const u8 gText_ExecuteSearchSwitch[] = _("Execute search/switch.");
const u8 gText_DexHoennTitle[] = _("HOENN DEX"); const u8 gText_DexHoennTitle[] = _("HOENN DEX");
const u8 gText_DexNatTitle[] = _("NATIONAL DEX"); const u8 gText_DexNatTitle[] = _("NATIONAL DEX");
const u8 gText_DexSortNumericalTitle[] = _("NUMERICAL MODE"); const u8 gText_DexSortNumericalTitle[] = _("NUMERICAL MODE");
@@ -160,7 +160,7 @@ const u8 gText_DexEmptyString[] = _("");
const u8 gText_DexSearchDontSpecify[] = _("DON'T SPECIFY."); const u8 gText_DexSearchDontSpecify[] = _("DON'T SPECIFY.");
const u8 gText_DexSearchTypeNone[] = _("NONE"); const u8 gText_DexSearchTypeNone[] = _("NONE");
const u8 gText_SelectorArrow[] = _(""); const u8 gText_SelectorArrow[] = _("");
const u8 gUnknown_085E8B3C[] = _(" "); const u8 gText_EmptySpace[] = _(" "); // Unused
const u8 gText_WelcomeToHOF[] = _("Welcome to the HALL OF FAME!"); const u8 gText_WelcomeToHOF[] = _("Welcome to the HALL OF FAME!");
const u8 gText_HOFDexRating[] = _("Spotted POKéMON: {STR_VAR_1}!\nOwned POKéMON: {STR_VAR_2}!\pPROF. BIRCH's POKéDEX rating!\pPROF. BIRCH: Let's see…\p"); const u8 gText_HOFDexRating[] = _("Spotted POKéMON: {STR_VAR_1}!\nOwned POKéMON: {STR_VAR_2}!\pPROF. BIRCH's POKéDEX rating!\pPROF. BIRCH: Let's see…\p");
const u8 gText_HOFDexSaving[] = _("SAVING…\nDON'T TURN OFF THE POWER."); const u8 gText_HOFDexSaving[] = _("SAVING…\nDON'T TURN OFF THE POWER.");
@@ -169,12 +169,12 @@ const u8 gText_HOFNumber[] = _("HALL OF FAME No. {STR_VAR_1}");
const u8 gText_LeagueChamp[] = _("LEAGUE CHAMPION!\nCONGRATULATIONS!"); const u8 gText_LeagueChamp[] = _("LEAGUE CHAMPION!\nCONGRATULATIONS!");
const u8 gText_Number[] = _("No. "); const u8 gText_Number[] = _("No. ");
const u8 gText_Level[] = _("Lv. "); const u8 gText_Level[] = _("Lv. ");
const u8 gUnknown_085E8C40[] = _("IDNo. /"); const u8 gText_IdNumberSlash[] = _("IDNo. /"); // Unused
const u8 gText_Name[] = _("NAME"); const u8 gText_Name[] = _("NAME");
const u8 gText_IDNumber[] = _("IDNo."); const u8 gText_IDNumber[] = _("IDNo.");
const u8 gText_BirchInTrouble[] = _("PROF. BIRCH is in trouble!\nRelease a POKéMON and rescue him!"); const u8 gText_BirchInTrouble[] = _("PROF. BIRCH is in trouble!\nRelease a POKéMON and rescue him!");
const u8 gText_ConfirmStarterChoice[] = _("Do you choose this POKéMON?"); const u8 gText_ConfirmStarterChoice[] = _("Do you choose this POKéMON?");
const u8 gUnknown_085E8CAC[] = _("POKéMON"); const u8 gText_Pokemon4[] = _("POKéMON"); // Unused
const u8 gText_FlyToWhere[] = _("FLY to where?"); const u8 gText_FlyToWhere[] = _("FLY to where?");
const u8 gMenuText_Use[] = _("USE"); const u8 gMenuText_Use[] = _("USE");
const u8 gMenuText_Toss[] = _("TOSS"); const u8 gMenuText_Toss[] = _("TOSS");
@@ -187,7 +187,7 @@ const u8 gText_Cancel[] = _("CANCEL");
const u8 gText_Cancel2[] = _("CANCEL"); const u8 gText_Cancel2[] = _("CANCEL");
const u8 gMenuText_Show[] = _("SHOW"); const u8 gMenuText_Show[] = _("SHOW");
const u8 gText_EmptyString2[] = _(""); const u8 gText_EmptyString2[] = _("");
const u8 gUnknown_085E8D04[] = _("CANCEL"); const u8 gText_Cancel7[] = _("CANCEL"); // Unused
const u8 gText_Item[] = _("ITEM"); const u8 gText_Item[] = _("ITEM");
const u8 gText_Mail[] = _("MAIL"); const u8 gText_Mail[] = _("MAIL");
const u8 gText_Take[] = _("TAKE"); const u8 gText_Take[] = _("TAKE");
@@ -204,17 +204,17 @@ const u8 gText_ThreeDashes[] = _("---");
const u8 gText_MaleSymbol[] = _(""); const u8 gText_MaleSymbol[] = _("");
const u8 gText_FemaleSymbol[] = _(""); const u8 gText_FemaleSymbol[] = _("");
const u8 gText_LevelSymbol[] = _("{LV}"); const u8 gText_LevelSymbol[] = _("{LV}");
const u8 gText_UnkCtrlF908Clear01[] = _("{NO}{CLEAR 0x01}"); const u8 gText_NumberClear01[] = _("{NO}{CLEAR 0x01}");
const u8 gUnknown_085E8D55[] = _("+"); const u8 gText_PlusSymbol[] = _("+"); // Unused
const u8 gUnknown_085E8D57[] = _("{RIGHT_ARROW}"); const u8 gText_RightArrow[] = _("{RIGHT_ARROW}"); // Unused
const u8 gText_UnkCtrlF907F908[] = _("{ID}{NO}"); const u8 gText_IDNumber2[] = _("{ID}{NO}");
const u8 gText_Space[] = _(" "); const u8 gText_Space[] = _(" ");
const u8 gText_SelectorArrow2[] = _(""); const u8 gText_SelectorArrow2[] = _("");
const u8 gText_GoBackPrevMenu[] = _("Go back to the\nprevious menu."); const u8 gText_GoBackPrevMenu[] = _("Go back to the\nprevious menu.");
const u8 gText_WhatWouldYouLike[] = _("What would you like to do?"); const u8 gText_WhatWouldYouLike[] = _("What would you like to do?");
const u8 gMenuText_Give2[] = _("GIVE"); const u8 gMenuText_Give2[] = _("GIVE");
const u8 gText_xVar1[] = _("×{STR_VAR_1}"); const u8 gText_xVar1[] = _("×{STR_VAR_1}");
const u8 gUnknown_085E8DA4[] = _(" BERRY"); const u8 gText_Berry2[] = _(" BERRY"); // Unused
const u8 gText_Coins[] = _("{STR_VAR_1} COINS"); const u8 gText_Coins[] = _("{STR_VAR_1} COINS");
const u8 gText_CloseBag[] = _("CLOSE BAG"); const u8 gText_CloseBag[] = _("CLOSE BAG");
const u8 gText_Var1IsSelected[] = _("{STR_VAR_1} is\nselected."); const u8 gText_Var1IsSelected[] = _("{STR_VAR_1} is\nselected.");
@@ -292,7 +292,7 @@ const u8 *const gPocketNamesStringsTable[] =
gText_KeyItemsPocket gText_KeyItemsPocket
}; };
const u8 gText_UnkF908Var1Clear7Var2[] = _("{NO}{STR_VAR_1}{CLEAR 0x07}{STR_VAR_2}"); const u8 gText_NumberVar1Clear7Var2[] = _("{NO}{STR_VAR_1}{CLEAR 0x07}{STR_VAR_2}");
const u8 gText_ClearTo11Var1Clear5Var2[] = _("{CLEAR_TO 0x11}{STR_VAR_1}{CLEAR 0x05}{STR_VAR_2}"); const u8 gText_ClearTo11Var1Clear5Var2[] = _("{CLEAR_TO 0x11}{STR_VAR_1}{CLEAR 0x05}{STR_VAR_2}");
const u8 gText_SizeSlash[] = _("SIZE /"); const u8 gText_SizeSlash[] = _("SIZE /");
const u8 gText_FirmSlash[] = _("FIRM /"); const u8 gText_FirmSlash[] = _("FIRM /");
@@ -305,7 +305,7 @@ const u8 gBerryFirmnessString_Hard[] = _("Hard");
const u8 gBerryFirmnessString_VeryHard[] = _("Very hard"); const u8 gBerryFirmnessString_VeryHard[] = _("Very hard");
const u8 gBerryFirmnessString_SuperHard[] = _("Super hard"); const u8 gBerryFirmnessString_SuperHard[] = _("Super hard");
const u8 gText_UnkF908Var1Var2[] = _("{NO}{STR_VAR_1} {STR_VAR_2}"); const u8 gText_NumberVar1Var2[] = _("{NO}{STR_VAR_1} {STR_VAR_2}");
const u8 gText_BerryTag[] = _("BERRY TAG"); const u8 gText_BerryTag[] = _("BERRY TAG");
const u8 gText_RedPokeblock[] = _("RED {POKEBLOCK}"); const u8 gText_RedPokeblock[] = _("RED {POKEBLOCK}");
const u8 gText_BluePokeblock[] = _("BLUE {POKEBLOCK}"); const u8 gText_BluePokeblock[] = _("BLUE {POKEBLOCK}");
@@ -326,8 +326,8 @@ const u8 gText_Dry[] = _("DRY");
const u8 gText_Sweet[] = _("SWEET"); const u8 gText_Sweet[] = _("SWEET");
const u8 gText_Bitter[] = _("BITTER"); const u8 gText_Bitter[] = _("BITTER");
const u8 gText_Sour[] = _("SOUR"); const u8 gText_Sour[] = _("SOUR");
const u8 gUnknown_085E9339[] = _("TASTY"); const u8 gText_Tasty[] = _("TASTY"); // Unused
const u8 gUnknown_085E933F[] = _("FEEL"); const u8 gText_Feel[] = _("FEEL"); // Unused
const u8 gText_StowCase[] = _("Stow CASE."); const u8 gText_StowCase[] = _("Stow CASE.");
const u8 gText_LvVar1[] = _("{LV}{STR_VAR_1}"); const u8 gText_LvVar1[] = _("{LV}{STR_VAR_1}");
const u8 gText_ThrowAwayVar1[] = _("Throw away this\n{STR_VAR_1}?"); const u8 gText_ThrowAwayVar1[] = _("Throw away this\n{STR_VAR_1}?");
@@ -363,7 +363,7 @@ const u8 gText_Shift[] = _("SHIFT");
const u8 gText_SendOut[] = _("SEND OUT"); const u8 gText_SendOut[] = _("SEND OUT");
const u8 gText_Switch2[] = _("SWITCH"); const u8 gText_Switch2[] = _("SWITCH");
const u8 gText_Summary5[] = _("SUMMARY"); const u8 gText_Summary5[] = _("SUMMARY");
const u8 gUnknown_085E96BE[] = _("MOVES"); const u8 gText_Moves[] = _("MOVES"); // Unused
const u8 gText_Enter[] = _("ENTER"); const u8 gText_Enter[] = _("ENTER");
const u8 gText_NoEntry[] = _("NO ENTRY"); const u8 gText_NoEntry[] = _("NO ENTRY");
const u8 gText_Take2[] = _("TAKE"); const u8 gText_Take2[] = _("TAKE");
@@ -411,7 +411,7 @@ const u8 gText_PkmnWokeUp2[] = _("{STR_VAR_1} woke up.{PAUSE_UNTIL_PRESS}");
const u8 gText_PkmnBurnHealed[] = _("{STR_VAR_1}'s burn was healed.{PAUSE_UNTIL_PRESS}"); const u8 gText_PkmnBurnHealed[] = _("{STR_VAR_1}'s burn was healed.{PAUSE_UNTIL_PRESS}");
const u8 gText_PkmnThawedOut[] = _("{STR_VAR_1} was thawed out.{PAUSE_UNTIL_PRESS}"); const u8 gText_PkmnThawedOut[] = _("{STR_VAR_1} was thawed out.{PAUSE_UNTIL_PRESS}");
const u8 gText_PPWasRestored[] = _("PP was restored.{PAUSE_UNTIL_PRESS}"); const u8 gText_PPWasRestored[] = _("PP was restored.{PAUSE_UNTIL_PRESS}");
const u8 gUnknown_085E9CCA[] = _("{STR_VAR_1} regained health.{PAUSE_UNTIL_PRESS}"); const u8 gText_PkmnRegainhedHealth[] = _("{STR_VAR_1} regained health.{PAUSE_UNTIL_PRESS}"); // Unused
const u8 gText_PkmnBecameHealthy[] = _("{STR_VAR_1} became healthy.{PAUSE_UNTIL_PRESS}"); const u8 gText_PkmnBecameHealthy[] = _("{STR_VAR_1} became healthy.{PAUSE_UNTIL_PRESS}");
const u8 gText_MovesPPIncreased[] = _("{STR_VAR_1}'s PP increased.{PAUSE_UNTIL_PRESS}"); const u8 gText_MovesPPIncreased[] = _("{STR_VAR_1}'s PP increased.{PAUSE_UNTIL_PRESS}");
const u8 gText_PkmnElevatedToLvVar2[] = _("{STR_VAR_1} was elevated to\nLv. {STR_VAR_2}."); const u8 gText_PkmnElevatedToLvVar2[] = _("{STR_VAR_1} was elevated to\nLv. {STR_VAR_2}.");
@@ -423,7 +423,7 @@ const u8 gText_PkmnSnappedOutOfConfusion[] = _("{STR_VAR_1} snapped out of its\n
const u8 gText_PkmnGotOverInfatuation[] = _("{STR_VAR_1} got over its\ninfatuation.{PAUSE_UNTIL_PRESS}"); const u8 gText_PkmnGotOverInfatuation[] = _("{STR_VAR_1} got over its\ninfatuation.{PAUSE_UNTIL_PRESS}");
const u8 gText_ThrowAwayItem[] = _("Throw away this\n{STR_VAR_1}?"); const u8 gText_ThrowAwayItem[] = _("Throw away this\n{STR_VAR_1}?");
const u8 gText_ItemThrownAway[] = _("The {STR_VAR_1}\nwas thrown away.{PAUSE_UNTIL_PRESS}"); const u8 gText_ItemThrownAway[] = _("The {STR_VAR_1}\nwas thrown away.{PAUSE_UNTIL_PRESS}");
const u8 gUnknown_085E9E2E[] = _("Teach which POKéMON?"); const u8 gText_TeachWhichPokemon2[] = _("Teach which POKéMON?"); // Unused
const u8 gText_ChoosePokemon[] = _("Choose a POKéMON."); const u8 gText_ChoosePokemon[] = _("Choose a POKéMON.");
const u8 gText_MoveToWhere[] = _("Move to where?"); const u8 gText_MoveToWhere[] = _("Move to where?");
const u8 gText_TeachWhichPokemon[] = _("Teach which POKéMON?"); const u8 gText_TeachWhichPokemon[] = _("Teach which POKéMON?");
@@ -487,7 +487,7 @@ const u8 gText_SpAtk4[] = _("SP. ATK");
const u8 gText_SpDef4[] = _("SP. DEF"); const u8 gText_SpDef4[] = _("SP. DEF");
const u8 gText_Speed2[] = _("SPEED"); const u8 gText_Speed2[] = _("SPEED");
const u8 gText_HP4[] = _("HP"); const u8 gText_HP4[] = _("HP");
const u8 gUnknown_085EA364[] = _(""); const u8 gText_EmptyString8[] = _(""); // Unused
const u8 gText_OTSlash[] = _("OT/"); const u8 gText_OTSlash[] = _("OT/");
const u8 gText_RentalPkmn[] = _("RENTAL POKéMON"); const u8 gText_RentalPkmn[] = _("RENTAL POKéMON");
const u8 gText_TypeSlash[] = _("TYPE/"); const u8 gText_TypeSlash[] = _("TYPE/");
@@ -500,7 +500,7 @@ const u8 gText_ExpPoints[] = _("EXP. POINTS");
const u8 gText_NextLv[] = _("NEXT LV."); const u8 gText_NextLv[] = _("NEXT LV.");
const u8 gText_RibbonsVar1[] = _("RIBBONS: {STR_VAR_1}"); const u8 gText_RibbonsVar1[] = _("RIBBONS: {STR_VAR_1}");
const u8 gText_EmptyString5[] = _(""); const u8 gText_EmptyString5[] = _("");
const u8 gUnknown_085EA3C1[] = _("EVENTS"); const u8 gText_Events[] = _("EVENTS"); // Unused
const u8 gText_Switch[] = _("SWITCH"); const u8 gText_Switch[] = _("SWITCH");
const u8 gText_PkmnInfo[] = _("POKéMON INFO"); const u8 gText_PkmnInfo[] = _("POKéMON INFO");
const u8 gText_PkmnSkills[] = _("POKéMON SKILLS"); const u8 gText_PkmnSkills[] = _("POKéMON SKILLS");
@@ -530,7 +530,7 @@ const u8 gText_OkayToDeleteFromRegistry[] = _("Is it okay to delete {STR_VAR_1}\
const u8 gText_RegisteredDataDeleted[] = _("The registered data was deleted.{PAUSE_UNTIL_PRESS}"); const u8 gText_RegisteredDataDeleted[] = _("The registered data was deleted.{PAUSE_UNTIL_PRESS}");
const u8 gText_NoRegistry[] = _("There is no REGISTRY.{PAUSE_UNTIL_PRESS}"); const u8 gText_NoRegistry[] = _("There is no REGISTRY.{PAUSE_UNTIL_PRESS}");
const u8 gText_DelRegist[] = _("DEL REGIST."); const u8 gText_DelRegist[] = _("DEL REGIST.");
const u8 gUnknown_085EA7A9[] = _("{STR_VAR_3}{STR_VAR_1}/{STR_VAR_2}"); const u8 gText_Var3Var1SlashVar2[] = _("{STR_VAR_3}{STR_VAR_1}/{STR_VAR_2}"); // Unused
const u8 gText_Decorate[] = _("DECORATE"); const u8 gText_Decorate[] = _("DECORATE");
const u8 gText_PutAway[] = _("PUT AWAY"); const u8 gText_PutAway[] = _("PUT AWAY");
const u8 gText_Toss2[] = _("TOSS"); const u8 gText_Toss2[] = _("TOSS");
@@ -555,7 +555,7 @@ const u8 gText_CancelDecorating[] = _("Cancel decorating?");
const u8 gText_InUseAlready[] = _("This is in use already."); const u8 gText_InUseAlready[] = _("This is in use already.");
const u8 gText_NoMoreDecorations[] = _("No more decorations can be placed.\nThe most that can be placed are {STR_VAR_1}."); const u8 gText_NoMoreDecorations[] = _("No more decorations can be placed.\nThe most that can be placed are {STR_VAR_1}.");
const u8 gText_NoMoreDecorations2[] = _("No more decorations can be placed.\nThe most that can be placed are {STR_VAR_1}."); const u8 gText_NoMoreDecorations2[] = _("No more decorations can be placed.\nThe most that can be placed are {STR_VAR_1}.");
const u8 gUnknown_085EA978[] = _("This can't be placed here.\nIt must be on a DESK, etc."); const u8 gText_MustBePlacedOnDesk[] = _("This can't be placed here.\nIt must be on a DESK, etc."); // Unused
const u8 gText_CantPlaceInRoom[] = _("This decoration can't be placed in\nyour own room."); const u8 gText_CantPlaceInRoom[] = _("This decoration can't be placed in\nyour own room.");
const u8 gText_CantThrowAwayInUse[] = _("This decoration is in use.\nIt can't be thrown away."); const u8 gText_CantThrowAwayInUse[] = _("This decoration is in use.\nIt can't be thrown away.");
const u8 gText_DecorationWillBeDiscarded[] = _("This {STR_VAR_1} will be discarded.\nIs that okay?"); const u8 gText_DecorationWillBeDiscarded[] = _("This {STR_VAR_1} will be discarded.\nIs that okay?");
@@ -627,18 +627,18 @@ const u8 gText_Par[] = _("PAR");
const u8 gText_Slp[] = _("SLP"); const u8 gText_Slp[] = _("SLP");
const u8 gText_Brn[] = _("BRN"); const u8 gText_Brn[] = _("BRN");
const u8 gText_Frz[] = _("FRZ"); const u8 gText_Frz[] = _("FRZ");
const u8 gUnknown_085EAE45[] = _("TOXIC"); const u8 gText_Toxic[] = _("TOXIC"); // Unused
const u8 gUnknown_085EAE4B[] = _("OK"); const u8 gText_Ok3[] = _("OK"); // Unused
const u8 gUnknown_085EAE4E[] = _("QUIT"); const u8 gText_Quit[] = _("QUIT"); // Unused
const u8 gText_SawIt[] = _("Saw it"); const u8 gText_SawIt[] = _("Saw it");
const u8 gText_NotYet[] = _("Not yet"); const u8 gText_NotYet[] = _("Not yet");
const u8 gText_Yes[] = _("YES"); const u8 gText_Yes[] = _("YES");
const u8 gText_No[] = _("NO"); const u8 gText_No[] = _("NO");
const u8 gUnknown_085EAE69[] = _("INFO"); const u8 gText_Info4[] = _("INFO"); // Unused
const u8 gText_SingleBattle[] = _("SINGLE BATTLE"); const u8 gText_SingleBattle[] = _("SINGLE BATTLE");
const u8 gText_DoubleBattle[] = _("DOUBLE BATTLE"); const u8 gText_DoubleBattle[] = _("DOUBLE BATTLE");
const u8 gText_MultiBattle[] = _("MULTI BATTLE"); const u8 gText_MultiBattle[] = _("MULTI BATTLE");
const u8 gUnknown_085EAE97[] = _("MR. BRINEY"); const u8 gText_MrBriney[] = _("MR. BRINEY"); // Unused
const u8 gText_Challenge[] = _("CHALLENGE"); const u8 gText_Challenge[] = _("CHALLENGE");
const u8 gText_Info3[] = _("INFO"); const u8 gText_Info3[] = _("INFO");
const u8 gText_Lv50[] = _("LV. 50"); const u8 gText_Lv50[] = _("LV. 50");
@@ -756,7 +756,7 @@ const u8 gText_TradeCenter[] = _("TRADE CENTER");
const u8 gText_Colosseum[] = _("COLOSSEUM"); const u8 gText_Colosseum[] = _("COLOSSEUM");
const u8 gText_RecordCorner[] = _("RECORD CORNER"); const u8 gText_RecordCorner[] = _("RECORD CORNER");
const u8 gText_BerryCrush3[] = _("BERRY CRUSH"); const u8 gText_BerryCrush3[] = _("BERRY CRUSH");
const u8 gUnknown_085EB3A3[] = _(""); const u8 gText_EmptyLinkService[] = _(""); // Maybe Spin Trade?
const u8 gText_PokemonJump[] = _("POKéMON JUMP"); const u8 gText_PokemonJump[] = _("POKéMON JUMP");
const u8 gText_DodrioBerryPicking[] = _("DODRIO BERRY-PICKING"); const u8 gText_DodrioBerryPicking[] = _("DODRIO BERRY-PICKING");
const u8 gText_BecomeLeader[] = _("BECOME LEADER"); const u8 gText_BecomeLeader[] = _("BECOME LEADER");
@@ -807,7 +807,7 @@ const u8 gText_99TimesPlus[] = _("99 times +");
const u8 gText_1MinutePlus[] = _("1 minute +"); const u8 gText_1MinutePlus[] = _("1 minute +");
const u8 gText_SpaceSeconds[] = _(" seconds"); const u8 gText_SpaceSeconds[] = _(" seconds");
const u8 gText_SpaceTimes[] = _(" time(s)"); const u8 gText_SpaceTimes[] = _(" time(s)");
const u8 gUnknown_085EB5F7[] = _("."); const u8 gText_Dot[] = _("."); // Unused
const u8 gText_BigGuy[] = _("Big guy"); const u8 gText_BigGuy[] = _("Big guy");
const u8 gText_BigGirl[] = _("Big girl"); const u8 gText_BigGirl[] = _("Big girl");
const u8 gText_Son[] = _("son"); const u8 gText_Son[] = _("son");
@@ -925,7 +925,7 @@ const u8 gPCText_PolkaDot[] = _("POLKA-DOT");
const u8 gPCText_Pokecenter[] = _("POKéCENTER"); const u8 gPCText_Pokecenter[] = _("POKéCENTER");
const u8 gPCText_Machine[] = _("MACHINE"); const u8 gPCText_Machine[] = _("MACHINE");
const u8 gPCText_Simple[] = _("SIMPLE"); const u8 gPCText_Simple[] = _("SIMPLE");
const u8 gUnknown_085EBB56[] = _("What would you like to do?"); const u8 gText_WhatWouldYouLikeToDo[] = _("What would you like to do?"); // Unused
const u8 gText_WithdrawPokemon[] = _("WITHDRAW POKéMON"); const u8 gText_WithdrawPokemon[] = _("WITHDRAW POKéMON");
const u8 gText_DepositPokemon[] = _("DEPOSIT POKéMON"); const u8 gText_DepositPokemon[] = _("DEPOSIT POKéMON");
const u8 gText_MovePokemon[] = _("MOVE POKéMON"); const u8 gText_MovePokemon[] = _("MOVE POKéMON");
@@ -939,28 +939,28 @@ const u8 gText_SeeYaDescription[] = _("Return to the previous menu.");
const u8 gText_JustOnePkmn[] = _("There is just one POKéMON with you."); const u8 gText_JustOnePkmn[] = _("There is just one POKéMON with you.");
const u8 gText_PartyFull[] = _("Your party is full!"); const u8 gText_PartyFull[] = _("Your party is full!");
const u8 gText_Box[] = _("BOX"); const u8 gText_Box[] = _("BOX");
const u8 gUnknown_085EBCC5[] = _("Check the map of the HOENN region."); const u8 gText_CheckMapOfHoenn[] = _("Check the map of the HOENN region.");
const u8 gUnknown_085EBCE8[] = _("Check POKéMON in detail."); const u8 gText_CheckPokemonInDetail[] = _("Check POKéMON in detail.");
const u8 gUnknown_085EBD01[] = _("Call a registered TRAINER."); const u8 gText_CallRegisteredTrainer[] = _("Call a registered TRAINER.");
const u8 gUnknown_085EBD1C[] = _("Check obtained RIBBONS."); const u8 gText_CheckObtainedRibbons[] = _("Check obtained RIBBONS.");
const u8 gUnknown_085EBD34[] = _("Put away the POKéNAV."); const u8 gText_PutAwayPokenav[] = _("Put away the POKéNAV.");
const u8 gText_NoRibbonWinners[] = _("There are no RIBBON winners."); const u8 gText_NoRibbonWinners[] = _("There are no RIBBON winners.");
const u8 gUnknown_085EBD67[] = _("No TRAINERS are registered."); const u8 gText_NoTrainersRegistered[] = _("No TRAINERS are registered."); // Unused
const u8 gUnknown_085EBD83[] = _("Check party POKéMON in detail."); const u8 gText_CheckPartyPokemonInDetail[] = _("Check party POKéMON in detail.");
const u8 gUnknown_085EBDA2[] = _("Check all POKéMON in detail."); const u8 gText_CheckAllPokemonInDetail[] = _("Check all POKéMON in detail.");
const u8 gUnknown_085EBDBF[] = _("Return to the POKéNAV menu."); const u8 gText_ReturnToPokenavMenu[] = _("Return to the POKéNAV menu.");
const u8 gUnknown_085EBDDB[] = _("Find cool POKéMON."); const u8 gText_FindCoolPokemon[] = _("Find cool POKéMON.");
const u8 gUnknown_085EBDEE[] = _("Find beautiful POKéMON."); const u8 gText_FindBeautifulPokemon[] = _("Find beautiful POKéMON.");
const u8 gUnknown_085EBE06[] = _("Find cute POKéMON."); const u8 gText_FindCutePokemon[] = _("Find cute POKéMON.");
const u8 gUnknown_085EBE19[] = _("Find smart POKéMON."); const u8 gText_FindSmartPokemon[] = _("Find smart POKéMON.");
const u8 gUnknown_085EBE2D[] = _("Find tough POKéMON."); const u8 gText_FindToughPokemon[] = _("Find tough POKéMON.");
const u8 gUnknown_085EBE41[] = _("Return to the CONDITION menu."); const u8 gText_ReturnToConditionMenu[] = _("Return to the CONDITION menu.");
const u8 gText_NumberRegistered[] = _("No. registered"); const u8 gText_NumberRegistered[] = _("No. registered");
const u8 gText_NumberOfBattles[] = _("No. of battles"); const u8 gText_NumberOfBattles[] = _("No. of battles");
const u8 gUnknown_085EBE7D[] = _("DETAIL"); const u8 gText_Detail[] = _("DETAIL"); // Unused
const u8 gUnknown_085EBE84[] = _("CALL"); const u8 gText_Call2[] = _("CALL"); // Unused
const u8 gUnknown_085EBE89[] = _("EXIT"); const u8 gText_UnusedExit[] = _("EXIT"); // Unused
const u8 gUnknown_085EBE8E[] = _("Can't call opponent here."); const u8 gText_CantCallOpponentHere[] = _("Can't call opponent here."); // Unused
const u8 gText_PokenavMatchCall_Strategy[] = _("STRATEGY"); const u8 gText_PokenavMatchCall_Strategy[] = _("STRATEGY");
const u8 gText_PokenavMatchCall_TrainerPokemon[] = _("TRAINER'S POKéMON"); const u8 gText_PokenavMatchCall_TrainerPokemon[] = _("TRAINER'S POKéMON");
const u8 gText_PokenavMatchCall_SelfIntroduction[] = _("SELF-INTRODUCTION"); const u8 gText_PokenavMatchCall_SelfIntroduction[] = _("SELF-INTRODUCTION");
@@ -980,26 +980,26 @@ const u8 gText_NatureSlash[] = _("NATURE/");
const u8 gText_TrainerCloseBy[] = _("That TRAINER is close by.\nTalk to the TRAINER in person!"); const u8 gText_TrainerCloseBy[] = _("That TRAINER is close by.\nTalk to the TRAINER in person!");
const u8 gText_InParty[] = _("IN PARTY"); const u8 gText_InParty[] = _("IN PARTY");
const u8 gText_Number2[] = _("No. "); const u8 gText_Number2[] = _("No. ");
const u8 gUnknown_085EBFDC[] = _("RIBBONS"); const u8 gText_Ribbons[] = _("RIBBONS"); // Unused
const u8 gUnknown_085EBFE4[] = _("{SPECIAL_F7 0x00}{COLOR_HIGHLIGHT_SHADOW LIGHT_RED WHITE GREEN}♂{COLOR_HIGHLIGHT_SHADOW DARK_GREY WHITE LIGHT_GREY}/{LV}{SPECIAL_F7 0x01}"); const u8 gText_PokemonMaleLv[] = _("{SPECIAL_F7 0x00}{COLOR_HIGHLIGHT_SHADOW LIGHT_RED WHITE GREEN}♂{COLOR_HIGHLIGHT_SHADOW DARK_GREY WHITE LIGHT_GREY}/{LV}{SPECIAL_F7 0x01}"); // Unused
const u8 gUnknown_085EBFF6[] = _("{SPECIAL_F7 0x00}{COLOR_HIGHLIGHT_SHADOW LIGHT_GREEN WHITE BLUE}♀{COLOR_HIGHLIGHT_SHADOW DARK_GREY WHITE LIGHT_GREY}/{LV}{SPECIAL_F7 0x01}"); const u8 gText_PokemonFemaleLv[] = _("{SPECIAL_F7 0x00}{COLOR_HIGHLIGHT_SHADOW LIGHT_GREEN WHITE BLUE}♀{COLOR_HIGHLIGHT_SHADOW DARK_GREY WHITE LIGHT_GREY}/{LV}{SPECIAL_F7 0x01}"); // Unused
const u8 gUnknown_085EC008[] = _("{SPECIAL_F7 0x00}/{LV}{SPECIAL_F7 0x01}"); const u8 gText_PokemonNoGenderLv[] = _("{SPECIAL_F7 0x00}/{LV}{SPECIAL_F7 0x01}"); // Unused
const u8 gText_Unknown[] = _("UNKNOWN"); const u8 gText_Unknown[] = _("UNKNOWN");
const u8 gUnknown_085EC017[] = _("CALL"); const u8 gText_Call[] = _("CALL");
const u8 gUnknown_085EC01C[] = _("CHECK"); const u8 gText_Check[] = _("CHECK");
const u8 gUnknown_085EC022[] = _("CANCEL"); const u8 gText_Cancel6[] = _("CANCEL");
const u8 gText_NumberF700[] = _("No. {SPECIAL_F7 0x00}"); const u8 gText_NumberF700[] = _("No. {SPECIAL_F7 0x00}");
const u8 gText_RibbonsF700[] = _("RIBBONS {SPECIAL_F7 0x00}"); const u8 gText_RibbonsF700[] = _("RIBBONS {SPECIAL_F7 0x00}");
const u8 gUnknown_085EC03B[] = _("{SPECIAL_F7 0x00}{COLOR_HIGHLIGHT_SHADOW LIGHT_RED WHITE GREEN}♂{COLOR_HIGHLIGHT_SHADOW DARK_GREY WHITE LIGHT_GREY}/{LV}{SPECIAL_F7 0x01}{SPECIAL_F7 0x02}"); const u8 gText_PokemonMaleLv2[] = _("{SPECIAL_F7 0x00}{COLOR_HIGHLIGHT_SHADOW LIGHT_RED WHITE GREEN}♂{COLOR_HIGHLIGHT_SHADOW DARK_GREY WHITE LIGHT_GREY}/{LV}{SPECIAL_F7 0x01}{SPECIAL_F7 0x02}"); // Unused
const u8 gUnknown_085EC04F[] = _("{SPECIAL_F7 0x00}{COLOR_HIGHLIGHT_SHADOW LIGHT_GREEN WHITE BLUE}♀{COLOR_HIGHLIGHT_SHADOW DARK_GREY WHITE LIGHT_GREY}/{LV}{SPECIAL_F7 0x01}{SPECIAL_F7 0x02}"); const u8 gText_PokemonFemaleLv2[] = _("{SPECIAL_F7 0x00}{COLOR_HIGHLIGHT_SHADOW LIGHT_GREEN WHITE BLUE}♀{COLOR_HIGHLIGHT_SHADOW DARK_GREY WHITE LIGHT_GREY}/{LV}{SPECIAL_F7 0x01}{SPECIAL_F7 0x02}"); // Unused
const u8 gUnknown_085EC063[] = _("{SPECIAL_F7 0x00}/{LV}{SPECIAL_F7 0x01}{SPECIAL_F7 0x02}"); const u8 gText_PokemonNoGenderLv2[] = _("{SPECIAL_F7 0x00}/{LV}{SPECIAL_F7 0x01}{SPECIAL_F7 0x02}"); // Unused
const u8 gText_CombineFourWordsOrPhrases[] = _("Combine four words or phrases"); const u8 gText_CombineFourWordsOrPhrases[] = _("Combine four words or phrases");
const u8 gText_AndMakeYourProfile[] = _("and make your profile."); const u8 gText_AndMakeYourProfile[] = _("and make your profile.");
const u8 gText_CombineSixWordsOrPhrases[] = _("Combine six words or phrases"); const u8 gText_CombineSixWordsOrPhrases[] = _("Combine six words or phrases");
const u8 gText_AndMakeAMessage[] = _("and make a message."); const u8 gText_AndMakeAMessage[] = _("and make a message.");
const u8 gText_FindWordsThatDescribeYour[] = _("Find words that describe your"); const u8 gText_FindWordsThatDescribeYour[] = _("Find words that describe your");
const u8 gText_FeelingsRightNow[] = _("feelings right now."); const u8 gText_FeelingsRightNow[] = _("feelings right now.");
const u8 gUnknown_085EC104[] = _("With four phrases,"); const u8 gText_WithFourPhrases[] = _("With four phrases,"); // Unused
const u8 gText_CombineNineWordsOrPhrases[] = _("Combine nine words or phrases"); const u8 gText_CombineNineWordsOrPhrases[] = _("Combine nine words or phrases");
const u8 gText_AndMakeAMessage2[] = _("and make a message."); const u8 gText_AndMakeAMessage2[] = _("and make a message.");
const u8 gText_ChangeJustOneWordOrPhrase[] = _("Change just one word or phrase"); const u8 gText_ChangeJustOneWordOrPhrase[] = _("Change just one word or phrase");
@@ -1010,7 +1010,7 @@ const u8 gText_WhatYouSayIfYouWin[] = _("What you say if you win a battle");
const u8 gText_WhatYouSayIfYouLose[] = _("What you say if you lose a battle"); const u8 gText_WhatYouSayIfYouLose[] = _("What you say if you lose a battle");
const u8 gText_TheAnswer[] = _("The answer"); const u8 gText_TheAnswer[] = _("The answer");
const u8 gText_TheMailMessage[] = _("The MAIL message"); const u8 gText_TheMailMessage[] = _("The MAIL message");
const u8 gUnknown_085EC214[] = _("The MAIL salutation"); const u8 gText_TheMailSalutation[] = _("The MAIL salutation"); // Unused
const u8 gText_TheBardsSong2[] = _("The new song"); const u8 gText_TheBardsSong2[] = _("The new song");
const u8 gText_CombineTwoWordsOrPhrases[] = _("Combine two words or phrases"); const u8 gText_CombineTwoWordsOrPhrases[] = _("Combine two words or phrases");
const u8 gText_AndMakeATrendySaying[] = _("and make a trendy saying."); const u8 gText_AndMakeATrendySaying[] = _("and make a trendy saying.");
@@ -1027,7 +1027,7 @@ const u8 gText_AndCreateAQuiz[] = _("and create a quiz!");
const u8 gText_PickAWordOrPhraseAnd[] = _("Pick a word or phrase and"); const u8 gText_PickAWordOrPhraseAnd[] = _("Pick a word or phrase and");
const u8 gText_SetTheQuizAnswer[] = _("set the quiz answer."); const u8 gText_SetTheQuizAnswer[] = _("set the quiz answer.");
const u8 gText_TheAnswerColon[] = _("The answer:"); const u8 gText_TheAnswerColon[] = _("The answer:");
const u8 gUnknown_085EC387[] = _("The quiz:"); const u8 gText_TheQuizColon[] = _("The quiz:"); // Unused
const u8 gText_ApprenticePhrase[] = _("Apprentice's phrase:"); const u8 gText_ApprenticePhrase[] = _("Apprentice's phrase:");
const u8 gText_QuitEditing[] = _("Quit editing?"); const u8 gText_QuitEditing[] = _("Quit editing?");
const u8 gText_StopGivingPkmnMail[] = _("Stop giving the POKéMON MAIL?"); const u8 gText_StopGivingPkmnMail[] = _("Stop giving the POKéMON MAIL?");
@@ -1035,20 +1035,20 @@ const u8 gText_AndFillOutTheQuestionnaire[] = _("and fill out the questionnaire.
const u8 gText_LetsReplyToTheInterview[] = _("Let's reply to the interview!"); const u8 gText_LetsReplyToTheInterview[] = _("Let's reply to the interview!");
const u8 gText_AllTextBeingEditedWill[] = _("All the text being edited will"); const u8 gText_AllTextBeingEditedWill[] = _("All the text being edited will");
const u8 gText_BeDeletedThatOkay[] = _("be deleted. Is that okay?"); const u8 gText_BeDeletedThatOkay[] = _("be deleted. Is that okay?");
const u8 gUnknown_085EC449[] = _("Quit editing?"); const u8 gText_QuitEditing2[] = _("Quit editing?"); // Unused
const u8 gUnknown_085EC457[] = _("The edited text will not be saved."); const u8 gText_EditedTextWillNotBeSaved[] = _("The edited text will not be saved."); // Unused
const u8 gUnknown_085EC47A[] = _("Is that okay?"); const u8 gText_IsThatOkay[] = _("Is that okay?"); // Unused
const u8 gUnknown_085EC488[] = _("Please enter a phrase or word."); const u8 gText_PleaseEnterPhraseOrWord[] = _("Please enter a phrase or word."); // Unused
const u8 gUnknown_085EC4A7[] = _("The entire text can't be deleted."); const u8 gText_EntireTextCantBeDeleted[] = _("The entire text can't be deleted.");
const u8 gText_OnlyOnePhrase[] = _("Only one phrase may be changed."); const u8 gText_OnlyOnePhrase[] = _("Only one phrase may be changed.");
const u8 gText_OriginalSongWillBeUsed[] = _("The original song will be used."); const u8 gText_OriginalSongWillBeUsed[] = _("The original song will be used.");
const u8 gUnknown_085EC509[] = _("That's trendy already!"); const u8 gText_ThatsTrendyAlready[] = _("That's trendy already!"); // Unused
const u8 gText_CombineTwoWordsOrPhrases3[] = _("Combine two words or phrases."); const u8 gText_CombineTwoWordsOrPhrases3[] = _("Combine two words or phrases.");
const u8 gUnknown_085EC53E[] = _("Quit giving information?"); const u8 gText_QuitGivingInfo[] = _("Quit giving information?"); // Unused
const u8 gUnknown_085EC557[] = _("Stop giving the POKéMON MAIL?"); const u8 gText_StopGivingPkmnMail2[] = _("Stop giving the POKéMON MAIL?"); // Unused
const u8 gUnknown_085EC575[] = _("Create a quiz!"); const u8 gText_CreateAQuiz2[] = _("Create a quiz!"); // Unused
const u8 gUnknown_085EC584[] = _("Set the answer!"); const u8 gText_SetTheAnswer[] = _("Set the answer!"); // Unused
const u8 gUnknown_085EC594[] = _("Cancel the selection?"); const u8 gText_CancelSelection[] = _("Cancel the selection?"); // Unused
const u8 gText_Profile[] = _("PROFILE"); const u8 gText_Profile[] = _("PROFILE");
const u8 gText_AtTheBattlesStart[] = _("At the battle's start:"); const u8 gText_AtTheBattlesStart[] = _("At the battle's start:");
const u8 gText_UponWinningABattle[] = _("Upon winning a battle:"); const u8 gText_UponWinningABattle[] = _("Upon winning a battle:");
@@ -1058,7 +1058,7 @@ const u8 gText_WhatsHipAndHappening[] = _("What's hip and happening?");
const u8 gText_Interview[] = _("Interview"); const u8 gText_Interview[] = _("Interview");
const u8 gText_GoodSaying[] = _("Good saying"); const u8 gText_GoodSaying[] = _("Good saying");
const u8 gText_FansQuestion[] = _("Fan's question"); const u8 gText_FansQuestion[] = _("Fan's question");
const u8 gUnknown_085EC645[] = _("クイズの こたえは?"); const u8 gJPText_WhatIsTheQuizAnswer[] = _("クイズの こたえは?"); // Unused
const u8 gText_ApprenticesPhrase[] = _("Apprentice's phrase"); const u8 gText_ApprenticesPhrase[] = _("Apprentice's phrase");
const u8 gText_Questionnaire[] = _("QUESTIONNAIRE"); const u8 gText_Questionnaire[] = _("QUESTIONNAIRE");
const u8 gText_YouCannotQuitHere[] = _("You cannot quit here."); const u8 gText_YouCannotQuitHere[] = _("You cannot quit here.");
@@ -1189,13 +1189,13 @@ const u8 gText_Marco[] = _("MARCO");
const u8 gText_TrainerCardName[] = _("NAME: "); const u8 gText_TrainerCardName[] = _("NAME: ");
const u8 gText_TrainerCardIDNo[] = _("IDNo."); const u8 gText_TrainerCardIDNo[] = _("IDNo.");
const u8 gText_TrainerCardMoney[] = _("MONEY"); const u8 gText_TrainerCardMoney[] = _("MONEY");
const u8 gUnknown_085ECF84[] = _("¥"); const u8 gText_PokeDollar[] = _("¥"); // Unused
const u8 gText_TrainerCardPokedex[] = _("POKéDEX"); const u8 gText_TrainerCardPokedex[] = _("POKéDEX");
const u8 gText_EmptyString6[] = _(""); const u8 gText_EmptyString6[] = _("");
const u8 gText_Colon2[] = _(":"); const u8 gText_Colon2[] = _(":");
const u8 gUnknown_085ECF91[] = _(" points"); const u8 gText_Points[] = _(" points"); // Unused
const u8 gText_TrainerCardTime[] = _("TIME"); const u8 gText_TrainerCardTime[] = _("TIME");
const u8 gUnknown_085ECF9E[] = _("ゲ-ムポイント"); const u8 gJPText_BattlePoints[] = _("ゲ-ムポイント"); // Unused. Name presumed, translation is Game Points
const u8 gText_Var1sTrainerCard[] = _("{STR_VAR_1}'s TRAINER CARD"); const u8 gText_Var1sTrainerCard[] = _("{STR_VAR_1}'s TRAINER CARD");
const u8 gText_HallOfFameDebut[] = _("HALL OF FAME DEBUT "); const u8 gText_HallOfFameDebut[] = _("HALL OF FAME DEBUT ");
const u8 gText_LinkBattles[] = _("LINK BATTLES"); const u8 gText_LinkBattles[] = _("LINK BATTLES");
@@ -1239,9 +1239,9 @@ const u8 gText_Round2Results[] = _("Round 2 results!");
const u8 gText_Var1sVar2Won[] = _("{STR_VAR_1}'s {STR_VAR_2} won!"); const u8 gText_Var1sVar2Won[] = _("{STR_VAR_1}'s {STR_VAR_2} won!");
const u8 gText_CommunicationStandby[] = _("Communication standby…"); const u8 gText_CommunicationStandby[] = _("Communication standby…");
const u8 gText_ColorDarkGrey[] = _("{COLOR DARK_GREY}"); const u8 gText_ColorDarkGrey[] = _("{COLOR DARK_GREY}");
const u8 gUnknown_085ED222[] = _("{COLOR_HIGHLIGHT_SHADOW DYNAMIC_COLOR6 WHITE DYNAMIC_COLOR5}"); const u8 gText_ColorDynamic6WhiteDynamic5[] = _("{COLOR_HIGHLIGHT_SHADOW DYNAMIC_COLOR6 WHITE DYNAMIC_COLOR5}"); // Unused
const u8 gText_HighlightDarkGrey[] = _("{HIGHLIGHT DARK_GREY}"); const u8 gText_HighlightDarkGrey[] = _("{HIGHLIGHT DARK_GREY}");
const u8 gUnknown_085ED22C[] = _(" "); const u8 gText_EmptySpace2[] = _(" "); // Unused
const u8 gText_DynColor2Male[] = _("{COLOR DYNAMIC_COLOR2}♂"); const u8 gText_DynColor2Male[] = _("{COLOR DYNAMIC_COLOR2}♂");
const u8 gText_DynColor1Female[] = _("{COLOR DYNAMIC_COLOR1}♀"); const u8 gText_DynColor1Female[] = _("{COLOR DYNAMIC_COLOR1}♀");
const u8 gText_DynColor2[] = _("{COLOR DYNAMIC_COLOR2}"); const u8 gText_DynColor2[] = _("{COLOR DYNAMIC_COLOR2}");
@@ -1257,8 +1257,8 @@ const u8 gText_RegisterTextHere[] = _("Register text here?");
const u8 gText_InputText[] = _("Input text."); const u8 gText_InputText[] = _("Input text.");
const u8 gText_F700JoinedChat[] = _("{SPECIAL_F7 0x00} joined the chat!"); const u8 gText_F700JoinedChat[] = _("{SPECIAL_F7 0x00} joined the chat!");
const u8 gText_F700LeftChat[] = _("{SPECIAL_F7 0x00} left the chat."); const u8 gText_F700LeftChat[] = _("{SPECIAL_F7 0x00} left the chat.");
const u8 gUnknown_085ED2CF[] = _("{SPECIAL_F7 0x00}の{SPECIAL_F7 0x01}ひきめ:"); const u8 gJPText_PlayersXPokemon[] = _("{SPECIAL_F7 0x00}の{SPECIAL_F7 0x01}ひきめ:"); // Unused
const u8 gUnknown_085ED2D9[] = _("{SPECIAL_F7 0x00}の{SPECIAL_F7 0x01}ひきめは いません"); const u8 gJPText_PlayersXPokmonDoesNotExist[] = _("{SPECIAL_F7 0x00}の{SPECIAL_F7 0x01}ひきめは いません"); // Unused
const u8 gText_ExitingChat[] = _("Exiting the chat…"); const u8 gText_ExitingChat[] = _("Exiting the chat…");
const u8 gText_LeaderLeftEndingChat[] = _("The LEADER, {SPECIAL_F7 0x00}, has\nleft, ending the chat."); const u8 gText_LeaderLeftEndingChat[] = _("The LEADER, {SPECIAL_F7 0x00}, has\nleft, ending the chat.");
const u8 gText_RegisteredTextChanged[] = _("The registered text has been changed.\nIs it okay to save the game?"); const u8 gText_RegisteredTextChanged[] = _("The registered text has been changed.\nIs it okay to save the game?");
@@ -1273,7 +1273,7 @@ const u8 gText_Battle[] = _("BATTLE");
const u8 gText_Lets[] = _("LET'S"); const u8 gText_Lets[] = _("LET'S");
const u8 gText_Ok[] = _("OK!"); const u8 gText_Ok[] = _("OK!");
const u8 gText_Sorry[] = _("SORRY"); const u8 gText_Sorry[] = _("SORRY");
const u8 gText_YayUnkF9F9[] = _("YAY{EMOJI_BIGSMILE}"); const u8 gText_YaySmileEmoji[] = _("YAY{EMOJI_BIGSMILE}");
const u8 gText_ThankYou[] = _("THANK YOU"); const u8 gText_ThankYou[] = _("THANK YOU");
const u8 gText_ByeBye[] = _("BYE-BYE!"); const u8 gText_ByeBye[] = _("BYE-BYE!");
const u8 gMatchCallStevenStrategyText[] = _("Attack the weak points!"); const u8 gMatchCallStevenStrategyText[] = _("Attack the weak points!");
@@ -1327,36 +1327,36 @@ const u8 gText_Var1Players[] = _("{STR_VAR_1} PLAYERS");
const u8 gText_SymbolsEarned[] = _("Symbols Earned"); const u8 gText_SymbolsEarned[] = _("Symbols Earned");
const u8 gText_BattleRecord[] = _("Battle Record"); const u8 gText_BattleRecord[] = _("Battle Record");
const u8 gText_BattlePoints[] = _("Battle Points"); const u8 gText_BattlePoints[] = _("Battle Points");
const u8 gUnknown_085ED92A[] = _("CANCEL"); const u8 gText_UnusedCancel[] = _("CANCEL"); // Unused
const u8 gUnknown_085ED931[] = _(""); const u8 gText_EmptyString7[] = _("");
const u8 gUnknown_085ED932[] = _("Check BATTLE FRONTIER MAP."); const u8 gText_CheckFrontierMap[] = _("Check BATTLE FRONTIER MAP.");
const u8 gUnknown_085ED94D[] = _("Check TRAINER CARD."); const u8 gText_CheckTrainerCard[] = _("Check TRAINER CARD.");
const u8 gUnknown_085ED961[] = _("View recorded battle."); const u8 gText_ViewRecordedBattle[] = _("View recorded battle.");
const u8 gUnknown_085ED977[] = _("Put away the FRONTIER PASS."); const u8 gText_PutAwayFrontierPass[] = _("Put away the FRONTIER PASS.");
const u8 gUnknown_085ED993[] = _("Your current Battle Points."); const u8 gText_CurrentBattlePoints[] = _("Your current Battle Points.");
const u8 gUnknown_085ED9AF[] = _("Your collected Symbols."); const u8 gText_CollectedSymbols[] = _("Your collected Symbols.");
const u8 gUnknown_085ED9C7[] = _("Battle Tower - Ability Symbol"); const u8 gText_BattleTowerAbilitySymbol[] = _("Battle Tower - Ability Symbol");
const u8 gUnknown_085ED9E5[] = _("Battle Dome - Tactics Symbol"); const u8 gText_BattleDomeTacticsSymbol[] = _("Battle Dome - Tactics Symbol");
const u8 gUnknown_085EDA02[] = _("Battle Palace - Spirits Symbol"); const u8 gText_BattlePalaceSpiritsSymbol[] = _("Battle Palace - Spirits Symbol");
const u8 gUnknown_085EDA21[] = _("Battle Arena - Guts Symbol"); const u8 gText_BattleArenaGutsSymbol[] = _("Battle Arena - Guts Symbol");
const u8 gUnknown_085EDA3C[] = _("Battle Factory - Knowledge Symbol"); const u8 gText_BattleFactoryKnowledgeSymbol[] = _("Battle Factory - Knowledge Symbol");
const u8 gUnknown_085EDA5E[] = _("Battle Pike - Luck Symbol"); const u8 gText_BattlePikeLuckSymbol[] = _("Battle Pike - Luck Symbol");
const u8 gUnknown_085EDA78[] = _("Battle Pyramid - Brave Symbol"); const u8 gText_BattlePyramidBraveSymbol[] = _("Battle Pyramid - Brave Symbol");
const u8 gUnknown_085EDA96[] = _("There is no Battle Record."); const u8 gText_ThereIsNoBattleRecord[] = _("There is no Battle Record.");
const u8 gUnknown_085EDAB1[] = _("BATTLE TOWER"); const u8 gText_BattleTower3[] = _("BATTLE TOWER");
const u8 gUnknown_085EDABE[] = _("BATTLE DOME"); const u8 gText_BattleDome2[] = _("BATTLE DOME");
const u8 gUnknown_085EDACA[] = _("BATTLE PALACE"); const u8 gText_BattlePalace2[] = _("BATTLE PALACE");
const u8 gUnknown_085EDAD8[] = _("BATTLE ARENA"); const u8 gText_BattleArena2[] = _("BATTLE ARENA");
const u8 gUnknown_085EDAE5[] = _("BATTLE FACTORY"); const u8 gText_BattleFactory2[] = _("BATTLE FACTORY");
const u8 gUnknown_085EDAF4[] = _("BATTLE PIKE"); const u8 gText_BattlePike2[] = _("BATTLE PIKE");
const u8 gUnknown_085EDB00[] = _("BATTLE PYRAMID"); const u8 gText_BattlePyramid2[] = _("BATTLE PYRAMID");
const u8 gUnknown_085EDB0F[] = _("KO opponents and aim for the top!\nYour ability will be tested."); const u8 gText_BattleTowerDesc[] = _("KO opponents and aim for the top!\nYour ability will be tested.");
const u8 gUnknown_085EDB4E[] = _("Keep winning at the tournament!\nYour tactics will be tested."); const u8 gText_BattleDomeDesc[] = _("Keep winning at the tournament!\nYour tactics will be tested.");
const u8 gUnknown_085EDB8B[] = _("Watch your POKéMON battle!\nYour spirit will be tested."); const u8 gText_BattlePalaceDesc[] = _("Watch your POKéMON battle!\nYour spirit will be tested.");
const u8 gUnknown_085EDBC2[] = _("Win battles with teamed-up POKéMON!\nYour guts will be tested."); const u8 gText_BattleArenaDesc[] = _("Win battles with teamed-up POKéMON!\nYour guts will be tested.");
const u8 gUnknown_085EDC00[] = _("Aim for victory using rental POKéMON!\nYour knowledge will be tested."); const u8 gText_BattleFactoryDesc[] = _("Aim for victory using rental POKéMON!\nYour knowledge will be tested.");
const u8 gUnknown_085EDC45[] = _("Select one of three paths to battle!\nYour luck will be tested."); const u8 gText_BattlePikeDesc[] = _("Select one of three paths to battle!\nYour luck will be tested.");
const u8 gUnknown_085EDC84[] = _("Aim for the top with exploration!\nYour bravery will be tested."); const u8 gText_BattlePyramidDesc[] = _("Aim for the top with exploration!\nYour bravery will be tested.");
const u8 gText_ContinueMenuPlayer[] = _("PLAYER"); const u8 gText_ContinueMenuPlayer[] = _("PLAYER");
const u8 gText_ContinueMenuTime[] = _("TIME"); const u8 gText_ContinueMenuTime[] = _("TIME");
const u8 gText_ContinueMenuPokedex[] = _("POKéDEX"); const u8 gText_ContinueMenuPokedex[] = _("POKéDEX");
@@ -1400,27 +1400,27 @@ const u8 gText_2nd[] = _("2nd");
const u8 gText_3rd[] = _("3rd"); const u8 gText_3rd[] = _("3rd");
const u8 gText_4th[] = _("4th"); const u8 gText_4th[] = _("4th");
const u8 gText_Friend[] = _("Friend"); const u8 gText_Friend[] = _("Friend");
const u8 gUnknown_085EDFB7[] = _("POKeMON"); const u8 gText_Pokemon3[] = _("POKeMON"); // Unused
const u8 gJPText_MysteryGift[] = _("ふしぎなもらいもの"); const u8 gJPText_MysteryGift[] = _("ふしぎなもらいもの");
const u8 gJPText_DecideStop[] = _("{A_BUTTON}けってい {B_BUTTON}やめる"); const u8 gJPText_DecideStop[] = _("{A_BUTTON}けってい {B_BUTTON}やめる");
const u8 gUnknown_085EDFD6[] = _("カードeリーダー{PLUS} で\nふしぎなもらいものを よみこみます"); const u8 gJPText_ReceiveMysteryGiftWithEReader[] = _("カードeリーダー{PLUS} で\nふしぎなもらいものを よみこみます");
const u8 gUnknown_085EDFF5[] = _("カードeリーダー{PLUS}の メニューから\n‘つうしん'を えらび"); const u8 gJPText_SelectConnectFromEReaderMenu[] = _("カードeリーダー{PLUS}の メニューから\n‘つうしん'を えらび");
const u8 gUnknown_085EE014[] = _("‘ゲームボーイアドバンスとつうしん'\nを せんたく してください"); const u8 gJPText_SelectConnectWithGBA[] = _("‘ゲームボーイアドバンスとつうしん'\nを せんたく してください");
const u8 gUnknown_085EE035[] = _("カードeリーダー{PLUS}の ‘つうしん'を\nえらんで Aボタンを おしてください"); const u8 gJPText_SelectConnectAndPressA[] = _("カードeリーダー{PLUS}の ‘つうしん'を\nえらんで Aボタンを おしてください"); // Unused
const u8 gUnknown_085EE05C[] = _("せつぞくが まちがっています"); const u8 gJPText_LinkIsIncorrect[] = _("せつぞくが まちがっています");
const u8 gUnknown_085EE06B[] = _("カードの よみこみを\nちゅうし しました"); const u8 gJPText_CardReadingHasBeenHalted[] = _("カードの よみこみを\nちゅうし しました");
const u8 gUnknown_085EE080[] = _("カードeリーダー{PLUS}と\nつうしん できません"); const u8 gJPText_UnableConnectWithEReader[] = _("カードeリーダー{PLUS}と\nつうしん できません"); // Unused
const u8 gUnknown_085EE097[] = _("つうしん ちゅう です"); const u8 gJPText_Connecting[] = _("つうしん ちゅう です");
const u8 gUnknown_085EE0A3[] = _("つうしん エラーです\nせつぞくを たしかめて ください"); const u8 gJPText_ConnectionErrorCheckLink[] = _("つうしん エラーです\nせつぞくを たしかめて ください");
const u8 gUnknown_085EE0BF[] = _("つうしん エラーです\nはじめから やりなおして ください"); const u8 gJPText_ConnectionErrorTryAgain[] = _("つうしん エラーです\nはじめから やりなおして ください"); // Link error
const u8 gUnknown_085EE0DC[] = _("カードeリーダー{PLUS} に\nカードを よみこませて ください"); const u8 gJPText_AllowEReaderToLoadCard[] = _("カードeリーダー{PLUS} に\nカードを よみこませて ください");
const u8 gUnknown_085EE0FA[] = _("つうしん しゅうりょう!"); const u8 gJPText_ConnectionComplete[] = _("つうしん しゅうりょう!");
const u8 gUnknown_085EE107[] = _("あらたな トレーナーが\nホウエンに やってきた!"); const u8 gJPText_NewTrainerHasComeToHoenn[] = _("あらたな トレーナーが\nホウエンに やってきた!");
const u8 gUnknown_085EE120[] = _("しばらく おまちください"); const u8 gJPText_PleaseWaitAMoment[] = _("しばらく おまちください");
const u8 gUnknown_085EE12D[] = _("かきこみ エラー です\nデータが ほぞん できませんでした"); const u8 gJPText_WriteErrorUnableToSaveData[] = _("かきこみ エラー です\nデータが ほぞん できませんでした");
const u8 gText_Red[] = _("RED"); const u8 gText_Red[] = _("RED");
const u8 gText_Blue[] = _("BLUE"); const u8 gText_Blue[] = _("BLUE");
const u8 gUnknown_085EE154[] = _("---"); const u8 gText_3Dashes[] = _("---"); // Unused
const u8 gText_SingleBattleRoomResults[] = _("{PLAYER}'s Single Battle Room Results"); const u8 gText_SingleBattleRoomResults[] = _("{PLAYER}'s Single Battle Room Results");
const u8 gText_DoubleBattleRoomResults[] = _("{PLAYER}'s Double Battle Room Results"); const u8 gText_DoubleBattleRoomResults[] = _("{PLAYER}'s Double Battle Room Results");
const u8 gText_MultiBattleRoomResults[] = _("{PLAYER}'s Multi Battle Room Results"); const u8 gText_MultiBattleRoomResults[] = _("{PLAYER}'s Multi Battle Room Results");
@@ -1500,11 +1500,11 @@ const u8 gText_GoldCard[] = _("GOLD");
const u8 gText_Day[] = _("DAY"); const u8 gText_Day[] = _("DAY");
const u8 gText_Colon3[] = _(":"); const u8 gText_Colon3[] = _(":");
const u8 gText_Confirm2[] = _("CONFIRM"); const u8 gText_Confirm2[] = _("CONFIRM");
const u8 gUnknown_085EE698[] = _("Days"); const u8 gText_Days[] = _("Days"); // Unused
const u8 gUnknown_085EE69D[] = _("Time:"); const u8 gText_TimeColon2[] = _("Time:"); // Unused
const u8 gUnknown_085EE6A3[] = _("Game time"); const u8 gText_GameTime[] = _("Game time"); // Unused
const u8 gUnknown_085EE6AD[] = _("RTC time"); const u8 gText_RTCTime[] = _("RTC time"); // Unused
const u8 gUnknown_085EE6B6[] = _("Updated time"); const u8 gText_UpdatedTime[] = _("Updated time"); // Unused
const u8 gText_MenuPokedex[] = _("POKéDEX"); const u8 gText_MenuPokedex[] = _("POKéDEX");
const u8 gText_MenuPokemon[] = _("POKéMON"); const u8 gText_MenuPokemon[] = _("POKéMON");
const u8 gText_MenuBag[] = _("BAG"); const u8 gText_MenuBag[] = _("BAG");
@@ -1531,13 +1531,13 @@ const u8 gText_LoadingEvent[] = _("Loading event…");
const u8 gText_DontRemoveCableTurnOff[] = _("Don't remove the Game Link cable.\nDon't turn off the power."); const u8 gText_DontRemoveCableTurnOff[] = _("Don't remove the Game Link cable.\nDon't turn off the power.");
const u8 gText_EventSafelyLoaded[] = _("The event was safely loaded."); const u8 gText_EventSafelyLoaded[] = _("The event was safely loaded.");
const u8 gText_LoadErrorEndingSession[] = _("Loading error.\nEnding session."); const u8 gText_LoadErrorEndingSession[] = _("Loading error.\nEnding session.");
const u8 gUnknown_085EE846[] = _("プレイヤー"); const u8 gJPText_Player[] = _("プレイヤー"); // Unused
const u8 gUnknown_085EE84C[] = _("さま"); const u8 gJPText_Sama[] = _("さま"); // Unused
const u8 gText_DexHoenn[] = _("HOENN"); const u8 gText_DexHoenn[] = _("HOENN");
const u8 gText_DexNational[] = _("NATIONAL"); const u8 gText_DexNational[] = _("NATIONAL");
const u8 gText_PokedexDiploma[] = _("PLAYER: {CLEAR 0x10}{COLOR RED}{SHADOW LIGHT_RED}{PLAYER}{COLOR DARK_GREY}{SHADOW LIGHT_GREY}\n\nThis document certifies\nthat you have successfully\ncompleted your\n{STR_VAR_1} POKéDEX.\n\n{CLEAR_TO 0x42}{COLOR RED}{SHADOW LIGHT_RED}GAME FREAK"); const u8 gText_PokedexDiploma[] = _("PLAYER: {CLEAR 0x10}{COLOR RED}{SHADOW LIGHT_RED}{PLAYER}{COLOR DARK_GREY}{SHADOW LIGHT_GREY}\n\nThis document certifies\nthat you have successfully\ncompleted your\n{STR_VAR_1} POKéDEX.\n\n{CLEAR_TO 0x42}{COLOR RED}{SHADOW LIGHT_RED}GAME FREAK");
const u8 gUnknown_085EE8DC[] = _("{COLOR RED}{SHADOW LIGHT_RED}ゲ-ムフリ-ク"); const u8 gJPText_GameFreak[] = _("{COLOR RED}{SHADOW LIGHT_RED}ゲ-ムフリ-ク"); // Unused
const u8 gUnknown_085EE8EA[] = _("{COLOR RED}{SHADOW LIGHT_RED}"); const u8 gText_DiplomaEmpty[] = _("{COLOR RED}{SHADOW LIGHT_RED}"); // Unused
const u8 gText_Hoenn[] = _("HOENN"); const u8 gText_Hoenn[] = _("HOENN");
const u8 gText_OhABite[] = _("Oh! A bite!"); const u8 gText_OhABite[] = _("Oh! A bite!");
const u8 gText_PokemonOnHook[] = _("A POKéMON's on the hook!{PAUSE_UNTIL_PRESS}"); const u8 gText_PokemonOnHook[] = _("A POKéMON's on the hook!{PAUSE_UNTIL_PRESS}");
@@ -1573,13 +1573,13 @@ const u8 gEasyChatGroupName_TrendySaying[] = _("TRENDY SAYING");
const u8 gEasyChatGroupName_Pokemon2[] = _("POKéMON2"); const u8 gEasyChatGroupName_Pokemon2[] = _("POKéMON2");
const u8 gText_ThreeQuestionMarks[] = _("???"); const u8 gText_ThreeQuestionMarks[] = _("???");
const u8 gUnknown_085EEA46[] = _("MAX. HP"); const u8 gText_MaxHP[] = _("MAX. HP");
const u8 gUnknown_085EEA4E[] = _("ATTACK"); const u8 gText_Attack[] = _("ATTACK");
const u8 gUnknown_085EEA55[] = _("DEFENSE"); const u8 gText_Defense[] = _("DEFENSE");
const u8 gUnknown_085EEA5D[] = _("SPEED"); const u8 gText_Speed[] = _("SPEED");
const u8 gUnknown_085EEA63[] = _("SP. ATK"); const u8 gText_SpAtk[] = _("SP. ATK");
const u8 gUnknown_085EEA6B[] = _("SP. DEF"); const u8 gText_SpDef[] = _("SP. DEF");
const u8 gText_UnkCtrlF904[] = _("{PLUS}"); const u8 gText_Plus[] = _("{PLUS}");
const u8 gText_Dash[] = _("-"); const u8 gText_Dash[] = _("-");
const u8 gText_FromSpace[] = _("From "); const u8 gText_FromSpace[] = _("From ");
const u8 gText_MixingRecords[] = _("Mixing records…"); const u8 gText_MixingRecords[] = _("Mixing records…");
@@ -1630,10 +1630,10 @@ const u8 gText_Yes3[] = _("YES");
const u8 gText_No3[] = _("NO"); const u8 gText_No3[] = _("NO");
const u8 gText_PkmnForSwap[] = _("{PKMN} FOR SWAP"); const u8 gText_PkmnForSwap[] = _("{PKMN} FOR SWAP");
const u8 gText_Cancel3[] = _("CANCEL"); const u8 gText_Cancel3[] = _("CANCEL");
const u8 gUnknown_085EECE4[] = _("SWAP"); const u8 gText_Swap2[] = _("SWAP"); // Unused
const u8 gUnknown_085EECE9[] = _("ACCEPT"); const u8 gText_Accept[] = _("ACCEPT"); // Unused
const u8 gText_AcceptThisPkmn[] = _("Accept this POKéMON?"); const u8 gText_AcceptThisPkmn[] = _("Accept this POKéMON?");
const u8 gUnknown_085EED05[] = _(" "); const u8 gText_4Spaces[] = _(" "); // Unused
const u8 gText_SamePkmnInPartyAlready[] = _("Same {PKMN} in party already."); const u8 gText_SamePkmnInPartyAlready[] = _("Same {PKMN} in party already.");
const u8 gText_DecimalPoint[] = _("."); const u8 gText_DecimalPoint[] = _(".");
const u8 gText_SavingPlayer[] = _("PLAYER"); const u8 gText_SavingPlayer[] = _("PLAYER");
@@ -1673,7 +1673,7 @@ ALIGNED(4) const u8 gText_DontHaveCardNewOneInput[] = _("You don't have a WONDER
ALIGNED(4) const u8 gText_DontHaveNewsNewOneInput[] = _("You don't have any WONDER NEWS,\nso new NEWS will be input."); ALIGNED(4) const u8 gText_DontHaveNewsNewOneInput[] = _("You don't have any WONDER NEWS,\nso new NEWS will be input.");
ALIGNED(4) const u8 gText_WhereShouldCardBeAccessed[] = _("Where should the WONDER CARD\nbe accessed?"); ALIGNED(4) const u8 gText_WhereShouldCardBeAccessed[] = _("Where should the WONDER CARD\nbe accessed?");
ALIGNED(4) const u8 gText_WhereShouldNewsBeAccessed[] = _("Where should the WONDER NEWS\nbe accessed?"); ALIGNED(4) const u8 gText_WhereShouldNewsBeAccessed[] = _("Where should the WONDER NEWS\nbe accessed?");
ALIGNED(4) const u8 gUnknown_085EEFC0[] = _("Communication standby…\nB Button: Cancel"); ALIGNED(4) const u8 gText_CommunicationStandbyBButtonCancel[] = _("Communication standby…\nB Button: Cancel"); // Unused
ALIGNED(4) const u8 gText_Communicating[] = _("Communicating…"); ALIGNED(4) const u8 gText_Communicating[] = _("Communicating…");
ALIGNED(4) const u8 gText_CommunicationCompleted[] = _("Communication completed."); ALIGNED(4) const u8 gText_CommunicationCompleted[] = _("Communication completed.");
ALIGNED(4) const u8 gText_CommunicationError[] = _("Communication error."); ALIGNED(4) const u8 gText_CommunicationError[] = _("Communication error.");
@@ -1747,12 +1747,12 @@ const u8 gText_MoveRelearnerPkmnTryingToLearnMove[] = _("{STR_VAR_1} is trying t
const u8 gText_MoveRelearnerStopTryingToTeachMove[] = _("Stop trying to teach\n{STR_VAR_2}?"); const u8 gText_MoveRelearnerStopTryingToTeachMove[] = _("Stop trying to teach\n{STR_VAR_2}?");
const u8 gText_MoveRelearnerAndPoof[] = _("{PAUSE 32}1, {PAUSE 15}2, and {PAUSE 15}… {PAUSE 15}… {PAUSE 15}… {PAUSE 15}{PLAY_SE 0x0038}Poof!\p"); const u8 gText_MoveRelearnerAndPoof[] = _("{PAUSE 32}1, {PAUSE 15}2, and {PAUSE 15}… {PAUSE 15}… {PAUSE 15}… {PAUSE 15}{PLAY_SE 0x0038}Poof!\p");
const u8 gText_MoveRelearnerPkmnForgotMoveAndLearnedNew[] = _("{STR_VAR_1} forgot {STR_VAR_3}.\pAnd…\p{STR_VAR_1} learned {STR_VAR_2}."); const u8 gText_MoveRelearnerPkmnForgotMoveAndLearnedNew[] = _("{STR_VAR_1} forgot {STR_VAR_3}.\pAnd…\p{STR_VAR_1} learned {STR_VAR_2}.");
const u8 gUnknown_085EF9C8[] = _("{STR_VAR_1} did not learn the\nmove {STR_VAR_2}."); const u8 gText_MoveRelearnedPkmnDidNotLearnMove[] = _("{STR_VAR_1} did not learn the\nmove {STR_VAR_2}."); // Unused
const u8 gText_MoveRelearnerGiveUp[] = _("Give up trying to teach a new\nmove to {STR_VAR_1}?"); const u8 gText_MoveRelearnerGiveUp[] = _("Give up trying to teach a new\nmove to {STR_VAR_1}?");
const u8 gText_MoveRelearnerWhichMoveToForget[] = _("Which move should be\nforgotten?\p"); const u8 gText_MoveRelearnerWhichMoveToForget[] = _("Which move should be\nforgotten?\p");
const u8 gText_MoveRelearnerBattleMoves[] = _("BATTLE MOVES"); const u8 gText_MoveRelearnerBattleMoves[] = _("BATTLE MOVES");
const u8 gText_MoveRelearnerContestMovesTitle[] = _("CONTEST MOVES"); const u8 gText_MoveRelearnerContestMovesTitle[] = _("CONTEST MOVES");
const u8 gUnknown_085EFA4C[] = _("TYPE/"); const u8 gText_MoveRelearnerType[] = _("TYPE/"); // Unused
const u8 gText_MoveRelearnerPP[] = _("PP/"); const u8 gText_MoveRelearnerPP[] = _("PP/");
const u8 gText_MoveRelearnerPower[] = _("POWER/"); const u8 gText_MoveRelearnerPower[] = _("POWER/");
const u8 gText_MoveRelearnerAccuracy[] = _("ACCURACY/"); const u8 gText_MoveRelearnerAccuracy[] = _("ACCURACY/");
@@ -1794,21 +1794,21 @@ const u8 gProfBirchMatchCallDesc[] = _("{PKMN} PROF.");
const u8 gText_CommStandbyAwaitingOtherPlayer[] = _("Communication standby…\nAwaiting another player to choose."); const u8 gText_CommStandbyAwaitingOtherPlayer[] = _("Communication standby…\nAwaiting another player to choose.");
const u8 gText_BattleWasRefused[] = _("The battle was refused.{PAUSE 60}"); const u8 gText_BattleWasRefused[] = _("The battle was refused.{PAUSE 60}");
const u8 gText_RefusedBattle[] = _("Refused the battle.{PAUSE 60}"); const u8 gText_RefusedBattle[] = _("Refused the battle.{PAUSE 60}");
const u8 gUnknown_085EFC3E[] = _("NO WEATHER"); const u8 gText_NoWeather[] = _("NO WEATHER"); // Below are unused debug names for weather types
const u8 gUnknown_085EFC49[] = _("SUNNY"); const u8 gText_Sunny[] = _("SUNNY"); // Unused
const u8 gUnknown_085EFC4F[] = _("SUNNY2"); const u8 gText_Sunny2[] = _("SUNNY2"); // Unused
const u8 gUnknown_085EFC56[] = _("RAIN"); const u8 gText_Rain[] = _("RAIN"); // Unused
const u8 gUnknown_085EFC5B[] = _("SNOW"); const u8 gText_Snow[] = _("SNOW"); // Unused
const u8 gUnknown_085EFC60[] = _("LIGHTNING"); const u8 gText_Lightning[] = _("LIGHTNING"); // Unused
const u8 gUnknown_085EFC6A[] = _("FOG"); const u8 gText_Fog[] = _("FOG"); // Unused
const u8 gUnknown_085EFC6E[] = _("VOLCANO ASH"); const u8 gText_VolcanoAsh[] = _("VOLCANO ASH"); // Unused
const u8 gUnknown_085EFC7A[] = _("SANDSTORM"); const u8 gText_Sandstorm[] = _("SANDSTORM"); // Unused
const u8 gUnknown_085EFC84[] = _("FOG2"); const u8 gText_Fog2[] = _("FOG2"); // Unused
const u8 gUnknown_085EFC89[] = _("SEAFLOOR"); const u8 gText_Seafloor[] = _("SEAFLOOR"); // Unused
const u8 gUnknown_085EFC92[] = _("CLOUDY"); const u8 gText_Cloudy[] = _("CLOUDY"); // Unused
const u8 gUnknown_085EFC99[] = _("SUNNY3"); const u8 gText_Sunny3[] = _("SUNNY3"); // Unused
const u8 gUnknown_085EFCA0[] = _("HEAVY RAIN"); const u8 gText_HeavyRain[] = _("HEAVY RAIN"); // Unused
const u8 gUnknown_085EFCAB[] = _("SEAFLOOR2"); const u8 gText_Seafloor2[] = _("SEAFLOOR2"); // Unused
const u8 gText_DelAll[] = _("DEL. ALL"); const u8 gText_DelAll[] = _("DEL. ALL");
const u8 gText_Cancel5[] = _("CANCEL"); const u8 gText_Cancel5[] = _("CANCEL");
const u8 gText_Ok2[] = _("OK"); const u8 gText_Ok2[] = _("OK");
+32 -32
View File
@@ -281,8 +281,8 @@ static const u16 *const gFireRedTrainerCardStarPals[] =
gFireRedTrainerCard4Star_Pal, gFireRedTrainerCard4Star_Pal,
}; };
static const u8 gUnknown_0856FB0C[] = {0, 2, 3}; static const u8 sTrainerCardTextColors[] = {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY};
static const u8 gUnknown_0856FB0F[] = {0, 4, 5}; static const u8 sTrainerCardStatColors[] = {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_RED, TEXT_COLOR_LIGHT_RED};
static const u8 gUnknown_0856FB12[6] = {0}; static const u8 gUnknown_0856FB12[6] = {0};
static const u8 gUnknown_0856FB18[][2][2] = static const u8 gUnknown_0856FB18[][2][2] =
@@ -973,9 +973,9 @@ static void PrintNameOnCard(void)
StringCopy(txtPtr, sData->trainerCard.playerName); StringCopy(txtPtr, sData->trainerCard.playerName);
ConvertInternationalString(txtPtr, sData->language); ConvertInternationalString(txtPtr, sData->language);
if (sData->cardType == CARD_TYPE_FRLG) if (sData->cardType == CARD_TYPE_FRLG)
AddTextPrinterParameterized3(1, 1, 20, 28, gUnknown_0856FB0C, TEXT_SPEED_FF, buffer); AddTextPrinterParameterized3(1, 1, 20, 28, sTrainerCardTextColors, TEXT_SPEED_FF, buffer);
else else
AddTextPrinterParameterized3(1, 1, 16, 33, gUnknown_0856FB0C, TEXT_SPEED_FF, buffer); AddTextPrinterParameterized3(1, 1, 16, 33, sTrainerCardTextColors, TEXT_SPEED_FF, buffer);
} }
static void PrintIdOnCard(void) static void PrintIdOnCard(void)
@@ -997,7 +997,7 @@ static void PrintIdOnCard(void)
top = 9; top = 9;
} }
AddTextPrinterParameterized3(1, 1, xPos, top, gUnknown_0856FB0C, TEXT_SPEED_FF, buffer); AddTextPrinterParameterized3(1, 1, xPos, top, sTrainerCardTextColors, TEXT_SPEED_FF, buffer);
} }
static void PrintMoneyOnCard(void) static void PrintMoneyOnCard(void)
@@ -1006,9 +1006,9 @@ static void PrintMoneyOnCard(void)
u8 top; u8 top;
if (!sData->isHoenn) if (!sData->isHoenn)
AddTextPrinterParameterized3(1, 1, 20, 56, gUnknown_0856FB0C, TEXT_SPEED_FF, gText_TrainerCardMoney); AddTextPrinterParameterized3(1, 1, 20, 56, sTrainerCardTextColors, TEXT_SPEED_FF, gText_TrainerCardMoney);
else else
AddTextPrinterParameterized3(1, 1, 16, 57, gUnknown_0856FB0C, TEXT_SPEED_FF, gText_TrainerCardMoney); AddTextPrinterParameterized3(1, 1, 16, 57, sTrainerCardTextColors, TEXT_SPEED_FF, gText_TrainerCardMoney);
ConvertIntToDecimalStringN(gStringVar1, sData->trainerCard.money, STR_CONV_MODE_LEFT_ALIGN, 6); ConvertIntToDecimalStringN(gStringVar1, sData->trainerCard.money, STR_CONV_MODE_LEFT_ALIGN, 6);
StringExpandPlaceholders(gStringVar4, gText_PokedollarVar1); StringExpandPlaceholders(gStringVar4, gText_PokedollarVar1);
@@ -1022,7 +1022,7 @@ static void PrintMoneyOnCard(void)
xOffset = GetStringRightAlignXOffset(1, gStringVar4, 128); xOffset = GetStringRightAlignXOffset(1, gStringVar4, 128);
top = 57; top = 57;
} }
AddTextPrinterParameterized3(1, 1, xOffset, top, gUnknown_0856FB0C, TEXT_SPEED_FF, gStringVar4); AddTextPrinterParameterized3(1, 1, xOffset, top, sTrainerCardTextColors, TEXT_SPEED_FF, gStringVar4);
} }
static u16 GetCaughtMonsCount(void) static u16 GetCaughtMonsCount(void)
@@ -1040,9 +1040,9 @@ static void PrintPokedexOnCard(void)
if (FlagGet(FLAG_SYS_POKEDEX_GET)) if (FlagGet(FLAG_SYS_POKEDEX_GET))
{ {
if (!sData->isHoenn) if (!sData->isHoenn)
AddTextPrinterParameterized3(1, 1, 20, 72, gUnknown_0856FB0C, TEXT_SPEED_FF, gText_TrainerCardPokedex); AddTextPrinterParameterized3(1, 1, 20, 72, sTrainerCardTextColors, TEXT_SPEED_FF, gText_TrainerCardPokedex);
else else
AddTextPrinterParameterized3(1, 1, 16, 73, gUnknown_0856FB0C, TEXT_SPEED_FF, gText_TrainerCardPokedex); AddTextPrinterParameterized3(1, 1, 16, 73, sTrainerCardTextColors, TEXT_SPEED_FF, gText_TrainerCardPokedex);
StringCopy(ConvertIntToDecimalStringN(gStringVar4, sData->trainerCard.caughtMonsCount, STR_CONV_MODE_LEFT_ALIGN, 3), gText_EmptyString6); StringCopy(ConvertIntToDecimalStringN(gStringVar4, sData->trainerCard.caughtMonsCount, STR_CONV_MODE_LEFT_ALIGN, 3), gText_EmptyString6);
if (!sData->isHoenn) if (!sData->isHoenn)
{ {
@@ -1054,11 +1054,11 @@ static void PrintPokedexOnCard(void)
xOffset = GetStringRightAlignXOffset(1, gStringVar4, 128); xOffset = GetStringRightAlignXOffset(1, gStringVar4, 128);
top = 73; top = 73;
} }
AddTextPrinterParameterized3(1, 1, xOffset, top, gUnknown_0856FB0C, TEXT_SPEED_FF, gStringVar4); AddTextPrinterParameterized3(1, 1, xOffset, top, sTrainerCardTextColors, TEXT_SPEED_FF, gStringVar4);
} }
} }
static const u8 *const gUnknown_0856FB40[] = {gUnknown_0856FB0C, gUnknown_0856FB12}; static const u8 *const gUnknown_0856FB40[] = {sTrainerCardTextColors, gUnknown_0856FB12};
static void PrintTimeOnCard(void) static void PrintTimeOnCard(void)
{ {
@@ -1068,9 +1068,9 @@ static void PrintTimeOnCard(void)
u32 r7, r4, r10; u32 r7, r4, r10;
if (!sData->isHoenn) if (!sData->isHoenn)
AddTextPrinterParameterized3(1, 1, 20, 88, gUnknown_0856FB0C, TEXT_SPEED_FF, gText_TrainerCardTime); AddTextPrinterParameterized3(1, 1, 20, 88, sTrainerCardTextColors, TEXT_SPEED_FF, gText_TrainerCardTime);
else else
AddTextPrinterParameterized3(1, 1, 16, 89, gUnknown_0856FB0C, TEXT_SPEED_FF, gText_TrainerCardTime); AddTextPrinterParameterized3(1, 1, 16, 89, sTrainerCardTextColors, TEXT_SPEED_FF, gText_TrainerCardTime);
if (sData->isLink) if (sData->isLink)
{ {
@@ -1104,12 +1104,12 @@ static void PrintTimeOnCard(void)
FillWindowPixelRect(1, PIXEL_FILL(0), r7, r4, r10, 15); FillWindowPixelRect(1, PIXEL_FILL(0), r7, r4, r10, 15);
ConvertIntToDecimalStringN(gStringVar4, hours, STR_CONV_MODE_RIGHT_ALIGN, 3); ConvertIntToDecimalStringN(gStringVar4, hours, STR_CONV_MODE_RIGHT_ALIGN, 3);
AddTextPrinterParameterized3(1, 1, r7, r4, gUnknown_0856FB0C, TEXT_SPEED_FF, gStringVar4); AddTextPrinterParameterized3(1, 1, r7, r4, sTrainerCardTextColors, TEXT_SPEED_FF, gStringVar4);
r7 += 18; r7 += 18;
AddTextPrinterParameterized3(1, 1, r7, r4, gUnknown_0856FB40[sData->var_7], TEXT_SPEED_FF, gText_Colon2); AddTextPrinterParameterized3(1, 1, r7, r4, gUnknown_0856FB40[sData->var_7], TEXT_SPEED_FF, gText_Colon2);
r7 += width; r7 += width;
ConvertIntToDecimalStringN(gStringVar4, minutes, STR_CONV_MODE_LEADING_ZEROS, 2); ConvertIntToDecimalStringN(gStringVar4, minutes, STR_CONV_MODE_LEADING_ZEROS, 2);
AddTextPrinterParameterized3(1, 1, r7, r4, gUnknown_0856FB0C, TEXT_SPEED_FF, gStringVar4); AddTextPrinterParameterized3(1, 1, r7, r4, sTrainerCardTextColors, TEXT_SPEED_FF, gStringVar4);
} }
static const u8 gUnknown_0856FB48[] = {0x71, 0x68}; static const u8 gUnknown_0856FB48[] = {0x71, 0x68};
@@ -1119,10 +1119,10 @@ static void PrintProfilePhraseOnCard(void)
{ {
if (sData->isLink) if (sData->isLink)
{ {
AddTextPrinterParameterized3(1, 1, 8, gUnknown_0856FB48[sData->isHoenn], gUnknown_0856FB0C, TEXT_SPEED_FF, sData->var_19[0]); AddTextPrinterParameterized3(1, 1, 8, gUnknown_0856FB48[sData->isHoenn], sTrainerCardTextColors, TEXT_SPEED_FF, sData->var_19[0]);
AddTextPrinterParameterized3(1, 1, GetStringWidth(1, sData->var_19[0], 0) + 14, gUnknown_0856FB48[sData->isHoenn], gUnknown_0856FB0C, TEXT_SPEED_FF, sData->var_19[1]); AddTextPrinterParameterized3(1, 1, GetStringWidth(1, sData->var_19[0], 0) + 14, gUnknown_0856FB48[sData->isHoenn], sTrainerCardTextColors, TEXT_SPEED_FF, sData->var_19[1]);
AddTextPrinterParameterized3(1, 1, 8, gUnknown_0856FB4A[sData->isHoenn], gUnknown_0856FB0C, TEXT_SPEED_FF, sData->var_19[2]); AddTextPrinterParameterized3(1, 1, 8, gUnknown_0856FB4A[sData->isHoenn], sTrainerCardTextColors, TEXT_SPEED_FF, sData->var_19[2]);
AddTextPrinterParameterized3(1, 1, GetStringWidth(1, sData->var_19[2], 0) + 14, gUnknown_0856FB4A[sData->isHoenn], gUnknown_0856FB0C, TEXT_SPEED_FF, sData->var_19[3]); AddTextPrinterParameterized3(1, 1, GetStringWidth(1, sData->var_19[2], 0) + 14, gUnknown_0856FB4A[sData->isHoenn], sTrainerCardTextColors, TEXT_SPEED_FF, sData->var_19[3]);
} }
} }
@@ -1140,9 +1140,9 @@ static void PrintNameOnCard2(void)
static void sub_80C3B50(void) static void sub_80C3B50(void)
{ {
if (!sData->isHoenn) if (!sData->isHoenn)
AddTextPrinterParameterized3(1, 1, 136, 9, gUnknown_0856FB0C, TEXT_SPEED_FF, sData->var_4D); AddTextPrinterParameterized3(1, 1, 136, 9, sTrainerCardTextColors, TEXT_SPEED_FF, sData->var_4D);
else else
AddTextPrinterParameterized3(1, 1, GetStringRightAlignXOffset(1, sData->var_4D, 216), 9, gUnknown_0856FB0C, TEXT_SPEED_FF, sData->var_4D); AddTextPrinterParameterized3(1, 1, GetStringRightAlignXOffset(1, sData->var_4D, 216), 9, sTrainerCardTextColors, TEXT_SPEED_FF, sData->var_4D);
} }
static const u8 gUnknown_0856FB4C[] = {0xfd, 0x02, 0xf0, 0xfd, 0x03, 0xf0, 0xfd, 0x04, 0xff}; static const u8 gUnknown_0856FB4C[] = {0xfd, 0x02, 0xf0, 0xfd, 0x03, 0xf0, 0xfd, 0x04, 0xff};
@@ -1163,14 +1163,14 @@ static const u8 gUnknown_0856FB57[] = {0xd8, 0xd8};
static void PrintString(u8 top, const u8* str1, u8* str2, const u8* color) static void PrintString(u8 top, const u8* str1, u8* str2, const u8* color)
{ {
AddTextPrinterParameterized3(1, 1, gUnknown_0856FB55[sData->isHoenn], top * 16 + 33, gUnknown_0856FB0C, TEXT_SPEED_FF, str1); AddTextPrinterParameterized3(1, 1, gUnknown_0856FB55[sData->isHoenn], top * 16 + 33, sTrainerCardTextColors, TEXT_SPEED_FF, str1);
AddTextPrinterParameterized3(1, 1, GetStringRightAlignXOffset(1, str2, gUnknown_0856FB57[sData->isHoenn]), top * 16 + 33, color, TEXT_SPEED_FF, str2); AddTextPrinterParameterized3(1, 1, GetStringRightAlignXOffset(1, str2, gUnknown_0856FB57[sData->isHoenn]), top * 16 + 33, color, TEXT_SPEED_FF, str2);
} }
static void PrintHofDebutStringOnCard(void) static void PrintHofDebutStringOnCard(void)
{ {
if (sData->hasHofResult) if (sData->hasHofResult)
PrintString(0, gText_HallOfFameDebut, sData->var_93, gUnknown_0856FB0F); PrintString(0, gText_HallOfFameDebut, sData->var_93, sTrainerCardStatColors);
} }
static const u8 *const gUnknown_0856FB5C[] = {gText_LinkBattles, gText_LinkCableBattles, gText_LinkBattles}; static const u8 *const gUnknown_0856FB5C[] = {gText_LinkBattles, gText_LinkCableBattles, gText_LinkBattles};
@@ -1192,7 +1192,7 @@ static void PrintWinsLossesStringOnCard(void)
StringCopy(gStringVar1, sData->var_165); StringCopy(gStringVar1, sData->var_165);
StringCopy(gStringVar2, sData->var_1AB); StringCopy(gStringVar2, sData->var_1AB);
StringExpandPlaceholders(gStringVar4, gText_WinsLosses); StringExpandPlaceholders(gStringVar4, gText_WinsLosses);
PrintString(1, sData->var_D9, gStringVar4, gUnknown_0856FB0C); PrintString(1, sData->var_D9, gStringVar4, sTrainerCardTextColors);
} }
} }
@@ -1205,7 +1205,7 @@ static void PrintTradesNumOnCard(void)
static void PrintTradesStringOnCard(void) static void PrintTradesStringOnCard(void)
{ {
if (sData->hasTrades) if (sData->hasTrades)
PrintString(2, gText_PokemonTrades, sData->var_237, gUnknown_0856FB0F); PrintString(2, gText_PokemonTrades, sData->var_237, sTrainerCardStatColors);
} }
static void PrintBerryCrushNumOnCard(void) static void PrintBerryCrushNumOnCard(void)
@@ -1217,7 +1217,7 @@ static void PrintBerryCrushNumOnCard(void)
static void PrintBerryCrushStringOnCard(void) static void PrintBerryCrushStringOnCard(void)
{ {
if (sData->cardType == CARD_TYPE_FRLG && sData->trainerCard.berryCrushPoints) if (sData->cardType == CARD_TYPE_FRLG && sData->trainerCard.berryCrushPoints)
PrintString(4, gText_BerryCrush, sData->var_2C3, gUnknown_0856FB0F); PrintString(4, gText_BerryCrush, sData->var_2C3, sTrainerCardStatColors);
} }
static void PrintUnionNumOnCard(void) static void PrintUnionNumOnCard(void)
@@ -1229,7 +1229,7 @@ static void PrintUnionNumOnCard(void)
static void PrintUnionStringOnCard(void) static void PrintUnionStringOnCard(void)
{ {
if (sData->cardType == CARD_TYPE_FRLG && sData->trainerCard.unionRoomNum) if (sData->cardType == CARD_TYPE_FRLG && sData->trainerCard.unionRoomNum)
PrintString(3, gText_UnionTradesAndBattles, sData->var_34F, gUnknown_0856FB0F); PrintString(3, gText_UnionTradesAndBattles, sData->var_34F, sTrainerCardStatColors);
} }
static void PrintPokeblocksNumOnCard(void) static void PrintPokeblocksNumOnCard(void)
@@ -1244,7 +1244,7 @@ static void PrintPokeblocksNumOnCard(void)
static void PrintPokeblockStringOnCard(void) static void PrintPokeblockStringOnCard(void)
{ {
if (sData->cardType != CARD_TYPE_FRLG && sData->trainerCard.pokeblocksWithFriends) if (sData->cardType != CARD_TYPE_FRLG && sData->trainerCard.pokeblocksWithFriends)
PrintString(3, gText_PokeblocksWithFriends, sData->var_395, gUnknown_0856FB0F); PrintString(3, gText_PokeblocksWithFriends, sData->var_395, sTrainerCardStatColors);
} }
static void PrintContestNumOnCard(void) static void PrintContestNumOnCard(void)
@@ -1256,7 +1256,7 @@ static void PrintContestNumOnCard(void)
static void PrintContestStringOnCard(void) static void PrintContestStringOnCard(void)
{ {
if (sData->cardType != CARD_TYPE_FRLG && sData->trainerCard.contestsWithFriends) if (sData->cardType != CARD_TYPE_FRLG && sData->trainerCard.contestsWithFriends)
PrintString(4, gText_WonContestsWFriends, sData->var_3DB, gUnknown_0856FB0F); PrintString(4, gText_WonContestsWFriends, sData->var_3DB, sTrainerCardStatColors);
} }
static void PrintBattleFacilityNumsOnCard(void) static void PrintBattleFacilityNumsOnCard(void)
@@ -1289,11 +1289,11 @@ static void PrintBattleFacilityStringOnCard(void)
{ {
case CARD_TYPE_RS: case CARD_TYPE_RS:
if (sData->hasBattleTowerWins) if (sData->hasBattleTowerWins)
PrintString(5, gText_BattleTower, sData->var_421, gUnknown_0856FB0C); PrintString(5, gText_BattleTower, sData->var_421, sTrainerCardTextColors);
break; break;
case CARD_TYPE_EMERALD: case CARD_TYPE_EMERALD:
if (sData->trainerCard.frontierBP) if (sData->trainerCard.frontierBP)
PrintString(5, gText_BattlePtsWon, sData->var_421, gUnknown_0856FB0F); PrintString(5, gText_BattlePtsWon, sData->var_421, sTrainerCardStatColors);
break; break;
case CARD_TYPE_FRLG: case CARD_TYPE_FRLG:
break; break;
+77 -77
View File
@@ -158,19 +158,19 @@ void sub_80124EC(u8 windowId, u8 arg1, u8 stringId)
switch (arg1 << 8) switch (arg1 << 8)
{ {
case 0x200: case 0x200:
sub_80173E0(windowId, 1, gUnknown_082EDB60[0][stringId - 1], 0, 1, 0); sub_80173E0(windowId, 1, sPlayersNeededOrModeTexts[0][stringId - 1], 0, 1, 0);
break; break;
case 0x400: case 0x400:
sub_80173E0(windowId, 1, gUnknown_082EDB60[1][stringId - 1], 0, 1, 0); sub_80173E0(windowId, 1, sPlayersNeededOrModeTexts[1][stringId - 1], 0, 1, 0);
break; break;
case 0x2500: case 0x2500:
sub_80173E0(windowId, 1, gUnknown_082EDB60[2][stringId - 1], 0, 1, 0); sub_80173E0(windowId, 1, sPlayersNeededOrModeTexts[2][stringId - 1], 0, 1, 0);
break; break;
case 0x3500: case 0x3500:
sub_80173E0(windowId, 1, gUnknown_082EDB60[3][stringId - 1], 0, 1, 0); sub_80173E0(windowId, 1, sPlayersNeededOrModeTexts[3][stringId - 1], 0, 1, 0);
break; break;
case 0x2400: case 0x2400:
sub_80173E0(windowId, 1, gUnknown_082EDB60[4][stringId - 1], 0, 1, 0); sub_80173E0(windowId, 1, sPlayersNeededOrModeTexts[4][stringId - 1], 0, 1, 0);
break; break;
} }
@@ -183,7 +183,7 @@ void sub_80125BC(u8 windowId)
u8 *txtPtr; u8 *txtPtr;
sub_80173E0(windowId, 1, gSaveBlock2Ptr->playerName, 0, 1, 0); sub_80173E0(windowId, 1, gSaveBlock2Ptr->playerName, 0, 1, 0);
txtPtr = StringCopy(text, gText_UnkCtrlCodeF907); txtPtr = StringCopy(text, sText_ID);
ConvertIntToDecimalStringN(txtPtr, ReadAsU16(gSaveBlock2Ptr->playerTrainerId), STR_CONV_MODE_LEADING_ZEROS, 5); ConvertIntToDecimalStringN(txtPtr, ReadAsU16(gSaveBlock2Ptr->playerTrainerId), STR_CONV_MODE_LEADING_ZEROS, 5);
sub_80173E0(windowId, 1, text, 0, 0x11, 0); sub_80173E0(windowId, 1, text, 0, 0x11, 0);
} }
@@ -197,7 +197,7 @@ void sub_801262C(u8 *dst, u8 caseId)
case 14 ... 16: case 14 ... 16:
case 21 ... 28: case 21 ... 28:
// UB: argument *dst isn't used, instead it always prints to gStringVar4 // UB: argument *dst isn't used, instead it always prints to gStringVar4
StringExpandPlaceholders(gStringVar4, gText_AwaitingCommunication); StringExpandPlaceholders(gStringVar4, sText_AwaitingCommunication);
break; break;
} }
} }
@@ -274,7 +274,7 @@ void sub_8012780(u8 taskId)
data->field_11 = AddWindow(&gUnknown_082F012C); data->field_11 = AddWindow(&gUnknown_082F012C);
FillWindowPixelBuffer(data->field_10, PIXEL_FILL(2)); FillWindowPixelBuffer(data->field_10, PIXEL_FILL(2));
sub_80173E0(data->field_10, 0, gUnknown_082EDBC4, 8, 1, 4); sub_80173E0(data->field_10, 0, sText_BButtonCancel, 8, 1, 4);
PutWindowTilemap(data->field_10); PutWindowTilemap(data->field_10);
CopyWindowToVram(data->field_10, 2); CopyWindowToVram(data->field_10, 2);
@@ -292,13 +292,13 @@ void sub_8012780(u8 taskId)
data->state = 4; data->state = 4;
break; break;
case 4: case 4:
StringCopy(gStringVar1, gUnknown_082F0048[gUnknown_02022C2C]); StringCopy(gStringVar1, sLinkGroupActivityTexts[gUnknown_02022C2C]);
if ((gUnknown_02022C2D >> 4) != 0) if ((gUnknown_02022C2D >> 4) != 0)
{ {
if (data->field_13 > (gUnknown_02022C2D >> 4) - 1 && (gUnknown_02022C2D & 0xF) != 0) if (data->field_13 > (gUnknown_02022C2D >> 4) - 1 && (gUnknown_02022C2D & 0xF) != 0)
StringExpandPlaceholders(gStringVar4, gText_AwaitingLink); StringExpandPlaceholders(gStringVar4, sText_AwaitingLinkPressStart);
else else
StringExpandPlaceholders(gStringVar4, gText_AwaitingCommunication); StringExpandPlaceholders(gStringVar4, sText_AwaitingCommunication);
} }
else else
{ {
@@ -346,7 +346,7 @@ void sub_8012780(u8 taskId)
break; break;
case 10: case 10:
id = ((gUnknown_02022C2C & 0xF) == 2) ? 1 : 0; id = ((gUnknown_02022C2C & 0xF) == 2) ? 1 : 0;
if (PrintOnTextbox(&data->textState, gUnknown_082EDDC4[id])) if (PrintOnTextbox(&data->textState, sPlayerUnavailableTexts[id]))
{ {
data->field_13 = sub_8013398(data->field_0); data->field_13 = sub_8013398(data->field_0);
RedrawListMenu(data->listTaskId); RedrawListMenu(data->listTaskId);
@@ -355,7 +355,7 @@ void sub_8012780(u8 taskId)
break; break;
case 29: case 29:
id = ((gUnknown_02022C2D & 0xF) == 2) ? 0 : 1; id = ((gUnknown_02022C2D & 0xF) == 2) ? 0 : 1;
if (PrintOnTextbox(&data->textState, gUnknown_082EDDC4[id])) if (PrintOnTextbox(&data->textState, sPlayerUnavailableTexts[id]))
{ {
data->state = 21; data->state = 21;
} }
@@ -405,7 +405,7 @@ void sub_8012780(u8 taskId)
else else
{ {
sub_8018404(gStringVar1, &data->field_0->arr[data->field_13 - 1]); sub_8018404(gStringVar1, &data->field_0->arr[data->field_13 - 1]);
StringExpandPlaceholders(gStringVar4, gUnknown_082EDC9C); StringExpandPlaceholders(gStringVar4, sText_AnOKWasSentToPlayer);
data->state = 13; data->state = 13;
} }
@@ -443,7 +443,7 @@ void sub_8012780(u8 taskId)
data->state = 17; data->state = 17;
break; break;
case 15: case 15:
if (PrintOnTextbox(&data->textState, gUnknown_082EDC5C)) if (PrintOnTextbox(&data->textState, sText_AreTheseMembersOK))
data->state = 16; data->state = 16;
break; break;
case 16: case 16:
@@ -462,7 +462,7 @@ void sub_8012780(u8 taskId)
} }
break; break;
case 19: case 19:
if (PrintOnTextbox(&data->textState, gUnknown_082EDC78)) if (PrintOnTextbox(&data->textState, sText_CancelModeWithTheseMembers))
data->state = 20; data->state = 20;
break; break;
case 20: case 20:
@@ -509,7 +509,7 @@ void sub_8012780(u8 taskId)
} }
break; break;
case 30: case 30:
if (PrintOnTextbox(&data->textState, gUnknown_082EDD58)) if (PrintOnTextbox(&data->textState, sText_ModeWithTheseMembersWillBeCanceled))
data->state = 23; data->state = 23;
break; break;
case 21: case 21:
@@ -577,11 +577,11 @@ void sub_8012FC4(u8 *dst, u8 caseId)
case 4: case 4:
case 14: case 14:
case 28: case 28:
StringExpandPlaceholders(dst, gUnknown_082EDBE8); StringExpandPlaceholders(dst, sText_PlayerContactedYouForXAccept);
break; break;
case 21: case 21:
case 22: case 22:
StringExpandPlaceholders(dst, gUnknown_082EDC0C); StringExpandPlaceholders(dst, sText_PlayerContactedYouShareX);
break; break;
case 3: case 3:
case 9: case 9:
@@ -594,7 +594,7 @@ void sub_8012FC4(u8 *dst, u8 caseId)
case 25: case 25:
case 26: case 26:
case 27: case 27:
StringExpandPlaceholders(dst, gUnknown_082EDC34); StringExpandPlaceholders(dst, sText_PlayerContactedYouAddToMembers);
break; break;
} }
} }
@@ -625,7 +625,7 @@ void sub_80130B4(u8 *dst, u8 caseId)
case 21: case 21:
case 22: case 22:
case 28: case 28:
StringExpandPlaceholders(dst, gUnknown_082EFC3C); StringExpandPlaceholders(dst, sText_AwaitingPlayersResponse);
break; break;
case 3: case 3:
case 9: case 9:
@@ -638,7 +638,7 @@ void sub_80130B4(u8 *dst, u8 caseId)
case 25: case 25:
case 26: case 26:
case 27: case 27:
StringExpandPlaceholders(dst, gUnknown_082EFC54); StringExpandPlaceholders(dst, sText_PlayerHasBeenAskedToRegisterYouPleaseWait);
break; break;
} }
} }
@@ -654,7 +654,7 @@ void sub_8013160(u8 *dst, u8 caseId)
case 21: case 21:
case 22: case 22:
case 28: case 28:
StringExpandPlaceholders(dst, gUnknown_082EDDF4); StringExpandPlaceholders(dst, sText_PlayerSentBackOK);
break; break;
case 3: case 3:
case 9: case 9:
@@ -667,7 +667,7 @@ void sub_8013160(u8 *dst, u8 caseId)
case 25: case 25:
case 26: case 26:
case 27: case 27:
StringExpandPlaceholders(dst, gUnknown_082EDE0C); StringExpandPlaceholders(dst, sText_PlayerOKdRegistration);
break; break;
} }
} }
@@ -888,7 +888,7 @@ void sub_80134E8(u8 taskId)
} }
else else
{ {
StringCopy(gStringVar4, gUnknown_082EDD50[var - 1]); StringCopy(gStringVar4, sCantTransmitToTrainerTexts[var - 1]);
data->state = 18; data->state = 18;
PlaySE(SE_PN_ON); PlaySE(SE_PN_ON);
} }
@@ -953,8 +953,8 @@ void sub_80134E8(u8 taskId)
else else
{ {
sub_8011A64(7, 0); sub_8011A64(7, 0);
StringCopy(gStringVar1, gUnknown_082F0048[gUnknown_02022C2C]); StringCopy(gStringVar1, sLinkGroupActivityTexts[gUnknown_02022C2C]);
StringExpandPlaceholders(gStringVar4, gUnknown_082EDE48); StringExpandPlaceholders(gStringVar4, sText_AwaitingOtherMembers);
} }
} }
break; break;
@@ -989,7 +989,7 @@ void sub_80134E8(u8 taskId)
data->state = 7; data->state = 7;
break; break;
case 7: case 7:
if (PrintOnTextbox(&data->textState, gUnknown_082EDE64)) if (PrintOnTextbox(&data->textState, sText_QuitBeingMember))
data->state = 8; data->state = 8;
break; break;
case 8: case 8:
@@ -1036,7 +1036,7 @@ void sub_80134E8(u8 taskId)
break; break;
case 13: case 13:
DestroyWirelessStatusIndicatorSprite(); DestroyWirelessStatusIndicatorSprite();
if (PrintOnTextbox(&data->textState, gUnknown_082EDE9C[sub_8011A74()])) if (PrintOnTextbox(&data->textState, sPlayerDisconnectedTexts[sub_8011A74()]))
{ {
gSpecialVar_Result = 6; gSpecialVar_Result = 6;
data->state = 23; data->state = 23;
@@ -1049,7 +1049,7 @@ void sub_80134E8(u8 taskId)
break; break;
case 15: case 15:
DestroyWirelessStatusIndicatorSprite(); DestroyWirelessStatusIndicatorSprite();
if (PrintOnTextbox(&data->textState, gUnknown_082EDE9C[sub_8011A74()])) if (PrintOnTextbox(&data->textState, sPlayerDisconnectedTexts[sub_8011A74()]))
{ {
gSpecialVar_Result = 8; gSpecialVar_Result = 8;
data->state = 23; data->state = 23;
@@ -1717,7 +1717,7 @@ void sub_8014A40(u8 taskId)
data->state = 2; data->state = 2;
break; break;
case 2: case 2:
StringCopy(gStringVar1, gUnknown_082F0048[gUnknown_02022C2C]); StringCopy(gStringVar1, sLinkGroupActivityTexts[gUnknown_02022C2C]);
sub_801262C(gStringVar4, gUnknown_02022C2C); sub_801262C(gStringVar4, gUnknown_02022C2C);
data->state = 3; data->state = 3;
break; break;
@@ -1734,7 +1734,7 @@ void sub_8014A40(u8 taskId)
} }
break; break;
case 6: case 6:
if (MG_PrintTextOnWindow1AndWaitButton(&data->textState, gUnknown_082EDF40)) if (MG_PrintTextOnWindow1AndWaitButton(&data->textState, sText_LinkWithFriendDropped))
{ {
data->field_13 = sub_8013398(data->field_0); data->field_13 = sub_8013398(data->field_0);
RedrawListMenu(data->listTaskId); RedrawListMenu(data->listTaskId);
@@ -1774,7 +1774,7 @@ void sub_8014A40(u8 taskId)
RedrawListMenu(data->listTaskId); RedrawListMenu(data->listTaskId);
data->field_13++; data->field_13++;
sub_8018404(gStringVar1, &data->field_0->arr[data->field_13 - 1]); sub_8018404(gStringVar1, &data->field_0->arr[data->field_13 - 1]);
StringExpandPlaceholders(gStringVar4, gUnknown_082EDC9C); StringExpandPlaceholders(gStringVar4, sText_AnOKWasSentToPlayer);
data->state = 9; data->state = 9;
sub_800EF38(); sub_800EF38();
} }
@@ -1831,7 +1831,7 @@ void sub_8014A40(u8 taskId)
data->state++; data->state++;
break; break;
case 14: case 14:
if (MG_PrintTextOnWindow1AndWaitButton(&data->textState, gText_PleaseStartOver)) if (MG_PrintTextOnWindow1AndWaitButton(&data->textState, sText_PleaseStartOver))
{ {
DestroyTask(taskId); DestroyTask(taskId);
gSpecialVar_Result = 5; gSpecialVar_Result = 5;
@@ -1972,7 +1972,7 @@ void sub_8014F48(u8 taskId)
} }
break; break;
case 4: case 4:
AddTextPrinterToWindow1(gUnknown_082EFC3C); AddTextPrinterToWindow1(sText_AwaitingPlayersResponse);
sub_8018404(gStringVar1, &data->field_0->arr[data->field_F]); sub_8018404(gStringVar1, &data->field_0->arr[data->field_F]);
data->state = 5; data->state = 5;
break; break;
@@ -1991,7 +1991,7 @@ void sub_8014F48(u8 taskId)
data->state = 8; data->state = 8;
break; break;
case 5: case 5:
AddTextPrinterToWindow1(gUnknown_082EDDF4); AddTextPrinterToWindow1(sText_PlayerSentBackOK);
sub_8011A64(0, 0); sub_8011A64(0, 0);
break; break;
} }
@@ -2009,7 +2009,7 @@ void sub_8014F48(u8 taskId)
data->state++; data->state++;
break; break;
case 9: case 9:
if (MG_PrintTextOnWindow1AndWaitButton(&data->textState, gUnknown_082EDF80[sub_8011A74()])) if (MG_PrintTextOnWindow1AndWaitButton(&data->textState, sLinkDroppedTexts[sub_8011A74()]))
{ {
DestroyWirelessStatusIndicatorSprite(); DestroyWirelessStatusIndicatorSprite();
DestroyTask(taskId); DestroyTask(taskId);
@@ -2019,7 +2019,7 @@ void sub_8014F48(u8 taskId)
break; break;
case 7: case 7:
DestroyWirelessStatusIndicatorSprite(); DestroyWirelessStatusIndicatorSprite();
AddTextPrinterToWindow1(gText_PleaseStartOver); AddTextPrinterToWindow1(sText_PleaseStartOver);
DestroyTask(taskId); DestroyTask(taskId);
sub_800EDD4(); sub_800EDD4();
gSpecialVar_Result = 5; gSpecialVar_Result = 5;
@@ -2068,7 +2068,7 @@ void sub_80152F4(u8 taskId)
data->state = 1; data->state = 1;
break; break;
case 1: case 1:
AddTextPrinterToWindow1(gUnknown_082EFBC8); AddTextPrinterToWindow1(sText_SearchingForWirelessSystemWait);
data->state = 2; data->state = 2;
break; break;
case 2: case 2:
@@ -2137,7 +2137,7 @@ void sub_80152F4(u8 taskId)
} }
break; break;
case 4: case 4:
AddTextPrinterToWindow1(gUnknown_082EFC90); AddTextPrinterToWindow1(sText_AwaitingResponseFromWirelessSystem);
sub_8018404(gStringVar1, &data->field_0->arr[data->field_F]); sub_8018404(gStringVar1, &data->field_0->arr[data->field_F]);
data->state = 5; data->state = 5;
break; break;
@@ -2156,7 +2156,7 @@ void sub_80152F4(u8 taskId)
data->state = 8; data->state = 8;
break; break;
case 5: case 5:
AddTextPrinterToWindow1(gUnknown_082EDEC4); AddTextPrinterToWindow1(sText_WirelessLinkEstablished);
sub_8011A64(0, 0); sub_8011A64(0, 0);
break; break;
} }
@@ -2177,7 +2177,7 @@ void sub_80152F4(u8 taskId)
data->state++; data->state++;
break; break;
case 9: case 9:
if (MG_PrintTextOnWindow1AndWaitButton(&data->textState, gUnknown_082EDF04)) if (MG_PrintTextOnWindow1AndWaitButton(&data->textState, sText_WirelessLinkDropped))
{ {
DestroyWirelessStatusIndicatorSprite(); DestroyWirelessStatusIndicatorSprite();
DestroyTask(taskId); DestroyTask(taskId);
@@ -2186,7 +2186,7 @@ void sub_80152F4(u8 taskId)
} }
break; break;
case 7: case 7:
if (MG_PrintTextOnWindow1AndWaitButton(&data->textState, gText_WirelessSearchCanceled)) if (MG_PrintTextOnWindow1AndWaitButton(&data->textState, sText_WirelessSearchCanceled))
{ {
DestroyWirelessStatusIndicatorSprite(); DestroyWirelessStatusIndicatorSprite();
DestroyTask(taskId); DestroyTask(taskId);
@@ -2195,7 +2195,7 @@ void sub_80152F4(u8 taskId)
} }
break; break;
case 11: case 11:
if (MG_PrintTextOnWindow1AndWaitButton(&data->textState, gUnknown_082EFD58[data->field_12])) if (MG_PrintTextOnWindow1AndWaitButton(&data->textState, sNoWonderSharedTexts[data->field_12]))
{ {
DestroyWirelessStatusIndicatorSprite(); DestroyWirelessStatusIndicatorSprite();
DestroyTask(taskId); DestroyTask(taskId);
@@ -2478,7 +2478,7 @@ void sub_80156E0(u8 taskId)
if (!FuncIsActiveTask(sub_80140E0)) if (!FuncIsActiveTask(sub_80140E0))
{ {
if (gUnknown_02022C2C == 0x44) if (gUnknown_02022C2C == 0x44)
sub_8015664(31, gUnknown_082EE004); sub_8015664(31, sText_AwaitingPlayersResponseAboutTrade);
else else
data->state = 5; data->state = 5;
} }
@@ -2494,7 +2494,7 @@ void sub_80156E0(u8 taskId)
case 5: case 5:
id = sub_80179AC(&data->field_0->arr[taskData[1]]); id = sub_80179AC(&data->field_0->arr[taskData[1]]);
playerGender = sub_8017CF8(taskData[1], data->field_0); playerGender = sub_8017CF8(taskData[1], data->field_0);
sub_8015664(6, gUnknown_082EE24C[id][playerGender]); sub_8015664(6, sHiDoSomethingTexts[id][playerGender]);
break; break;
case 6: case 6:
var5 = sub_8017178(&data->textState, &data->field_1B, &data->field_1C, &gUnknown_082F021C, &gUnknown_082F0244); var5 = sub_8017178(&data->textState, &data->field_1B, &data->field_1C, &gUnknown_082F021C, &gUnknown_082F0244);
@@ -2512,7 +2512,7 @@ void sub_80156E0(u8 taskId)
{ {
data->field_4C[0] = 0x40; data->field_4C[0] = 0x40;
sub_800FE50(data->field_4C); sub_800FE50(data->field_4C);
StringCopy(gStringVar4, gUnknown_082EEB80[gLinkPlayers[0].gender]); StringCopy(gStringVar4, sIfYouWantToDoSomethingTexts[gLinkPlayers[0].gender]);
data->state = 32; data->state = 32;
} }
else else
@@ -2541,7 +2541,7 @@ void sub_80156E0(u8 taskId)
sub_8017FD8(data); sub_8017FD8(data);
playerGender = sub_8017CF8(taskData[1], data->field_0); playerGender = sub_8017CF8(taskData[1], data->field_0);
id = sub_8017984(data->field_4C[0] & 0x3F); id = sub_8017984(data->field_4C[0] & 0x3F);
if (PrintOnTextbox(&data->textState, gUnknown_082EE82C[playerGender][id])) if (PrintOnTextbox(&data->textState, sText_WaitOrShowCardTexts[playerGender][id]))
{ {
taskData[3] = 0; taskData[3] = 0;
data->state = 29; data->state = 29;
@@ -2591,7 +2591,7 @@ void sub_80156E0(u8 taskId)
case 7: case 7:
id = sub_80179AC(&data->field_0->arr[taskData[1]]); id = sub_80179AC(&data->field_0->arr[taskData[1]]);
playerGender = sub_8017CF8(taskData[1], data->field_0); playerGender = sub_8017CF8(taskData[1], data->field_0);
sub_8015664(6, gUnknown_082EE24C[id][playerGender]); sub_8015664(6, sHiDoSomethingTexts[id][playerGender]);
break; break;
case 40: case 40:
if (PrintOnTextbox(&data->textState, gStringVar4)) if (PrintOnTextbox(&data->textState, gStringVar4))
@@ -2609,7 +2609,7 @@ void sub_80156E0(u8 taskId)
{ {
StringCopy(gStringVar1, gLinkPlayers[GetMultiplayerId() ^ 1].name); StringCopy(gStringVar1, gLinkPlayers[GetMultiplayerId() ^ 1].name);
id = sub_800E540(gLinkPlayers[1].trainerId, gLinkPlayers[1].name); id = sub_800E540(gLinkPlayers[1].trainerId, gLinkPlayers[1].name);
StringExpandPlaceholders(gStringVar4, sUnionRoomTexts_AwaitingResponse[id]); StringExpandPlaceholders(gStringVar4, sAwaitingResponseTexts[id]);
data->state = 33; data->state = 33;
} }
else else
@@ -2633,7 +2633,7 @@ void sub_80156E0(u8 taskId)
case 1: case 1:
case -1: case -1:
playerGender = sub_8017CF8(taskData[1], data->field_0); playerGender = sub_8017CF8(taskData[1], data->field_0);
sub_801568C(sUnionRoomTexts_DeclineBattle[playerGender]); sub_801568C(sDeclineBattleTexts[playerGender]);
break; break;
} }
break; break;
@@ -2656,9 +2656,9 @@ void sub_80156E0(u8 taskId)
playerGender = sub_8017CF8(taskData[1], data->field_0); playerGender = sub_8017CF8(taskData[1], data->field_0);
sub_8011090(0x54, 0, 1); sub_8011090(0x54, 0, 1);
if (sub_8011B90() == TRUE) if (sub_8011B90() == TRUE)
sub_801568C(gUnknown_082EED3C[playerGender]); sub_801568C(sChatDeclinedTexts[playerGender]);
else else
sub_8015664(30, gUnknown_082EED3C[playerGender]); sub_8015664(30, sChatDeclinedTexts[playerGender]);
break; break;
case 3: case 3:
data->state = 22; data->state = 22;
@@ -2672,9 +2672,9 @@ void sub_80156E0(u8 taskId)
playerGender = sub_8017CF8(taskData[1], data->field_0); playerGender = sub_8017CF8(taskData[1], data->field_0);
sub_8011090(0x54, 0, 1); sub_8011090(0x54, 0, 1);
if (sub_8011B90() == TRUE) if (sub_8011B90() == TRUE)
sub_801568C(gUnknown_082EED3C[playerGender]); sub_801568C(sChatDeclinedTexts[playerGender]);
else else
sub_8015664(30, gUnknown_082EED3C[playerGender]); sub_8015664(30, sChatDeclinedTexts[playerGender]);
} }
if (gReceivedRemoteLinkPlayers != 0) if (gReceivedRemoteLinkPlayers != 0)
data->state = 16; data->state = 16;
@@ -2705,7 +2705,7 @@ void sub_80156E0(u8 taskId)
data->state = 33; data->state = 33;
StringCopy(gStringVar1, gLinkPlayers[1].name); StringCopy(gStringVar1, gLinkPlayers[1].name);
id = sub_800E540(gLinkPlayers[1].trainerId, gLinkPlayers[1].name); id = sub_800E540(gLinkPlayers[1].trainerId, gLinkPlayers[1].name);
StringExpandPlaceholders(gStringVar4, gUnknown_082EE324[id]); StringExpandPlaceholders(gStringVar4, sPlayerContactedYouTexts[id]);
} }
break; break;
case 33: case 33:
@@ -3002,7 +3002,7 @@ void sub_80156E0(u8 taskId)
gUnknown_02022C2C = 0x44; gUnknown_02022C2C = 0x44;
sub_8012188(data->field_0->arr[taskData[1]].unk.playerName, &data->field_0->arr[taskData[1]].unk.field_0, 0x44); sub_8012188(data->field_0->arr[taskData[1]].unk.playerName, &data->field_0->arr[taskData[1]].unk.field_0, 0x44);
sub_8018404(gStringVar1, &data->field_0->arr[taskData[1]]); sub_8018404(gStringVar1, &data->field_0->arr[taskData[1]]);
sub_8017020(gUnknown_082EE17C[2]); sub_8017020(sCommunicatingWaitTexts[2]);
data->state = 25; data->state = 25;
break; break;
case 26: case 26:
@@ -3454,7 +3454,7 @@ u8 sub_8017118(const struct WindowTemplate * template)
u8 windowId = AddWindow(template); u8 windowId = AddWindow(template);
DrawStdWindowFrame(windowId, FALSE); DrawStdWindowFrame(windowId, FALSE);
FillWindowPixelBuffer(windowId, 0xFF); FillWindowPixelBuffer(windowId, 0xFF);
sub_80173E0(windowId, 1, gUnknown_082EFD94, 8, 1, 6); sub_80173E0(windowId, 1, sText_NameWantedOfferLv, 8, 1, 6);
CopyWindowToVram(windowId, 2); CopyWindowToVram(windowId, 2);
PutWindowTilemap(windowId); PutWindowTilemap(windowId);
return windowId; return windowId;
@@ -3780,7 +3780,7 @@ void sub_80177B8(u8 arg0, u8 arg1, u8 arg2, struct UnkStruct_x20 *arg3, u8 arg4,
u8 sp0[6]; u8 sp0[6];
ConvertIntToDecimalStringN(gStringVar4, id + 1, STR_CONV_MODE_LEADING_ZEROS, 2); ConvertIntToDecimalStringN(gStringVar4, id + 1, STR_CONV_MODE_LEADING_ZEROS, 2);
StringAppend(gStringVar4, gText_Colon); StringAppend(gStringVar4, sText_Colon);
sub_80173E0(arg0, 1, gStringVar4, arg1, arg2, 0); sub_80173E0(arg0, 1, gStringVar4, arg1, arg2, 0);
arg1 += 18; arg1 += 18;
r2 = arg3->unk.field_0.unk_0a_0; r2 = arg3->unk.field_0.unk_0a_0;
@@ -3789,7 +3789,7 @@ void sub_80177B8(u8 arg0, u8 arg1, u8 arg2, struct UnkStruct_x20 *arg3, u8 arg4,
sub_8018404(gStringVar4, arg3); sub_8018404(gStringVar4, arg3);
sub_80173E0(arg0, 1, gStringVar4, arg1, arg2, arg4); sub_80173E0(arg0, 1, gStringVar4, arg1, arg2, arg4);
ConvertIntToDecimalStringN(sp0, arg3->unk.field_0.unk_00.playerTrainerId[0] | (arg3->unk.field_0.unk_00.playerTrainerId[1] << 8), STR_CONV_MODE_LEADING_ZEROS, 5); ConvertIntToDecimalStringN(sp0, arg3->unk.field_0.unk_00.playerTrainerId[0] | (arg3->unk.field_0.unk_00.playerTrainerId[1] << 8), STR_CONV_MODE_LEADING_ZEROS, 5);
StringCopy(gStringVar4, gText_UnkCtrlCodeF907); StringCopy(gStringVar4, sText_ID);
StringAppend(gStringVar4, sp0); StringAppend(gStringVar4, sp0);
sub_80173E0(arg0, 1, gStringVar4, GetStringRightAlignXOffset(1, gStringVar4, 0x88), arg2, arg4); sub_80173E0(arg0, 1, gStringVar4, GetStringRightAlignXOffset(1, gStringVar4, 0x88), arg2, arg4);
} }
@@ -3804,7 +3804,7 @@ void sub_80178A0(u8 arg0, u8 arg1, u8 arg2, struct UnkStruct_x20 *arg3, u8 arg4,
sub_8018404(gStringVar4, arg3); sub_8018404(gStringVar4, arg3);
sub_80173E0(arg0, 1, gStringVar4, arg1, arg2, arg4); sub_80173E0(arg0, 1, gStringVar4, arg1, arg2, arg4);
ConvertIntToDecimalStringN(sp0, arg3->unk.field_0.unk_00.playerTrainerId[0] | (arg3->unk.field_0.unk_00.playerTrainerId[1] << 8), STR_CONV_MODE_LEADING_ZEROS, 5); ConvertIntToDecimalStringN(sp0, arg3->unk.field_0.unk_00.playerTrainerId[0] | (arg3->unk.field_0.unk_00.playerTrainerId[1] << 8), STR_CONV_MODE_LEADING_ZEROS, 5);
StringCopy(gStringVar4, gText_UnkCtrlCodeF907); StringCopy(gStringVar4, sText_ID);
StringAppend(gStringVar4, sp0); StringAppend(gStringVar4, sp0);
sub_80173E0(arg0, 1, gStringVar4, GetStringRightAlignXOffset(1, gStringVar4, 0x68), arg2, arg4); sub_80173E0(arg0, 1, gStringVar4, GetStringRightAlignXOffset(1, gStringVar4, 0x68), arg2, arg4);
} }
@@ -3865,12 +3865,12 @@ s32 sub_80179D4(struct UnkStruct_Main0 *arg0, u8 arg1, u8 arg2, u32 playerGender
r2 = sub_800E540(ReadAsU16(r5->unk.field_0.unk_00.playerTrainerId), gStringVar1); r2 = sub_800E540(ReadAsU16(r5->unk.field_0.unk_00.playerTrainerId), gStringVar1);
if (r5->unk.field_0.unk_0a_0 == 0x45) if (r5->unk.field_0.unk_0a_0 == 0x45)
{ {
StringExpandPlaceholders(gStringVar4, sUnionRoomTexts_JoinChat[r2][playerGender]); StringExpandPlaceholders(gStringVar4, sJoinChatTexts[r2][playerGender]);
return 2; return 2;
} }
else else
{ {
sub_8017020(gUnknown_082EE17C[r2]); sub_8017020(sCommunicatingWaitTexts[r2]);
return 1; return 1;
} }
} }
@@ -3884,16 +3884,16 @@ s32 sub_80179D4(struct UnkStruct_Main0 *arg0, u8 arg1, u8 arg2, u32 playerGender
switch (r5->unk.field_0.unk_0a_0 & 0x3F) switch (r5->unk.field_0.unk_0a_0 & 0x3F)
{ {
case 1: case 1:
StringExpandPlaceholders(gStringVar4, gUnknown_082EEEAC[playerGender][Random() % 4]); StringExpandPlaceholders(gStringVar4, sBattleReactionTexts[playerGender][Random() % 4]);
break; break;
case 4: case 4:
StringExpandPlaceholders(gStringVar4, sUnionRoomTexts_Traded[playerGender][Random() % 2]); StringExpandPlaceholders(gStringVar4, sTradeReactionTexts[playerGender][Random() % 2]);
break; break;
case 5: case 5:
StringExpandPlaceholders(gStringVar4, gUnknown_082EF010[playerGender][Random() % 4]); StringExpandPlaceholders(gStringVar4, sChatReactionTexts[playerGender][Random() % 4]);
break; break;
case 8: case 8:
StringExpandPlaceholders(gStringVar4, gUnknown_082EF100[playerGender][Random() % 2]); StringExpandPlaceholders(gStringVar4, sTrainerCardReactionTexts[playerGender][Random() % 2]);
break; break;
default: default:
StringExpandPlaceholders(gStringVar4, sText_TrainerAppearsBusy); StringExpandPlaceholders(gStringVar4, sText_TrainerAppearsBusy);
@@ -4023,16 +4023,16 @@ void sub_8017D9C(u8 *dst, s32 arg1, u32 playerGender)
switch (arg1) switch (arg1)
{ {
case 0x41: case 0x41:
StringExpandPlaceholders(dst, gUnknown_082EEA68[playerGender]); StringExpandPlaceholders(dst, sBattleDeclinedTexts[playerGender]);
break; break;
case 0x45: case 0x45:
StringExpandPlaceholders(dst, gUnknown_082EED3C[playerGender]); StringExpandPlaceholders(dst, sChatDeclinedTexts[playerGender]);
break; break;
case 0x44: case 0x44:
StringExpandPlaceholders(dst, sText_TradeOfferRejected); StringExpandPlaceholders(dst, sText_TradeOfferRejected);
break; break;
case 0x48: case 0x48:
StringExpandPlaceholders(dst, gUnknown_082EEB08[playerGender]); StringExpandPlaceholders(dst, sShowTrainerCardDeclinedTexts[playerGender]);
break; break;
} }
} }
@@ -4045,13 +4045,13 @@ void sub_8017E00(u8 *dst, u8 arg1)
switch (arg1) switch (arg1)
{ {
case 0x41: case 0x41:
StringCopy(dst, gUnknown_082EE984[mpId][gender][0]); StringCopy(dst, sStartActivityTexts[mpId][gender][0]);
break; break;
case 0x44: case 0x44:
StringCopy(dst, gUnknown_082EE984[mpId][gender][2]); StringCopy(dst, sStartActivityTexts[mpId][gender][2]);
break; break;
case 0x45: case 0x45:
StringCopy(dst, gUnknown_082EE984[mpId][gender][1]); StringCopy(dst, sStartActivityTexts[mpId][gender][1]);
break; break;
} }
} }
@@ -4294,7 +4294,7 @@ void sub_8018220(u8 *unused, struct UnkStruct_URoom *arg1, bool8 arg2)
DynamicPlaceholderTextUtil_SetPlaceholderPtr(4, arg1->field_C0[3]); DynamicPlaceholderTextUtil_SetPlaceholderPtr(4, arg1->field_C0[3]);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(5, arg1->field_C0[4]); DynamicPlaceholderTextUtil_SetPlaceholderPtr(5, arg1->field_C0[4]);
DynamicPlaceholderTextUtil_ExpandPlaceholders(arg1->field_1A4, gUnknown_082EFF64); DynamicPlaceholderTextUtil_ExpandPlaceholders(arg1->field_1A4, sText_TrainerCardInfoPage1);
StringCopy(gStringVar4, arg1->field_1A4); StringCopy(gStringVar4, arg1->field_1A4);
n = trainerCard->linkBattleWins; n = trainerCard->linkBattleWins;
@@ -4322,17 +4322,17 @@ void sub_8018220(u8 *unused, struct UnkStruct_URoom *arg1, bool8 arg2)
DynamicPlaceholderTextUtil_SetPlaceholderPtr(i + 4, arg1->field_C0[i + 3]); DynamicPlaceholderTextUtil_SetPlaceholderPtr(i + 4, arg1->field_C0[i + 3]);
} }
DynamicPlaceholderTextUtil_ExpandPlaceholders(arg1->field_1A4, gUnknown_082EFFA4); DynamicPlaceholderTextUtil_ExpandPlaceholders(arg1->field_1A4, sText_TrainerCardInfoPage2);
StringAppend(gStringVar4, arg1->field_1A4); StringAppend(gStringVar4, arg1->field_1A4);
if (arg2 == TRUE) if (arg2 == TRUE)
{ {
DynamicPlaceholderTextUtil_ExpandPlaceholders(arg1->field_1A4, gUnknown_082F0020); DynamicPlaceholderTextUtil_ExpandPlaceholders(arg1->field_1A4, sText_FinishedCheckingPlayersTrainerCard);
StringAppend(gStringVar4, arg1->field_1A4); StringAppend(gStringVar4, arg1->field_1A4);
} }
else if (arg2 == FALSE) else if (arg2 == FALSE)
{ {
DynamicPlaceholderTextUtil_ExpandPlaceholders(arg1->field_1A4, gUnknown_082F0018[trainerCard->gender]); DynamicPlaceholderTextUtil_ExpandPlaceholders(arg1->field_1A4, sGladToMeetYouTexts[trainerCard->gender]);
StringAppend(gStringVar4, arg1->field_1A4); StringAppend(gStringVar4, arg1->field_1A4);
} }
} }
+5 -5
View File
@@ -1705,7 +1705,7 @@ void copy_strings_to_sav1(void)
StringCopy(gSaveBlock1Ptr->unk3C88[4], gText_Lets); StringCopy(gSaveBlock1Ptr->unk3C88[4], gText_Lets);
StringCopy(gSaveBlock1Ptr->unk3C88[5], gText_Ok); StringCopy(gSaveBlock1Ptr->unk3C88[5], gText_Ok);
StringCopy(gSaveBlock1Ptr->unk3C88[6], gText_Sorry); StringCopy(gSaveBlock1Ptr->unk3C88[6], gText_Sorry);
StringCopy(gSaveBlock1Ptr->unk3C88[7], gText_YayUnkF9F9); StringCopy(gSaveBlock1Ptr->unk3C88[7], gText_YaySmileEmoji);
StringCopy(gSaveBlock1Ptr->unk3C88[8], gText_ThankYou); StringCopy(gSaveBlock1Ptr->unk3C88[8], gText_ThankYou);
StringCopy(gSaveBlock1Ptr->unk3C88[9], gText_ByeBye); StringCopy(gSaveBlock1Ptr->unk3C88[9], gText_ByeBye);
} }
@@ -2583,9 +2583,9 @@ static void sub_80201A4(void)
FillWindowPixelBuffer(2, PIXEL_FILL(15)); FillWindowPixelBuffer(2, PIXEL_FILL(15));
page = GetCurrentKeyboardPage(); page = GetCurrentKeyboardPage();
sp[0] = 0; sp[0] = TEXT_COLOR_TRANSPARENT;
sp[1] = 14; sp[1] = TEXT_DYNAMIC_COLOR_5;
sp[2] = 13; sp[2] = TEXT_DYNAMIC_COLOR_4;
if (page != UNION_ROOM_KB_PAGE_COUNT) if (page != UNION_ROOM_KB_PAGE_COUNT)
{ {
str = &sp[4]; str = &sp[4];
@@ -2688,7 +2688,7 @@ static void sub_802040C(void)
static void sub_8020420(u16 row, u8 *str, u8 arg2) static void sub_8020420(u16 row, u8 *str, u8 arg2)
{ {
u8 color[3]; u8 color[3];
color[0] = 1; color[0] = TEXT_COLOR_WHITE;
color[1] = arg2 * 2 + 2; color[1] = arg2 * 2 + 2;
color[2] = arg2 * 2 + 3; color[2] = arg2 * 2 + 3;
FillWindowPixelRect(0, PIXEL_FILL(1), 0, row * 15, 168, 15); FillWindowPixelRect(0, PIXEL_FILL(1), 0, row * 15, 168, 15);
+5 -5
View File
@@ -178,11 +178,11 @@ const u8 gUnknown_085DFCC4[] =
1 // Sour/Tough 1 // Sour/Tough
}; };
const u8 gUnknown_085DFCC9[] = static const u8 sNatureTextColors[] =
{ {
0, TEXT_COLOR_TRANSPARENT,
8, TEXT_COLOR_BLUE,
1 TEXT_COLOR_WHITE
}; };
const struct BgTemplate gUnknown_085DFCCC[4] = const struct BgTemplate gUnknown_085DFCCC[4] =
@@ -1398,7 +1398,7 @@ void sub_8167BA0(u16 arg0, u8 copyToVramMode)
nature = GetNature(&gPlayerParty[partyIndex]); nature = GetNature(&gPlayerParty[partyIndex]);
str = StringCopy(gUnknown_0203BCAC->info.field_7A, gText_NatureSlash); str = StringCopy(gUnknown_0203BCAC->info.field_7A, gText_NatureSlash);
str = StringCopy(str, gNatureNamePointers[nature]); str = StringCopy(str, gNatureNamePointers[nature]);
AddTextPrinterParameterized3(1, 1, 2, 1, gUnknown_085DFCC9, 0, gUnknown_0203BCAC->info.field_7A); AddTextPrinterParameterized3(1, 1, 2, 1, sNatureTextColors, 0, gUnknown_0203BCAC->info.field_7A);
} }
if (copyToVramMode) if (copyToVramMode)