mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 00:31:16 +00:00
73 percent VTable0xcc
This commit is contained in:
parent
4ea0f6e355
commit
6cc9a5427c
@ -70,14 +70,15 @@ void SkateBoard::VTable0xe4()
|
||||
// FUNCTION: LEGO1 0x100100e0
|
||||
MxU32 SkateBoard::VTable0xcc()
|
||||
{
|
||||
if ((FUN_1003ef60()) && ((Act1State*)GameState()->GetState("Act1State"))->GetUnknown18() != 3) {
|
||||
Act1State* state = (Act1State*)GameState()->GetState("Act1State");
|
||||
if (FUN_1003ef60() && state->GetUnknown18() != 3) {
|
||||
return 1;
|
||||
}
|
||||
FUN_10015820(TRUE, 0);
|
||||
|
||||
((Isle*)GetWorld())->SetDestLocation(LegoGameState::Area::e_skateboard);
|
||||
TransitionManager()->StartTransition(MxTransitionManager::TransitionType::e_mosaic, 0x32, FALSE, TRUE);
|
||||
if (CurrentActor()->GetActorId() != GameState()->GetActorId()) {
|
||||
if (GameState()->GetActorId() != CurrentActor()->GetActorId()) {
|
||||
if (!CurrentActor()->IsA("SkateBoard")) {
|
||||
CurrentActor()->VTable0xe4();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user