Merge branch 'master' into document-gyms2
This commit is contained in:
@@ -607,7 +607,7 @@ bool8 ScrCmd_incrementgamestat(struct ScriptContext *ctx)
|
||||
|
||||
bool8 ScrCmd_animateflash(struct ScriptContext *ctx)
|
||||
{
|
||||
sub_80B009C(ScriptReadByte(ctx));
|
||||
AnimateFlash(ScriptReadByte(ctx));
|
||||
ScriptContext1_Stop();
|
||||
return TRUE;
|
||||
}
|
||||
@@ -1930,9 +1930,9 @@ bool8 ScrCmd_setberrytree(struct ScriptContext *ctx)
|
||||
|
||||
bool8 ScrCmd_getpricereduction(struct ScriptContext *ctx)
|
||||
{
|
||||
u16 value = VarGet(ScriptReadHalfword(ctx));
|
||||
u16 newsKind = VarGet(ScriptReadHalfword(ctx));
|
||||
|
||||
gSpecialVar_Result = GetPriceReduction(value);
|
||||
gSpecialVar_Result = GetPriceReduction(newsKind);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -2218,6 +2218,8 @@ bool8 ScrCmd_checkmonobedience(struct ScriptContext *ctx)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// TODO: Should be renamed. Name implies general usage, but its specifically for Wonder Card
|
||||
// See GetSavedRamScriptIfValid, which is NULL if ValidateReceivedWonderCard returns FALSE
|
||||
bool8 ScrCmd_gotoram(struct ScriptContext *ctx)
|
||||
{
|
||||
const u8* v1 = GetSavedRamScriptIfValid();
|
||||
|
||||
Reference in New Issue
Block a user