summaryrefslogtreecommitdiff
path: root/src/field_specials.c
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-03-31 20:22:47 -0400
committerPhlosioneer <mattmdrr2@gmail.com>2019-03-31 20:22:47 -0400
commit37c7441a158f1c7046034a32eab8e1cbd79c69b9 (patch)
treeabb77f18cf12ba633407e20bbcadf65773a21c74 /src/field_specials.c
parent23ac2cc94e2914a427e97467103c0160af6f1be0 (diff)
parent93c4e35d844046d12c7d8bcc64e8fc3e03e85e0d (diff)
Merge branch 'master' into contest-data
Diffstat (limited to 'src/field_specials.c')
-rw-r--r--src/field_specials.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/field_specials.c b/src/field_specials.c
index 436b06f53..20c2e6173 100644
--- a/src/field_specials.c
+++ b/src/field_specials.c
@@ -1,4 +1,5 @@
#include "global.h"
+#include "alloc.h"
#include "battle.h"
#include "battle_tower.h"
#include "cable_club.h"
@@ -20,7 +21,7 @@
#include "link.h"
#include "list_menu.h"
#include "main.h"
-#include "alloc.h"
+#include "mevent.h"
#include "match_call.h"
#include "menu.h"
#include "overworld.h"
@@ -31,7 +32,6 @@
#include "random.h"
#include "rayquaza_scene.h"
#include "region_map.h"
-#include "rom_8011DC0.h"
#include "rtc.h"
#include "script.h"
#include "script_menu.h"
@@ -2610,7 +2610,7 @@ static void sub_813A4EC(u8 taskId)
{
case LIST_NOTHING_CHOSEN:
break;
- case LIST_B_PRESSED:
+ case LIST_CANCEL:
gSpecialVar_Result = 0x7F;
PlaySE(SE_SELECT);
sub_813A570(taskId);
@@ -2690,10 +2690,10 @@ static void sub_813A664(u8 taskId)
static void sub_813A694(u8 taskId)
{
static const struct ScrollArrowsTemplate gUnknown_085B3030 = {
- .firstArrowType = 2,
+ .firstArrowType = SCROLL_ARROW_UP,
.firstX = 0,
.firstY = 0,
- .secondArrowType = 3,
+ .secondArrowType = SCROLL_ARROW_DOWN,
.secondX = 0,
.secondY = 0,
.fullyUpThreshold = 0,