SemiMetalAlchemist icon

Quest

SemiMetalAlchemist | PRO | 06/29/18 02:39:02 AM UTC | 0 ⭐ | 10105 👁️ | Never ⏰ | []
Game Maker |

0 B

|

None

|

0 👍

/

0 👎

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++;
    
        }
    }   
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎