summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-01-22 12:38:19 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2020-01-22 12:38:19 -0500
commit2d4be89ee590792bcbcfdcfac17bc2827ca17151 (patch)
tree592b831e50d1d98f3842751335278e782f9274c7 /asm
parent0495cce90418b84dc53b5d5c9f3b2bfe46f0ed62 (diff)
parente97d3532d4d72a1fe9aec755cd2a3c6527484e27 (diff)
Merge branch 'master' of github.com:pret/pokefirered into union_room
Diffstat (limited to 'asm')
-rw-r--r--asm/field_control_avatar.s12
-rw-r--r--asm/macros/event.inc7
2 files changed, 13 insertions, 6 deletions
diff --git a/asm/field_control_avatar.s b/asm/field_control_avatar.s
index 673c8bfc3..83f9a5700 100644
--- a/asm/field_control_avatar.s
+++ b/asm/field_control_avatar.s
@@ -1100,11 +1100,11 @@ sub_806D0E4: @ 806D0E4
ldr r0, [r5, 0x8]
cmp r0, 0
bne _0806D120
- ldr r0, _0806D11C @ =EventScript_1C555B
+ ldr r0, _0806D11C @ =Test_EventScript_Sign
b _0806D1E6
.align 2, 0
_0806D118: .4byte gMapHeader
-_0806D11C: .4byte EventScript_1C555B
+_0806D11C: .4byte Test_EventScript_Sign
_0806D120:
adds r0, r7, 0
adds r1, r6, 0
@@ -1834,11 +1834,11 @@ _0806D704:
beq _0806D720
movs r0, 0xD
bl IncrementGameStat
- ldr r0, _0806D71C @ =EventScript_81BF546
+ ldr r0, _0806D71C @ =EventScript_EggHatch
bl ScriptContext1_SetupScript
b _0806D730
.align 2, 0
-_0806D71C: .4byte EventScript_81BF546
+_0806D71C: .4byte EventScript_EggHatch
_0806D720:
bl SafariZoneTakeStep
lsls r0, 24
@@ -2150,13 +2150,13 @@ _0806D950:
ldr r0, [r0, 0x8]
cmp r0, 0
bne _0806D958
- ldr r0, _0806D960 @ =EventScript_1C555B
+ ldr r0, _0806D960 @ =Test_EventScript_Sign
_0806D958:
pop {r4}
pop {r1}
bx r1
.align 2, 0
-_0806D960: .4byte EventScript_1C555B
+_0806D960: .4byte Test_EventScript_Sign
thumb_func_end sub_806D928
thumb_func_start mapheader_run_first_tag2_script_list_match_conditionally
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index 1be118154..7e95af9f4 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -1633,3 +1633,10 @@
compare VAR_RESULT, 2
goto_if_eq \dest
.endm
+
+ .macro braillemessage_wait text:req
+ setvar VAR_0x8006, 0
+ braillemessage \text
+ getbraillestringwidth \text
+ call EventScript_BrailleCursorWaitButton
+ .endm