const r={dialogType:"story",checkWinCondition:(n,o,g={},i={})=>{console.log("WIN CONDITION DEBUG - Level 8:",{storedBlocklyMoves:i.blocklyMoves||[],playerPosition:i.playerPosition,checkpointsCompleted:o});const e=g.blocklyMoves;if(!o||!e||e.length===0)return console.log("❌ Win condition failed: checkpoints not completed or no moves found"),!1;const s=e.some(a=>a.type==="dialogue"),l=e.some(a=>a.type==="dialogue"&&a.value==="Sama sama");return console.log("usedDialogue:",s),console.log("usedMessage:",l),s&&l?(console.log("✅ Win condition met: Dialogue + 'Boleh saja!' message used"),!0):(console.log("❌ Win condition failed: Dialogue/Message missing"),!1)},dialogues:[{speaker:"Rob",message:"Sama-sama.",characterDirection:"left",dialogType:"story",image:"images/ROB_Dialogue_Head.webp"},{speaker:"Adam",message:"Hari sudah semakin suntuk. Saya akan kemas dan kita boleh pulang ke rumah. Mia duduk di sini baik-baik ya.",characterDirection:"right",dialogType:"story",image:"images/Adam_Dialogue_Head.webp"},{speaker:"Mia",message:"Meow... Meow...",characterDirection:"right",dialogType:"story",image:"images/Mia_Dialogue_Head.webp"},{speaker:"Adam",message:"Sudah pandai menjawab pula dia ni.",characterDirection:"right",dialogType:"story",image:"images/Adam_Dialogue_Head.webp"},{speaker:"Mia",message:"Meow... Meow...",characterDirection:"right",dialogType:"story",image:"images/Mia_Dialogue_Head.webp"}]};export{r as winConfig};
