Rename and document `BrokenPlacePPUnits` (#1179)

This commit is contained in:
Brianum
2025-04-29 08:18:10 +02:00
committed by GitHub
parent 098944485b
commit f480cb9e24

View File

@@ -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: