Move code out of gfx/ (close #474)

This commit is contained in:
Remy Oukaour
2018-01-15 11:06:17 -05:00
parent 9bb584798e
commit 9180362211
8 changed files with 167 additions and 166 deletions

View File

@@ -24,7 +24,7 @@ dba_pic: MACRO ; dbw bank, address
ENDM
```
The offset is translated into a correct bank by `FixPicBank` in [gfx/load_pics.asm](/gfx/load_pics.asm):
The offset is translated into a correct bank by `FixPicBank` in [engine/load_pics.asm](/engine/load_pics.asm):
```asm
FixPicBank: ; 511c5
@@ -106,7 +106,7 @@ ROMX $49
"Pics 2"
```
Two routines in [gfx/load_pics.asm](/gfx/load_pics.asm) make this assumption; `GetFrontpicPointer`:
Two routines in [engine/load_pics.asm](/engine/load_pics.asm) make this assumption; `GetFrontpicPointer`:
```asm
ld a, [CurPartySpecies]