diff --git a/engine/pc/bills_pc_ui.asm b/engine/pc/bills_pc_ui.asm index ce9e01a4b..695540c06 100644 --- a/engine/pc/bills_pc_ui.asm +++ b/engine/pc/bills_pc_ui.asm @@ -2654,32 +2654,6 @@ BillsPC_CanReleaseMon: ld a, 2 ret z - ; Ensure that the mon doesn't know any HMs. - push de - push hl - push bc - ld hl, wBufferMonMoves - ld b, NUM_MOVES -.loop - ld a, [hli] - and a - jr z, .hm_check_done - push hl - push bc - call IsHMMove - pop bc - pop hl - ld a, 3 - jr c, .hm_check_done - dec b - jr nz, .loop - xor a -.hm_check_done - pop bc - pop hl - ; fallthrough -.pop_de_done - pop de .done and a ret