03-28-2015, 05:44 PM
Script to count enemy kills in XAS-based game. Works with RMXP.
If you use custom save system, look at the bottom of the script, to prevent old save corruption.
Usage:
$game_system.get_enemy_kills(id) => get kills of enemy id
For example when I kill 3 enemies with ID 6, and 2 enemies with ID 7:
$game_system.get_enemy_kills(6) => 3
$game_system.get_enemy_kills(7) => 2
Get latest version
If you use custom save system, look at the bottom of the script, to prevent old save corruption.
Usage:
$game_system.get_enemy_kills(id) => get kills of enemy id
For example when I kill 3 enemies with ID 6, and 2 enemies with ID 7:
$game_system.get_enemy_kills(6) => 3
$game_system.get_enemy_kills(7) => 2
Get latest version
Skills: Android, Ruby, PHP, Linux