The TourneySetup script now runs and finishes cleanly. However, this is not
as exciting as it first sounds, because even before this patch the script would run in its entirety - it just didn't know when to stop. I guess the exciting things don't happen until the next script is triggered (TorneyScene?). I think it will be easier to start fixing the numerous deficiencies (stack handling, SData, missing script functions, etc.) when we have something more concrete to work with. svn-id: r15215
This commit is contained in:
parent
2fdfd35834
commit
d49f0b90a0
2 changed files with 17 additions and 5 deletions
|
@ -251,6 +251,8 @@ int Script::SF_faceTowards(R_SCRIPTFUNC_PARAMS) {
|
|||
|
||||
// Script function #15
|
||||
int Script::SF_setFollower(R_SCRIPTFUNC_PARAMS) {
|
||||
thread->stack->pop();
|
||||
thread->stack->pop();
|
||||
return R_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -363,6 +365,8 @@ int Script::SF_moveTo(R_SCRIPTFUNC_PARAMS) {
|
|||
|
||||
// Script function #34
|
||||
int Script::SF_swapActors(R_SCRIPTFUNC_PARAMS) {
|
||||
thread->stack->pop();
|
||||
thread->stack->pop();
|
||||
return R_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue