summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-04-06 17:10:06 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2018-04-06 17:10:06 -0400
commitc39884477408456e96d913aaec8a220b9152076c (patch)
tree0dfc154056a316b2003a81a9539e7b67777d86ba
parent411687e2b69d4e2e361e1605564b6c0f8a01ef72 (diff)
Decompile another script related to eon ticket
-rw-r--r--data/debug_menu_3.s32
1 files changed, 28 insertions, 4 deletions
diff --git a/data/debug_menu_3.s b/data/debug_menu_3.s
index c384465e7..d53208ea1 100644
--- a/data/debug_menu_3.s
+++ b/data/debug_menu_3.s
@@ -82,13 +82,37 @@ _0845DC94:
.string "deinem PC und komm dann wieder.$"
_0845DD0D:
- .byte 0xb8, 0x0d, 0xdd, 0x45, 0x08, 0x47, 0x13, 0x01, 0x01, 0x00, 0x21, 0x0d, 0x80, 0x01, 0x00, 0xbb, 0x01, 0x53, 0xdd, 0x45
- .byte 0x08, 0x4a, 0x13, 0x01, 0x01, 0x00, 0x21, 0x0d, 0x80, 0x01, 0x00, 0xbb, 0x01, 0x53, 0xdd, 0x45, 0x08, 0x2b, 0xce, 0x00, 0xbb, 0x01, 0x53, 0xdd, 0x45, 0x08, 0x46, 0x13, 0x01, 0x01, 0x00, 0x21
- .byte 0x0d, 0x80, 0x00, 0x00, 0xbb, 0x01, 0x5b, 0xdd, 0x45, 0x08, 0xbe, 0x16, 0xdb, 0x45, 0x08, 0x0e, 0x02, 0x02, 0xbe, 0x63, 0xdd, 0x45, 0x08, 0x0e, 0x03, 0x02, 0xbe, 0x95, 0xdd, 0x45, 0x08, 0x0e
- .byte 0x03, 0x02
+ setvaddress _0845DD0D
+ checkitem ITEM_EON_TICKET, 0x1
+ compare RESULT, 0x1
+ vgoto_if 0x1, _0845DD53
+ checkpcitem ITEM_EON_TICKET, 0x1
+ compare RESULT, 0x1
+ vgoto_if 0x1, _0845DD53
+ checkflag FLAG_ENCOUNTERED_LATIAS_OR_LATIOS
+ vgoto_if 0x1, _0845DD53
+ checkitemspace ITEM_EON_TICKET, 0x1
+ compare RESULT, 0x0
+ vgoto_if 0x1, _0845DD5B
+ vloadptr _0845DB16
+ setmysteryeventstatus 0x2
+ end
+
+_0845DD53:
+ vloadptr _0845DD63
+ setmysteryeventstatus 0x3
+ end
+_0845DD5B:
+ vloadptr _0845DD95
+ setmysteryeventstatus 0x3
+ end
+
+_0845DD63:
.string "Dieses GESCHEHEN kann nur einmal\n"
.string "gespielt werden.$"
+
+_0845DD95:
.string "Deine BASIS-TASCHE ist voll.$"
gUnknown_Debug_845DDB2::