summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-09-02 14:30:28 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-09-02 14:30:28 -0400
commit85e758cb43dff511033c03d5c8f9ff3155bb805a (patch)
tree0fdf3c2d6d03c364a7e631f3b4aaea5559bc263f /src
parent765bed46b08990779c379204f5ac813b310b863d (diff)
sub_8049954
Diffstat (limited to 'src')
-rw-r--r--src/trade.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/trade.c b/src/trade.c
index b8732aeea..a9eeddf7c 100644
--- a/src/trade.c
+++ b/src/trade.c
@@ -1757,6 +1757,15 @@ static void sub_8049620(void)
}
}
+/*static*/ void sub_8049954(void)
+{
+ if (gMain.newKeys & A_BUTTON || gMain.newKeys & B_BUTTON)
+ {
+ PlaySE(SE_SELECT);
+ sub_8049804();
+ }
+}
+
asm(".section .text.sub_804A96C");
/*static*/ void sub_804A96C(struct UnkStructD *arg0, u8 left, u8 top, u16 *tilemap, u8 width, u8 height, u16 sp8) {