Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void func_80AE7590(EnRl *this, GlobalContext *globalCtx) {
- CsCmdActorAction* csCmdActorAction;
- Player* player;
- if (gSaveContext.sceneSetupIndex == 4) {
- if (globalCtx->sceneNum == SCENE_KENJYANOMA) {
- if (globalCtx->csCtx.state != 0) {
- csCmdActorAction = globalCtx->csCtx.npcActions[6];
- if (csCmdActorAction != NULL) {
- if (csCmdActorAction->action == 2) {
- player = PLAYER;
- if (this->unk_1A8 == 0) {
- Actor_Spawn(&globalCtx->actorCtx, globalCtx, ACTOR_DEMO_EFFECT, player->actor.posRot.pos.x, player->actor.posRot.pos.y + 80.0f, player->actor.posRot.pos.z, 0, 0, 0, 0xE);
- Item_Give(globalCtx, ITEM_MEDALLION_LIGHT);
- this->unk_1A8 = 1;
- }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement