Check if its player or ai still have monster remaining in the battle file (using if statement)
in the if statement, subtract player's hp by how many AI monster were left.
Task test Script:
testing if statement by minus 3 hp from player, and if player's hp is deducted, that mean if statement is run
now count how many ai monster were left in the battle, and check if player's hp is deducted by that amount by going to game scene and check the hp display
Task test Script: testing if statement by minus 3 hp from player, and if player's hp is deducted, that mean if statement is run now count how many ai monster were left in the battle, and check if player's hp is deducted by that amount by going to game scene and check the hp display