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:
@@ -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
|
||||
|
Reference in New Issue
Block a user