mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Remove the nested UNION within battle WRAM
This commit is contained in:
parent
4fe0d93d4c
commit
88465686cf
@ -14,8 +14,8 @@ _UnownPuzzle:
|
|||||||
xor a
|
xor a
|
||||||
ldh [hBGMapMode], a
|
ldh [hBGMapMode], a
|
||||||
call DisableLCD
|
call DisableLCD
|
||||||
ld hl, wc608 ; includes wPuzzlePieces
|
ld hl, wUnownPuzzle ; includes wPuzzlePieces
|
||||||
ld bc, wc7e8 - wc608
|
ld bc, wUnownPuzzleEnd - wUnownPuzzle
|
||||||
xor a
|
xor a
|
||||||
call ByteFill
|
call ByteFill
|
||||||
ld hl, UnownPuzzleCursorGFX
|
ld hl, UnownPuzzleCursorGFX
|
||||||
|
@ -319,7 +319,7 @@ WRAM0
|
|||||||
align 8
|
align 8
|
||||||
"Sprites"
|
"Sprites"
|
||||||
"Tilemap"
|
"Tilemap"
|
||||||
"Battle"
|
"Miscellaneous"
|
||||||
"Overworld Map"
|
"Overworld Map"
|
||||||
"Video"
|
"Video"
|
||||||
WRAMX 1
|
WRAMX 1
|
||||||
|
50
wram.asm
50
wram.asm
@ -354,7 +354,7 @@ wTileMap:: ; c4a0
|
|||||||
wTileMapEnd::
|
wTileMapEnd::
|
||||||
|
|
||||||
|
|
||||||
SECTION "Battle", WRAM0
|
SECTION "Miscellaneous", WRAM0
|
||||||
|
|
||||||
UNION ; c608
|
UNION ; c608
|
||||||
; unidentified uses
|
; unidentified uses
|
||||||
@ -578,9 +578,6 @@ wPlayerAtkLevel:: db ; c6cc
|
|||||||
wPlayerDefLevel:: db ; c6cd
|
wPlayerDefLevel:: db ; c6cd
|
||||||
wPlayerSpdLevel:: db ; c6ce
|
wPlayerSpdLevel:: db ; c6ce
|
||||||
wPlayerSAtkLevel:: db ; c6cf
|
wPlayerSAtkLevel:: db ; c6cf
|
||||||
|
|
||||||
UNION ; c6d0
|
|
||||||
; finish battle RAM
|
|
||||||
wPlayerSDefLevel:: db ; c6d0
|
wPlayerSDefLevel:: db ; c6d0
|
||||||
wPlayerAccLevel:: db ; c6d1
|
wPlayerAccLevel:: db ; c6d1
|
||||||
wPlayerEvaLevel:: db ; c6d2
|
wPlayerEvaLevel:: db ; c6d2
|
||||||
@ -739,12 +736,11 @@ wSomeoneIsRampaging:: db ; c73b
|
|||||||
wPlayerJustGotFrozen:: db ; c73c
|
wPlayerJustGotFrozen:: db ; c73c
|
||||||
wEnemyJustGotFrozen:: db ; c73d
|
wEnemyJustGotFrozen:: db ; c73d
|
||||||
wBattleEnd::
|
wBattleEnd::
|
||||||
; Battle RAM
|
|
||||||
; c741
|
|
||||||
|
|
||||||
NEXTU ; c6d0
|
NEXTU ; c608
|
||||||
; trade
|
; trade
|
||||||
wTrademons::
|
ds 200
|
||||||
|
wTrademons:: ; c6d0
|
||||||
wPlayerTrademon:: trademon wPlayerTrademon
|
wPlayerTrademon:: trademon wPlayerTrademon
|
||||||
wOTTrademon:: trademon wOTTrademon
|
wOTTrademon:: trademon wOTTrademon
|
||||||
wTrademonsEnd::
|
wTrademonsEnd::
|
||||||
@ -754,8 +750,9 @@ wLinkPlayer2Name:: ds NAME_LENGTH
|
|||||||
wLinkTradeSendmonSpecies:: db
|
wLinkTradeSendmonSpecies:: db
|
||||||
wLinkTradeGetmonSpecies:: db
|
wLinkTradeGetmonSpecies:: db
|
||||||
|
|
||||||
NEXTU ; c6d0
|
NEXTU ; c608
|
||||||
; naming screen
|
; naming screen
|
||||||
|
ds 200
|
||||||
wNamingScreenDestinationPointer:: dw ; c6d0
|
wNamingScreenDestinationPointer:: dw ; c6d0
|
||||||
wNamingScreenCurNameLength:: db ; c6d2
|
wNamingScreenCurNameLength:: db ; c6d2
|
||||||
wNamingScreenMaxNameLength:: db ; c6d3
|
wNamingScreenMaxNameLength:: db ; c6d3
|
||||||
@ -764,8 +761,9 @@ wNamingScreenCursorObjectPointer:: dw ; c6d5
|
|||||||
wNamingScreenLastCharacter:: db ; c6d7
|
wNamingScreenLastCharacter:: db ; c6d7
|
||||||
wNamingScreenStringEntryCoord:: dw ; c6d8
|
wNamingScreenStringEntryCoord:: dw ; c6d8
|
||||||
|
|
||||||
NEXTU ; c6d0
|
NEXTU ; c608
|
||||||
; pokegear
|
; pokegear
|
||||||
|
ds 200
|
||||||
wPokegearPhoneLoadNameBuffer:: db ; c6d0
|
wPokegearPhoneLoadNameBuffer:: db ; c6d0
|
||||||
wPokegearPhoneCursorPosition:: db ; c6d1
|
wPokegearPhoneCursorPosition:: db ; c6d1
|
||||||
wPokegearPhoneScrollPosition:: db ; c6d2
|
wPokegearPhoneScrollPosition:: db ; c6d2
|
||||||
@ -778,9 +776,10 @@ wPokegearRadioChannelBank:: db ; c6d9
|
|||||||
wPokegearRadioChannelAddr:: dw ; c6da
|
wPokegearRadioChannelAddr:: dw ; c6da
|
||||||
wPokegearRadioMusicPlaying:: db ; c6dc
|
wPokegearRadioMusicPlaying:: db ; c6dc
|
||||||
|
|
||||||
NEXTU ; c6d0
|
NEXTU ; c608
|
||||||
; slot machine
|
; slot machine
|
||||||
wSlots::
|
ds 200
|
||||||
|
wSlots:: ; c6d0
|
||||||
wReel1:: slot_reel wReel1
|
wReel1:: slot_reel wReel1
|
||||||
wReel2:: slot_reel wReel2
|
wReel2:: slot_reel wReel2
|
||||||
wReel3:: slot_reel wReel3
|
wReel3:: slot_reel wReel3
|
||||||
@ -803,9 +802,10 @@ wSlotsDataEnd::
|
|||||||
ds 28
|
ds 28
|
||||||
wSlotsEnd::
|
wSlotsEnd::
|
||||||
|
|
||||||
NEXTU ; c6d0
|
NEXTU ; c608
|
||||||
; card flip
|
; card flip
|
||||||
wCardFlip::
|
ds 200
|
||||||
|
wCardFlip:: ; c6d0
|
||||||
wDeck:: ds 24
|
wDeck:: ds 24
|
||||||
wDeckEnd::
|
wDeckEnd::
|
||||||
; c6e8
|
; c6e8
|
||||||
@ -815,9 +815,10 @@ wDiscardPile:: ds 24
|
|||||||
wDiscardPileEnd::
|
wDiscardPileEnd::
|
||||||
wCardFlipEnd::
|
wCardFlipEnd::
|
||||||
|
|
||||||
NEXTU ; c6d0
|
NEXTU ; c608
|
||||||
; dummy game
|
; dummy game
|
||||||
wDummyGame::
|
ds 200
|
||||||
|
wDummyGame:: ; c6d0
|
||||||
wDummyGameCards:: ds 9 * 5
|
wDummyGameCards:: ds 9 * 5
|
||||||
wDummyGameCardsEnd::
|
wDummyGameCardsEnd::
|
||||||
wDummyGameLastCardPicked:: db ; c6fd
|
wDummyGameLastCardPicked:: db ; c6fd
|
||||||
@ -831,15 +832,18 @@ wDummyGameCounter:: db ; c708
|
|||||||
wDummyGameNumCardsMatched:: db ; c709
|
wDummyGameNumCardsMatched:: db ; c709
|
||||||
wDummyGameEnd::
|
wDummyGameEnd::
|
||||||
|
|
||||||
NEXTU ; c6d0
|
NEXTU ; c608
|
||||||
; unown puzzle
|
; unown puzzle
|
||||||
wUnownPuzzle::
|
wUnownPuzzle:: ; c608
|
||||||
|
ds 200
|
||||||
wPuzzlePieces:: ds 6 * 6
|
wPuzzlePieces:: ds 6 * 6
|
||||||
wUnownPuzzleEnd::
|
ds 244
|
||||||
|
wUnownPuzzleEnd:: ; c7e8
|
||||||
|
|
||||||
NEXTU ; c6d0
|
NEXTU ; c608
|
||||||
; pokedex
|
; pokedex
|
||||||
wPokedexDataStart::
|
ds 200
|
||||||
|
wPokedexDataStart:: ; c6d0
|
||||||
wPokedexOrder:: ds $100 ; >= NUM_POKEMON
|
wPokedexOrder:: ds $100 ; >= NUM_POKEMON
|
||||||
wPokedexOrderEnd::
|
wPokedexOrderEnd::
|
||||||
wDexListingScrollOffset:: db ; offset of the first displayed entry from the start
|
wDexListingScrollOffset:: db ; offset of the first displayed entry from the start
|
||||||
@ -871,8 +875,9 @@ wPokedexDataEnd:: ds 1
|
|||||||
endc
|
endc
|
||||||
ds 2
|
ds 2
|
||||||
|
|
||||||
NEXTU ; c6d0
|
NEXTU ; c608
|
||||||
; mobile data
|
; mobile data
|
||||||
|
ds 200
|
||||||
wc6d0:: ds 56
|
wc6d0:: ds 56
|
||||||
wc708:: db
|
wc708:: db
|
||||||
wc709:: db
|
wc709:: db
|
||||||
@ -896,7 +901,6 @@ wc7d2:: ds 1
|
|||||||
wc7d3:: ds 1
|
wc7d3:: ds 1
|
||||||
wc7d4:: ds 1
|
wc7d4:: ds 1
|
||||||
ENDU ; c7e8
|
ENDU ; c7e8
|
||||||
ENDU ; c7e8
|
|
||||||
|
|
||||||
wc7e8:: ds 24
|
wc7e8:: ds 24
|
||||||
wc7e8_End::
|
wc7e8_End::
|
||||||
|
Loading…
Reference in New Issue
Block a user