Trainer data structure and field move functions

Trainer data in map scripts is now a macro-defined structure.

Field move functions in main.asm are now nearly completely annotated, with local references.

Trailing white space deleted.
This commit is contained in:
PikalaxALT
2015-07-18 23:45:39 -04:00
parent e674869018
commit 60cd04b023
116 changed files with 2148 additions and 8705 deletions

View File

@@ -1774,9 +1774,9 @@ Function2a3c:: ; 2a3c
GetBlockLocation:: ; 2a66
ld a, [MapWidth]
add $6
add 6
ld c, a
ld b, $0
ld b, 0
ld hl, wc801
add hl, bc
ld a, e
@@ -1797,7 +1797,7 @@ GetBlockLocation:: ; 2a66
.nope
ld c, d
srl c
ld b, $0
ld b, 0
add hl, bc
ret
; 2a8b