C Interface for PkmnScript.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-04-29 20:17:18 +02:00
parent 9206ff642b
commit 846580550a
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#include "../../src/Battling/PkmnScript.hpp"
#include "../Core.hpp"
using namespace PkmnLib::Battling;
export uint8_t PkmnLib_PkmnScript_ModifyCriticalStage(PkmnScript* script,
CreatureLib::Battling::ExecutingAttack* attack,
CreatureLib::Battling::Creature* target, uint8_t hit,
uint8_t* critStage) {
Try(script->ModifyCriticalStage(attack, target, hit, critStage);)
}