Rename and document `BrokenPlacePPUnits
` (#1179)
This commit is contained in:
@@ -323,19 +323,16 @@ ListMovePP:
|
|||||||
jr nz, .load_loop
|
jr nz, .load_loop
|
||||||
ret
|
ret
|
||||||
|
|
||||||
BrokenPlacePPUnits: ; unreferenced
|
; "AP" is german for "PP"
|
||||||
; Probably would have these parameters:
|
; The german translation uses this instead of the loop above
|
||||||
; hl = starting coordinate
|
.load_ap_loop ; unreferenced
|
||||||
; de = SCREEN_WIDTH or SCREEN_WIDTH * 2
|
ld [hl], $32 ; A
|
||||||
; c = the number of moves (1-4)
|
|
||||||
.loop
|
|
||||||
ld [hl], $32 ; typo for P?
|
|
||||||
inc hl
|
inc hl
|
||||||
ld [hl], $3e ; P
|
ld [hl], $3e ; P
|
||||||
dec hl
|
dec hl
|
||||||
add hl, de
|
add hl, de
|
||||||
dec c
|
dec c
|
||||||
jr nz, .loop
|
jr nz, .load_ap_loop
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Unused_PlaceEnemyHPLevel:
|
Unused_PlaceEnemyHPLevel:
|
||||||
|
Reference in New Issue
Block a user