mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 22:37:45 +00:00
Indentation
This commit is contained in:
parent
6b306f9aee
commit
ec5a6c65d5
3 changed files with 80 additions and 77 deletions
|
@ -2,33 +2,36 @@
|
||||||
class CmnDefCutSceneReplayDef
|
class CmnDefCutSceneReplayDef
|
||||||
{
|
{
|
||||||
|
|
||||||
def CmnDefCutSceneReplayDef()
|
def CmnDefCutSceneReplayDef()
|
||||||
{
|
{
|
||||||
this.id = 721028;
|
this.id = 721028;
|
||||||
}
|
}
|
||||||
|
|
||||||
def Scene00000( player )
|
def Scene00000( player )
|
||||||
{
|
{
|
||||||
player.eventPlay( this.id, 0, 0x2000/*flags*/, 0/*unk*/, 1/*unk*/,
|
player.eventPlay( this.id, 0, 0x2000/*flags*/, 0/*unk*/, 1/*unk*/,
|
||||||
fun( player, eventId, param1, param2, param3 )
|
fun( player, eventId, param1, param2, param3 )
|
||||||
{
|
{
|
||||||
CmnDefCutSceneReplay.Scene00001( player, param2 );
|
if( param2 != 0 )
|
||||||
|
{
|
||||||
|
CmnDefCutSceneReplay.Scene00001( player, param2 );
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
def Scene00001( player, returnScene )
|
def Scene00001( player, returnScene )
|
||||||
{
|
{
|
||||||
player.eventPlay( this.id, 1, 0xFB2EC8F8/*flags*/, 0/*unk*/, 1, returnScene,
|
player.eventPlay( this.id, 1, 0xFB2EC8F8/*flags*/, 0/*unk*/, 1, returnScene,
|
||||||
fun( player, eventId, param1, param2, param3 )
|
fun( player, eventId, param1, param2, param3 )
|
||||||
{
|
{
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
def onTalk( eventId, player, actorId )
|
def onTalk( eventId, player, actorId )
|
||||||
{
|
{
|
||||||
this.Scene00000( player );
|
this.Scene00000( player );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2,60 +2,60 @@
|
||||||
class CmnDefInnBedDef
|
class CmnDefInnBedDef
|
||||||
{
|
{
|
||||||
|
|
||||||
def CmnDefInnBedDef()
|
def CmnDefInnBedDef()
|
||||||
{
|
{
|
||||||
this.id = 720916;
|
this.id = 720916;
|
||||||
}
|
}
|
||||||
|
|
||||||
def Scene00000( player ) //Menu
|
def Scene00000( player ) //Menu
|
||||||
{
|
{
|
||||||
player.eventPlay( this.id, 0, 0x2000/*flags*/, 0/*unk*/, 1/*unk*/,
|
player.eventPlay( this.id, 0, 0x2000/*flags*/, 0/*unk*/, 1/*unk*/,
|
||||||
fun( player, eventId, param1, param2, param3 )
|
fun( player, eventId, param1, param2, param3 )
|
||||||
|
{
|
||||||
|
if( param2 > 1 )
|
||||||
{
|
{
|
||||||
if( param2 > 1 )
|
CmnDefInnBed.Scene00001( player, param2 );
|
||||||
{
|
}
|
||||||
CmnDefInnBed.Scene00001( player, param2 );
|
|
||||||
}
|
});
|
||||||
|
}
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
def Scene00001( player, what ) //Lay down
|
def Scene00001( player, what ) //Lay down
|
||||||
{
|
{
|
||||||
player.eventPlay( this.id, 1, 0xF32E48F8/*flags*/, 0/*unk*/, 1/*unk*/, what,
|
player.eventPlay( this.id, 1, 0xF32E48F8/*flags*/, 0/*unk*/, 1/*unk*/, what,
|
||||||
fun( player, eventId, param1, param2, param3 )
|
fun( player, eventId, param1, param2, param3 )
|
||||||
{
|
{
|
||||||
CmnDefInnBed.Scene00002( player, param2 );
|
CmnDefInnBed.Scene00002( player, param2 );
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
def Scene00002( player, what ) //Log out
|
def Scene00002( player, what ) //Log out
|
||||||
{
|
{
|
||||||
player.eventPlay( this.id, 2, 0xF32E48F8/*flags*/, 0/*unk*/, 1/*unk*/, what,
|
player.eventPlay( this.id, 2, 0xF32E48F8/*flags*/, 0/*unk*/, 1/*unk*/, what,
|
||||||
fun( player, eventId, param1, param2, param3 )
|
fun( player, eventId, param1, param2, param3 )
|
||||||
{
|
{
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
def Scene00100( player ) //Wake up
|
def Scene00100( player ) //Wake up
|
||||||
{
|
{
|
||||||
player.eventPlay( this.id, 100, 0xF32E48F8/*flags*/, 0/*unk*/, 0/*unk*/,
|
player.eventPlay( this.id, 100, 0xF32E48F8/*flags*/, 0/*unk*/, 0/*unk*/,
|
||||||
fun( player, eventId, param1, param2, param3 )
|
fun( player, eventId, param1, param2, param3 )
|
||||||
{
|
{
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
def onTalk( eventId, player, actorId )
|
def onTalk( eventId, player, actorId )
|
||||||
{
|
{
|
||||||
this.Scene00000( player );
|
this.Scene00000( player );
|
||||||
}
|
}
|
||||||
|
|
||||||
def onEnterTerritory( eventId, player, param1, param2 )
|
def onEnterTerritory( eventId, player, param1, param2 )
|
||||||
{
|
{
|
||||||
this.Scene00100( player );
|
this.Scene00100( player );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2,24 +2,24 @@
|
||||||
class HouFurOrchestrionDef
|
class HouFurOrchestrionDef
|
||||||
{
|
{
|
||||||
|
|
||||||
def HouFurOrchestrionDef()
|
def HouFurOrchestrionDef()
|
||||||
{
|
{
|
||||||
this.id = 721226;
|
this.id = 721226;
|
||||||
}
|
}
|
||||||
|
|
||||||
def Scene00000( player )
|
def Scene00000( player )
|
||||||
{
|
{
|
||||||
player.eventPlay( this.id, 0, 0x2000/*flags*/, 0/*unk*/, 1/*unk*/,
|
player.eventPlay( this.id, 0, 0x2000/*flags*/, 0/*unk*/, 1/*unk*/,
|
||||||
fun( player, eventId, param1, param2, param3 )
|
fun( player, eventId, param1, param2, param3 )
|
||||||
{
|
{
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
def onTalk( eventId, player, actorId )
|
def onTalk( eventId, player, actorId )
|
||||||
{
|
{
|
||||||
this.Scene00000( player );
|
this.Scene00000( player );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue