ScriptName ND04QuestSCRIPT
short PlayerActivatedShrine
short PlayerFell
short PlayerFellCount
short BattleBegin
short MinionDeathCount
float fQuestDelayTime
BEGIN GameMode
if GetStage ND04 == 100
if player.getInCell LeyawiinChapelofZenithar == 1
setstage ND04 110
endif
endif
if ( GetStage ND04 == 110 )
if ( MinionDeathCount >= 4 )
setStage ND04 120
endif
endif
if ( GetStage ND04 == 50 ) && ( PlayerActivatedShrine== 0 )
setstage ND04 51
set PlayerActivatedShrine to 1
endif
if ( GetStage ND04 == 90 ) && ( PlayerFell == 0 ) && ( ND00.BootsEquipped == 0 )
setstage ND04 91
set PlayerFell to 1
endif
END |