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
ret
BrokenPlacePPUnits: ; unreferenced
; Probably would have these parameters:
; hl = starting coordinate
; de = SCREEN_WIDTH or SCREEN_WIDTH * 2
; c = the number of moves (1-4)
.loop
ld [hl], $32 ; typo for P?
; "AP" is german for "PP"
; The german translation uses this instead of the loop above
.load_ap_loop ; unreferenced
ld [hl], $32 ; A
inc hl
ld [hl], $3e ; P
dec hl
add hl, de
dec c
jr nz, .loop
jr nz, .load_ap_loop
ret
Unused_PlaceEnemyHPLevel: