1
This engine is gently modified Shaman King's engine factically - the walking and battle functions was unsplitted, the battles became real-time, and interaction with joystick buttons has returned to main function. But there is a serious problem - during the hit getting enemy loses 3 HP which is prescribed in code not once but after every screen refresh for the all duration of hit getting animation first frame (5 system screen frames); i. e. enemy loses 15 HP after each hit instead of 3 planned.

SDK: by Sebastian Mihai.
Uses a DATlib v0.3.

Roms+source+XML file for MAME.

The gameplay video is here.
avatar
2
3 damage * 5 timing frame = 15
3
HPMAN (./2):
3 damage * 5 timing frame = 15

I just said about it, and I want to know, how to make the program to plus the damage after hit only once - not after every timing frame.
avatar
4
Games susually put an ID on hit boxes to make sure they only process once.
5
HPMAN (./4):
Games susually put an ID on hit boxes to make sure they only process once.


How can I realise it?
avatar