Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var grid = ds_quests;
- var i = 0; repeat(ds_quests_number){
- switch(i){
- #region PAINT THINGS
- case quest.paint_things:
- switch(grid[# 1, i]){
- case -1: break;
- case 0:
- with(obj_player){
- var inst = instance_place(x,y,obj_npc_mazie);
- if(inst != noone){
- myRedTree = inst;
- with(inst){
- image_blend = c_red;
- grid[# 1, i] += 1;
- }
- }
- }
- break;
- }
- case 1:
- with(obj_player){
- var inst = instance_place(x,y,obj_npc_olina);
- if(inst != noone and inst != myRedTree){
- with(inst){
- image_blend = c_blue;
- grid[# 1, i] += 1;
- }
- }
- }
- break;
- }
- case 2:
- with(obj_player){
- var inst = instance_place(x,y,par_NPC);
- if(inst != noone and inst != myRedTree){
- with(inst){
- image_blend = c_red;
- grid[# 1, i] += 1;
- }
- }
- }
- break;
- }
- #endregion
- #region Mushrooms
- case quest.picking_mushrooms:
- break;
- #endregion
- #region Escort
- case quest.escort_green_knight:
- break;
- #endregion
- i++;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement