summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-11-05 00:16:09 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2017-11-05 00:16:09 +0100
commit135c4ea1f6210abd2caa3a3125cc4c77ce32645f (patch)
treebe02b61c67b90cc9611c5f7448ebef59f05af071
parent4d4d642285342bef6bafe4b932e3fd8eabeb7133 (diff)
dump some of the item menu
-rwxr-xr-xasm/party_menu.s2
-rw-r--r--data/item_menu.s79
-rw-r--r--data/script_menu.s2
-rw-r--r--data/strings.s22
4 files changed, 72 insertions, 33 deletions
diff --git a/asm/party_menu.s b/asm/party_menu.s
index 3d2af7e7d..280b658d4 100755
--- a/asm/party_menu.s
+++ b/asm/party_menu.s
@@ -4249,7 +4249,7 @@ _081B243E:
adds r0, r4, 0
movs r1, 0
bl FillWindowPixelBuffer
- ldr r5, =gText_Confirm
+ ldr r5, =gMenuText_Confirm
movs r0, 0
adds r1, r5, 0
movs r2, 0x30
diff --git a/data/item_menu.s b/data/item_menu.s
index 762f10ca4..c63b33396 100644
--- a/data/item_menu.s
+++ b/data/item_menu.s
@@ -4,61 +4,100 @@
.section .rodata
gUnknown_08613F90:: @ 8613F90
- .incbin "baserom.gba", 0x613f90, 0xc
+ .4byte 0x11F0, 0x1E1, 0x21DE
+@ possibly a struct
gUnknown_08613F9C:: @ 8613F9C
- .incbin "baserom.gba", 0x613f9c, 0x18
+ .4byte 0
+ .4byte bag_menu_change_item_callback
+ .4byte sub_81AB520
+ .4byte 0
+ .4byte 0x80000
+ .4byte 0x7003011
gUnknown_08613FB4:: @ 8613FB4
- .incbin "baserom.gba", 0x613fb4, 0x78
+ .4byte gMenuText_Use, ItemMenu_UseOutOfBattle
+ .4byte gMenuText_Toss, ItemMenu_Toss
+ .4byte gMenuText_Register, ItemMenu_Register
+ .4byte gMenuText_Give, ItemMenu_Give
+ .4byte gText_Cancel2, ItemMenu_Cancel
+ .4byte gMenuText_Use, ItemMenu_UseInBattle
+ .4byte gMenuText_Check, ItemMenu_UseOutOfBattle
+ .4byte gMenuText_Walk, ItemMenu_UseOutOfBattle
+ .4byte gMenuText_Deselect, ItemMenu_Register
+ .4byte gMenuText_CheckTag, ItemMenu_CheckTag
+ .4byte gMenuText_Confirm, unknown_ItemMenu_Confirm
+ .4byte gMenuText_Show, unknown_ItemMenu_Show
+ .4byte gMenuText_Give2, unknown_ItemMenu_Give2
+ .4byte gMenuText_Confirm, unknown_ItemMenu_Confirm2
+ .4byte gText_EmptyString2, 0
gUnknown_0861402C:: @ 861402C
- .incbin "baserom.gba", 0x61402c, 0x4
+ .byte 0, 3, 1, 4
gUnknown_08614030:: @ 8614030
- .incbin "baserom.gba", 0x614030, 0x4
+ .byte 0, 2, 14, 4
gUnknown_08614034:: @ 8614034
- .incbin "baserom.gba", 0x614034, 0x4
+ .byte 3, 14, 1, 4
gUnknown_08614038:: @ 8614038
- .incbin "baserom.gba", 0x614038, 0x4
+ .byte 0, 3, 14, 4
gUnknown_0861403C:: @ 861403C
- .incbin "baserom.gba", 0x61403c, 0x6
+ .byte 9, 14, 0, 3, 1, 4
gUnknown_08614042:: @ 8614042
- .incbin "baserom.gba", 0x614042, 0x2
+ .byte 5, 4
gUnknown_08614044:: @ 8614044
- .incbin "baserom.gba", 0x614044, 0x2
+ .byte 3, 4
gUnknown_08614046:: @ 8614046
- .incbin "baserom.gba", 0x614046, 0x1
+ .byte 4
gUnknown_08614047:: @ 8614047
- .incbin "baserom.gba", 0x614047, 0x4
+ .byte 10, 9, 14, 4
gUnknown_0861404B:: @ 861404B
- .incbin "baserom.gba", 0x61404b, 0x2
+ .byte 11, 4
gUnknown_0861404D:: @ 861404D
- .incbin "baserom.gba", 0x61404d, 0x2
+ .byte 12, 4
gUnknown_0861404F:: @ 861404F
- .incbin "baserom.gba", 0x61404f, 0x5
+ .byte 13, 4
+.align 2
gUnknown_08614054:: @ 8614054
- .incbin "baserom.gba", 0x614054, 0x30
-
+ .4byte unknown_item_menu_type
+ .4byte unknown_item_menu_type
+ .4byte item_menu_type_2
+ .4byte display_sell_item_ask_str
+ .4byte unknown_ItemMenu_Confirm
+ .4byte unknown_item_menu_type
+ .4byte display_deposit_item_ask_str
+ .4byte unknown_item_menu_type
+ .4byte unknown_item_menu_type
+ .4byte unknown_item_menu_type
+ .4byte 0
+ .4byte item_menu_type_b
+
+.align 2
gUnknown_08614084:: @ 8614084
- .incbin "baserom.gba", 0x614084, 0x8
+ .4byte BagMenuActuallyToss
+ .4byte BagMenuCancelToss
gUnknown_0861408C:: @ 861408C
- .incbin "baserom.gba", 0x61408c, 0x8
+ .4byte sub_81AD84C
+ .4byte sub_81AD6FC
+@probably a struct
gUnknown_08614094:: @ 8614094
- .incbin "baserom.gba", 0x614094, 0x10
+ .4byte 0x1101C00
+ .4byte 0xFFFF1064
+ .4byte 0x6FFFFF
+ .4byte 0x6F
gUnknown_086140A4:: @ 86140A4
.incbin "baserom.gba", 0x6140a4, 0xc0
diff --git a/data/script_menu.s b/data/script_menu.s
index 626f0a268..0afe3579a 100644
--- a/data/script_menu.s
+++ b/data/script_menu.s
@@ -39,7 +39,7 @@ gUnknown_0858AC78:: @ 58AC78
.4byte gText_Exit, 0
gUnknown_0858AC90:: @ 58AC90
- .4byte gUnknown_085E8CCB, 0
+ .4byte gMenuText_Register, 0
.4byte gUnknown_085EAE12, 0
.4byte gUnknown_085EAE1B, 0
.4byte gText_Cancel2, 0
diff --git a/data/strings.s b/data/strings.s
index fee4a0d66..42dcc2316 100644
--- a/data/strings.s
+++ b/data/strings.s
@@ -534,25 +534,25 @@ gUnknown_085E8CAC:: @ 85E8CAC
gText_FlyToWhere:: @ 85E8CB4
.string "FLY to where?$"
-gUnknown_085E8CC2:: @ 85E8CC2
+gMenuText_Use:: @ 85E8CC2
.string "USE$"
-gUnknown_085E8CC6:: @ 85E8CC6
+gMenuText_Toss:: @ 85E8CC6
.string "TOSS$"
-gUnknown_085E8CCB:: @ 85E8CCB
+gMenuText_Register:: @ 85E8CCB
.string "REGISTER$"
-gUnknown_085E8CD4:: @ 85E8CD4
+gMenuText_Give:: @ 85E8CD4
.string "GIVE$"
-gUnknown_085E8CD9:: @ 85E8CD9
+gMenuText_CheckTag:: @ 85E8CD9
.string "CHECK TAG$"
-gText_Confirm:: @ 85E8CE3
+gMenuText_Confirm:: @ 85E8CE3
.string "CONFIRM$"
-gUnknown_085E8CEB:: @ 85E8CEB
+gMenuText_Walk:: @ 85E8CEB
.string "WALK$"
gText_Cancel:: @ 85E8CF0
@@ -561,7 +561,7 @@ gText_Cancel:: @ 85E8CF0
gText_Cancel2:: @ 85E8CF7
.string "CANCEL$"
-gUnknown_085E8CFE:: @ 85E8CFE
+gMenuText_Show:: @ 85E8CFE
.string "SHOW$"
gText_EmptyString2:: @ 85E8D03
@@ -582,13 +582,13 @@ gUnknown_085E8D15:: @ 85E8D15
gUnknown_085E8D1A:: @ 85E8D1A
.string "STORE$"
-gUnknown_085E8D20:: @ 85E8D20
+gMenuText_Check:: @ 85E8D20
.string "CHECK$"
gText_None:: @ 85E8D26
.string "NONE$"
-gUnknown_085E8D2B:: @ 85E8D2B
+gMenuText_Deselect:: @ 85E8D2B
.string "DESELECT$"
gText_ThreeMarks:: @ 85E8D34
@@ -642,7 +642,7 @@ gText_GoBackPrevMenu:: @ 85E8D62
gText_WhatWouldYouLike:: @ 85E8D80
.string "What would you like to do?$"
-gUnknown_085E8D9B:: @ 85E8D9B
+gMenuText_Give2:: @ 85E8D9B
.string "GIVE$"
gText_xVar1:: @ 85E8DA0