From f480cb9e247a63e95aa353daef3ecd44fd526659 Mon Sep 17 00:00:00 2001 From: Brianum Date: Tue, 29 Apr 2025 08:18:10 +0200 Subject: [PATCH] Rename and document ``BrokenPlacePPUnits`` (#1179) --- engine/pokemon/mon_stats.asm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/engine/pokemon/mon_stats.asm b/engine/pokemon/mon_stats.asm index 078c21fdb..479917509 100644 --- a/engine/pokemon/mon_stats.asm +++ b/engine/pokemon/mon_stats.asm @@ -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: