mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 11:44:17 +01:00
dumped item data
This commit is contained in:
parent
9cf66deb98
commit
15deec2511
@ -6,6 +6,7 @@
|
||||
.include "constants/item_constants.s"
|
||||
.include "constants/type_constants.s"
|
||||
.include "constants/pokemon_data_constants.s"
|
||||
.include "constants/item_data_constants.s"
|
||||
.include "asm/macros.s"
|
||||
.include "asm/charmap.s"
|
||||
|
||||
@ -408350,7 +408351,7 @@ itemid_get_item: ; 80D7474
|
||||
lsrs r0, 16
|
||||
movs r1, 0x2C
|
||||
muls r0, r1
|
||||
ldr r1, =gUnknown_085839A0
|
||||
ldr r1, =gItems
|
||||
adds r0, r1
|
||||
pop {r1}
|
||||
bx r1
|
||||
@ -408363,7 +408364,7 @@ itemid_get_number: ; 80D7494
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldr r4, =gUnknown_085839A0
|
||||
ldr r4, =gItems
|
||||
bl itemid_sanitize
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@ -408383,7 +408384,7 @@ itemid_get_market_price: ; 80D74B8
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldr r4, =gUnknown_085839A0
|
||||
ldr r4, =gItems
|
||||
bl itemid_sanitize
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@ -408403,7 +408404,7 @@ itemid_get_x12: ; 80D74DC
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldr r4, =gUnknown_085839A0
|
||||
ldr r4, =gItems
|
||||
bl itemid_sanitize
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@ -408423,7 +408424,7 @@ itemid_get_quality: ; 80D7500
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldr r4, =gUnknown_085839A0
|
||||
ldr r4, =gItems
|
||||
bl itemid_sanitize
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@ -408443,7 +408444,7 @@ itemid_get_description: ; 80D7524
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldr r4, =gUnknown_085839A0
|
||||
ldr r4, =gItems
|
||||
bl itemid_sanitize
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@ -408464,7 +408465,7 @@ itemid_is_unique: ; 80D7548
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldr r4, =gUnknown_085839A0
|
||||
ldr r4, =gItems
|
||||
bl itemid_sanitize
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@ -408484,7 +408485,7 @@ itemid_get_x19: ; 80D756C
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldr r4, =gUnknown_085839A0
|
||||
ldr r4, =gItems
|
||||
bl itemid_sanitize
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@ -408504,7 +408505,7 @@ itemid_get_pocket_number: ; 80D7590
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldr r4, =gUnknown_085839A0
|
||||
ldr r4, =gItems
|
||||
bl itemid_sanitize
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@ -408524,7 +408525,7 @@ itemid_get_type: ; 80D75B4
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldr r4, =gUnknown_085839A0
|
||||
ldr r4, =gItems
|
||||
bl itemid_sanitize
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@ -408544,7 +408545,7 @@ itemid_get_overworld_function: ; 80D75D8
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldr r4, =gUnknown_085839A0
|
||||
ldr r4, =gItems
|
||||
bl itemid_sanitize
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@ -408565,7 +408566,7 @@ itemid_get_usage: ; 80D75FC
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldr r4, =gUnknown_085839A0
|
||||
ldr r4, =gItems
|
||||
bl itemid_sanitize
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@ -408586,7 +408587,7 @@ itemid_get_battle_function: ; 80D7620
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldr r4, =gUnknown_085839A0
|
||||
ldr r4, =gItems
|
||||
bl itemid_sanitize
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@ -408607,7 +408608,7 @@ itemid_get_x28: ; 80D7644
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldr r4, =gUnknown_085839A0
|
||||
ldr r4, =gItems
|
||||
bl itemid_sanitize
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
|
5
constants/item_data_constants.s
Normal file
5
constants/item_data_constants.s
Normal file
@ -0,0 +1,5 @@
|
||||
.set POCKET_ITEMS, 0x01
|
||||
.set POCKET_POKE_BALLS, 0x02
|
||||
.set POCKET_TM_HM, 0x03
|
||||
.set POCKET_BERRIES, 0x04
|
||||
.set POCKET_KEY_ITEMS, 0x05
|
@ -1,2 +1,4 @@
|
||||
.set NULL, 0
|
||||
|
||||
.set POKEMON_NAME_LENGTH, 11
|
||||
.set MOVE_NAME_LENGTH, 13
|
||||
|
@ -4125,10 +4125,8 @@ gUnknown_0857FE10: ; 857FE10
|
||||
; 857FEA0
|
||||
.include "data/text/item_descriptions.s"
|
||||
|
||||
.align 2, 0
|
||||
|
||||
gUnknown_085839A0: ; 85839A0
|
||||
.incbin "base_emerald.gba", 0x5839a0, 0x40cc
|
||||
; 85839A0
|
||||
.include "data/items.s"
|
||||
|
||||
gUnknown_08587A6C: ; 8587A6C
|
||||
.incbin "base_emerald.gba", 0x587a6c, 0x4
|
||||
|
5280
data/items.s
Normal file
5280
data/items.s
Normal file
File diff suppressed because it is too large
Load Diff
@ -436,7 +436,7 @@ gWhiteHerbItemDescription: ; 8581895
|
||||
gMachoBraceItemDescription: ; 85818C1
|
||||
.charmapstr "A hold item that{next}promotes growth,{next}but reduces SPEED.$"
|
||||
|
||||
gExp.ShareItemDescription: ; 85818F6
|
||||
gExpShareItemDescription: ; 85818F6
|
||||
.charmapstr "A hold item that{next}gets EXP. points{next}from battles.$"
|
||||
|
||||
gQuickClawItemDescription: ; 8581926
|
||||
|
Loading…
Reference in New Issue
Block a user