mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Running Shoes and 30 Item Bag
need to fix layout link to futureproof it better but for now it works. Mart changes save space in wRAM.
This commit is contained in:
parent
d8cb5a331f
commit
9d13923e8e
19 changed files with 86 additions and 59 deletions
21
ram/wram.asm
21
ram/wram.asm
|
|
@ -1741,9 +1741,7 @@ wPokedexOwnedEnd::
|
|||
wPokedexSeen:: flag_array NUM_POKEMON
|
||||
wPokedexSeenEnd::
|
||||
|
||||
wNumBagItems:: db
|
||||
; item, quantity
|
||||
wBagItems:: ds BAG_ITEM_CAPACITY * 2 + 1
|
||||
ds 28 ;;;;;;; moved bag code lower down to make bigger bag space
|
||||
|
||||
wPlayerMoney:: ds 3 ; BCD
|
||||
|
||||
|
|
@ -1834,7 +1832,20 @@ wWarpEntries:: ds 32 * 4 ; Y, X, warp ID, map ID
|
|||
; if $ff, the player's coordinates are not updated when entering the map
|
||||
wDestinationWarpID:: db
|
||||
|
||||
ds 128
|
||||
;;;;;;;;;; note: CHANGED: this empty space is now used for bigger bag space - TY Vortiene
|
||||
UNION
|
||||
; original size of this empty space
|
||||
ds 128
|
||||
|
||||
NEXTU
|
||||
wNumBagItems:: db
|
||||
; item, quantity
|
||||
wBagItems:: ds BAG_ITEM_CAPACITY * 2 + 1 ; now holds 30 items
|
||||
;;;;
|
||||
; 66 bytes left to use
|
||||
|
||||
ENDU
|
||||
;;;;;;;;;;
|
||||
|
||||
; number of signs in the current map (up to 16)
|
||||
wNumSigns:: db
|
||||
|
|
@ -2331,5 +2342,5 @@ wBoxDataEnd::
|
|||
SECTION "Stack", WRAM0
|
||||
|
||||
; the stack grows downward
|
||||
ds $FE - 1
|
||||
ds $FD - 1
|
||||
wStack:: db
|
||||
Loading…
Add table
Add a link
Reference in a new issue