summaryrefslogtreecommitdiff
path: root/data/link_rfu_3.s
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-11-03 19:16:53 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2019-11-03 19:16:53 -0500
commit89e0168ccec7d3963f30e4b2183f30736c65be75 (patch)
tree92b8ec24b06dc081149a7740b4980d156c938bfe /data/link_rfu_3.s
parent977925a9ee438e149212e438585c2d3d59e3f254 (diff)
Document mevent scripts
Diffstat (limited to 'data/link_rfu_3.s')
-rw-r--r--data/link_rfu_3.s21
1 files changed, 18 insertions, 3 deletions
diff --git a/data/link_rfu_3.s b/data/link_rfu_3.s
index ed1a09b16..9235d4b62 100644
--- a/data/link_rfu_3.s
+++ b/data/link_rfu_3.s
@@ -370,7 +370,22 @@ gUnknown_8459580:: @ 8459580
.incbin "baserom.gba", 0x459580, 0x8
gUnknown_8459588:: @ 8459588
- .incbin "baserom.gba", 0x459588, 0x64
+ .incbin "baserom.gba", 0x459588, 0x28
-gUnknown_84595EC:: @ 84595EC @ referenced in mevent/script_common.inc
- .incbin "baserom.gba", 0x4595EC, 0x48
+gUnknown_84595B0::
+ .string "Canceled reading the Card.$"
+
+ .align 2
+gUnknown_84595CC::
+ .4byte 0x02, 0x15 @ RECEIVE ID(0x15)
+ .4byte 0x0c, 0x00 @ READ PACKET AND COMPUTER SOMETHING
+ .4byte 0x14, 0x00 @ SEND ALL
+ .4byte 0x01, 0x0e @ RETURN 0x0e
+
+gMEventSrvScript_OtherTrainerCanceled:: @ 84595EC @ referenced in mevent/script_common.inc
+ .4byte 0x12, 0x20, gUnknown_84595CC @ SEND
+ .4byte 0x01, 0x00, NULL @ WAIT SEND
+ .4byte 0x14, 0x1b, gUnknown_84595B0 @ SEND_STR
+ .4byte 0x01, 0x00, NULL @ WAIT SEND
+ .4byte 0x02, 0x14, NULL @ RECV
+ .4byte 0x00, 0x09, NULL @ RETURN (other trainer canceled)