mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-08 00:55:28 +13:00
First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
This commit is contained in:
commit
2f8a41f833
4618 changed files with 480386 additions and 0 deletions
15
engine/menus/empty_sram.asm
Normal file
15
engine/menus/empty_sram.asm
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
EmptyAllSRAMBanks:
|
||||
for x, NUM_SRAM_BANKS
|
||||
ld a, x
|
||||
call .EmptyBank
|
||||
endr
|
||||
ret
|
||||
|
||||
.EmptyBank:
|
||||
call OpenSRAM
|
||||
ld hl, SRAM_Begin
|
||||
ld bc, SRAM_End - SRAM_Begin
|
||||
xor a
|
||||
call ByteFill
|
||||
call CloseSRAM
|
||||
ret
|
||||
Loading…
Add table
Add a link
Reference in a new issue