Prev: 7158 Up: Map Next: 7192
716B: Continue fighter operation
Updates fighter position in viewport array and renders the sprite with XOR blending.
operate_fighter_continue 716B LD HL,($5F60) Load current_slot_ptr, navigate to current slot, update [X, Y, D] values.
716E DEC HL
716F LD D,(HL)
7170 DEC HL
7171 LD (HL),B
7172 DEC HL
7173 LD (HL),C
7174 LD ($8B0C),BC Store position to object_coordinates, get sprite pointer.
7178 CALL ld_enemy_sprites
717B LD BC,$0018 Set frame size=$18, call blending_mode_xor_xor to set XOR blending mode.
717E CALL blending_mode_xor_xor
7181 LD A,$03 Set collision mode to COLLISION_MODE_FIGHTER ($03) at state_collision_mode.
7183 LD ($5EF5),A
7186 LD DE,$0800 Render sprite: height=8px, attributes=$00. Restore blending.
7189 CALL render_sprite
718C CALL blending_mode_or_or
718F JP operate_viewport_slots Return to main viewport loop.
Prev: 7158 Up: Map Next: 7192