RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
"Simple" Quest log screen

0 Members and 2 Guests are viewing this topic.

***
Rep:
Level 89
I am yourself!
This is my second script. Take a look!

Code: [Select]
#=============================================================================
# Quest Log Screen
#-----------------------------------------------------------------------------
# ** Version 2.0
# ** Original by Sthrattoff
#=============================================================================
# Description :
# This script enables the ability to show current active quest.

# Features :
# SIMPLIFIED! Now the script is just about 300 lines length.
# Unlimited amount of quest can be added.
# Still use variable to mark quest's progress.

# Limitation :
# Only can store up to 12 progress per quest.

# History :
# Version 1.0 : Initial release.
# Version 1.2 : Add "Types" features.
# Version 2.0 : Changes in programming style and infinite quest support.

# Instruction
# Just put this script above main.

# Configuration :
# To add quest, use Call Script command and type this :
# $names.push "quest name" for the quest's name
# $types.push "quest type" for the quest's type (main or sidequest or something)
# $descriptionm.push "quest description line m" for the quest's description. m is the line
# number (1-5)
# $objectivesm.push "quest objectives m" for the quest's objectives. m is the objective
# number (1-12)
# $var_ID.push value for the quest's game variable marker ID
# To end a quest, set the marker variable's value to 12

# Credits
# See the header + Blizzard and Enterbrain
#=============================================================================

class Scene_Quest
 
  $names = []
  $types = []
  $description0 = []
  $description1 = []
  $description2 = []
  $description3 = []
  $description4 = []
  $objectives0 = []
  $objectives1 = []
  $objectives2 = []
  $objectives3 = []
  $objectives4 = []
  $objectives5 = []
  $objectives6 = []
  $objectives7 = []
  $objectives8 = []
  $objectives9 = []
  $objectives10 = []
  $objectives11 = []
  $var_ID = []
 
  def initialize
    $names.compact
  end
 
  def main
    @quest_list = Window_Command.new(160, $names)
    @quest_window = Window_Quest.new
    @quest_window.x = 160
    Graphics.transition
    loop do
      Graphics.update
      Input.update
      update
      break if $scene != self
    end
    Graphics.freeze
    @quest_list.dispose
    @quest_window.dispose
  end
 
  def update
    @quest_list.update
    @quest_window.update
    if @quest_list.active
      update_quest
      return
    end
  end
 
  def update_quest
    if Input.trigger?(Input::B)
      $game_system.se_play($data_system.cancel_se)
      $scene = Scene_Menu.new(2)
      return
    end
    quest = @quest_list.index
    preview(quest)
  end
 
  def preview(x)
    $preview_name = $names[x]
    $preview_type = $types[x]
    $preview_description0 = $description0[x]
    $preview_description1 = $description1[x]
    $preview_description2 = $description2[x]
    $preview_description3 = $description3[x]
    $preview_description4 = $description4[x]
    $preview_objectives0 = $objectives0[x]
    $preview_objectives1 = $objectives1[x]
    $preview_objectives2 = $objectives2[x]
    $preview_objectives3 = $objectives3[x]
    $preview_objectives4 = $objectives4[x]
    $preview_objectives5 = $objectives5[x]
    $preview_objectives6 = $objectives6[x]
    $preview_objectives7 = $objectives7[x]
    $preview_objectives8 = $objectives8[x]
    $preview_objectives9 = $objectives9[x]
    $preview_objectives10 = $objectives10[x]
    $preview_objectives11 = $objectives11[x]
    $preview_variable = $var_ID[x]
    return
  end
 
end

class Window_Quest < Window_Base
 
  def initialize
    super(0, 0, 480, 480)
    self.contents = Bitmap.new(width - 32, height - 32)
    refresh
  end
 
  def refresh
    self.contents.clear
    self.contents.font.color = system_color
    self.contents.draw_text(0, 32, self.width - 32, 32, $preview_type.to_s, 1)
    self.contents.draw_text(0, 224, self.width - 32, 32, "Objectives", 1) if $types.size != 0
    self.contents.font.color = normal_color
    self.contents.draw_text(0, 0, self.width - 32, 32, $preview_name.to_s, 1)
    self.contents.draw_text(0, 64, self.width - 32, 32 * 5, $preview_description0.to_s)
    self.contents.draw_text(0, 96, self.width - 32, 32 * 5, $preview_description1.to_s)
    self.contents.draw_text(0, 128, self.width - 32, 32 * 5, $preview_description2.to_s)
    self.contents.draw_text(0, 160, self.width - 32, 32 * 5, $preview_description3.to_s)
    self.contents.draw_text(0, 192, self.width - 32, 32 * 5, $preview_description4.to_s)
    case $game_variables[$preview_variable.to_i]
    when 0
      self.contents.font.color = normal_color
      self.contents.draw_text(0, 256, self.width / 2, 32, "•" + $preview_objectives0.to_s) if $types.size != 0
    when 1
      self.contents.font.color = normal_color
      self.contents.draw_text(0, 288, self.width / 2, 32, "•" + $preview_objectives1.to_s)
      self.contents.font.color = disabled_color
      self.contents.draw_text(0, 256, self.width / 2, 32, "•" + $preview_objectives0.to_s)
    when 2
      self.contents.font.color = normal_color
      self.contents.draw_text(0, 320, self.width / 2, 32, "•" + $preview_objectives2.to_s)
      self.contents.font.color = disabled_color
      self.contents.draw_text(0, 288, self.width / 2, 32, "•" + $preview_objectives1.to_s)
      self.contents.draw_text(0, 256, self.width / 2, 32, "•" + $preview_objectives0.to_s)
    when 3
      self.contents.font.color = normal_color
      self.contents.draw_text(0, 352, self.width / 2, 32, "•" + $preview_objectives3.to_s)
      self.contents.font.color = disabled_color
      self.contents.draw_text(0, 320, self.width / 2, 32, "•" + $preview_objectives2.to_s)
      self.contents.draw_text(0, 288, self.width / 2, 32, "•" + $preview_objectives1.to_s)
      self.contents.draw_text(0, 256, self.width / 2, 32, "•" + $preview_objectives0.to_s)
    when 4
      self.contents.font.color = normal_color
      self.contents.draw_text(0, 384, self.width / 2, 32, "•" + $preview_objectives4.to_s)
      self.contents.font.color = disabled_color
      self.contents.draw_text(0, 352, self.width / 2, 32, "•" + $preview_objectives3.to_s)
      self.contents.draw_text(0, 320, self.width / 2, 32, "•" + $preview_objectives2.to_s)
      self.contents.draw_text(0, 288, self.width / 2, 32, "•" + $preview_objectives1.to_s)
      self.contents.draw_text(0, 256, self.width / 2, 32, "•" + $preview_objectives0.to_s)
    when 5
      self.contents.font.color = normal_color
      self.contents.draw_text(0, 416, self.width / 2, 32, "•" + $preview_objectives5.to_s)
      self.contents.font.color = disabled_color
      self.contents.draw_text(0, 384, self.width / 2, 32, "•" + $preview_objectives4.to_s)
      self.contents.draw_text(0, 352, self.width / 2, 32, "•" + $preview_objectives3.to_s)
      self.contents.draw_text(0, 320, self.width / 2, 32, "•" + $preview_objectives2.to_s)
      self.contents.draw_text(0, 288, self.width / 2, 32, "•" + $preview_objectives1.to_s)
      self.contents.draw_text(0, 256, self.width / 2, 32, "•" + $preview_objectives0.to_s)
    when 6
      self.contents.font.color = normal_color
      self.contents.draw_text(240, 256, self.width / 2, 32, "•" + $preview_objectives6.to_s)
      self.contents.font.color = disabled_color
      self.contents.draw_text(0, 416, self.width / 2, 32, "•" + $preview_objectives5.to_s)
      self.contents.draw_text(0, 384, self.width / 2, 32, "•" + $preview_objectives4.to_s)
      self.contents.draw_text(0, 352, self.width / 2, 32, "•" + $preview_objectives3.to_s)
      self.contents.draw_text(0, 320, self.width / 2, 32, "•" + $preview_objectives2.to_s)
      self.contents.draw_text(0, 288, self.width / 2, 32, "•" + $preview_objectives1.to_s)
      self.contents.draw_text(0, 256, self.width / 2, 32, "•" + $preview_objectives0.to_s)
    when 7
      self.contents.font_color = normal_color
      self.contents.draw_text(240, 288, self.width / 2, 32, "•" + $preview_objectives7.to_s)
      self.contents.font.color = disabled_color
      self.contents.draw_text(240, 256, self.width / 2, 32, "•" + $preview_objectives6.to_s)
      self.contents.draw_text(0, 416, self.width / 2, 32, "•" + $preview_objectives5.to_s)
      self.contents.draw_text(0, 384, self.width / 2, 32, "•" + $preview_objectives4.to_s)
      self.contents.draw_text(0, 352, self.width / 2, 32, "•" + $preview_objectives3.to_s)
      self.contents.draw_text(0, 320, self.width / 2, 32, "•" + $preview_objectives2.to_s)
      self.contents.draw_text(0, 288, self.width / 2, 32, "•" + $preview_objectives1.to_s)
      self.contents.draw_text(0, 256, self.width / 2, 32, "•" + $preview_objectives0.to_s)
    when 8
      self.contents.font.color = normal_color
      self.contents.draw_text(240, 320, self.width / 2, 32, "•" + $preview_objectives8.to_s)
      self.contents.font.color = disabled_color
      self.contents.draw_text(240, 288, self.width / 2, 32, "•" + $preview_objectives7.to_s)
      self.contents.draw_text(240, 256, self.width / 2, 32, "•" + $preview_objectives6.to_s)
      self.contents.draw_text(0, 416, self.width / 2, 32, "•" + $preview_objectives5.to_s)
      self.contents.draw_text(0, 384, self.width / 2, 32, "•" + $preview_objectives4.to_s)
      self.contents.draw_text(0, 352, self.width / 2, 32, "•" + $preview_objectives3.to_s)
      self.contents.draw_text(0, 320, self.width / 2, 32, "•" + $preview_objectives2.to_s)
      self.contents.draw_text(0, 288, self.width / 2, 32, "•" + $preview_objectives1.to_s)
      self.contents.draw_text(0, 256, self.width / 2, 32, "•" + $preview_objectives0.to_s)
    when 9
      self.contents.font.color = normal_color
      self.contents.draw_text(240, 352, self.width / 2, 32, "•" + $preview_objectives9.to_s)
      self.contents.font.color = disabled_color
      self.contents.draw_text(240, 320, self.width / 2, 32, "•" + $preview_objectives8.to_s)
      self.contents.draw_text(240, 288, self.width / 2, 32, "•" + $preview_objectives7.to_s)
      self.contents.draw_text(240, 256, self.width / 2, 32, "•" + $preview_objectives6.to_s)
      self.contents.draw_text(0, 416, self.width / 2, 32, "•" + $preview_objectives5.to_s)
      self.contents.draw_text(0, 384, self.width / 2, 32, "•" + $preview_objectives4.to_s)
      self.contents.draw_text(0, 352, self.width / 2, 32, "•" + $preview_objectives3.to_s)
      self.contents.draw_text(0, 320, self.width / 2, 32, "•" + $preview_objectives2.to_s)
      self.contents.draw_text(0, 288, self.width / 2, 32, "•" + $preview_objectives1.to_s)
      self.contents.draw_text(0, 256, self.width / 2, 32, "•" + $preview_objectives0.to_s)
    when 10
      self.contents.font.color = normal_color
      self.contents.draw_text(240, 384, self.width / 2, 32, "•" + $preview_objectives10.to_s)
      self.contents.font.color = disabled_color
      self.contents.draw_text(240, 352, self.width / 2, 32, "•" + $preview_objectives9.to_s)
      self.contents.draw_text(240, 320, self.width / 2, 32, "•" + $preview_objectives8.to_s)
      self.contents.draw_text(240, 288, self.width / 2, 32, "•" + $preview_objectives7.to_s)
      self.contents.draw_text(240, 256, self.width / 2, 32, "•" + $preview_objectives6.to_s)
      self.contents.draw_text(0, 416, self.width / 2, 32, "•" + $preview_objectives5.to_s)
      self.contents.draw_text(0, 384, self.width / 2, 32, "•" + $preview_objectives4.to_s)
      self.contents.draw_text(0, 352, self.width / 2, 32, "•" + $preview_objectives3.to_s)
      self.contents.draw_text(0, 320, self.width / 2, 32, "•" + $preview_objectives2.to_s)
      self.contents.draw_text(0, 288, self.width / 2, 32, "•" + $preview_objectives1.to_s)
      self.contents.draw_text(0, 256, self.width / 2, 32, "•" + $preview_objectives0.to_s)
    when 11
      self.contents.font.color = normal_color
      self.contents.draw_text(240, 416, self.width / 2, 32, "•" + $preview_objectives11.to_s)
      self.contents.font.color = disabled_color
      self.contents.draw_text(240, 384, self.width / 2, 32, "•" + $preview_objectives10.to_s)
      self.contents.draw_text(240, 352, self.width / 2, 32, "•" + $preview_objectives9.to_s)
      self.contents.draw_text(240, 320, self.width / 2, 32, "•" + $preview_objectives8.to_s)
      self.contents.draw_text(240, 288, self.width / 2, 32, "•" + $preview_objectives7.to_s)
      self.contents.draw_text(240, 256, self.width / 2, 32, "•" + $preview_objectives6.to_s)
      self.contents.draw_text(0, 416, self.width / 2, 32, "•" + $preview_objectives5.to_s)
      self.contents.draw_text(0, 384, self.width / 2, 32, "•" + $preview_objectives4.to_s)
      self.contents.draw_text(0, 352, self.width / 2, 32, "•" + $preview_objectives3.to_s)
      self.contents.draw_text(0, 320, self.width / 2, 32, "•" + $preview_objectives2.to_s)
      self.contents.draw_text(0, 288, self.width / 2, 32, "•" + $preview_objectives1.to_s)
      self.contents.draw_text(0, 256, self.width / 2, 32, "•" + $preview_objectives0.to_s)
    end
  end   
 
  def update
    refresh
  end
 
end

OLD VERSION:

[code]#=============================================================================
# Quest Log Screen
#-----------------------------------------------------------------------------
# ** Version 1.0
# ** Based on Sirsk8ator's script
# ** Heavily modified by Sthrattoff
#=============================================================================
# Description
# This script enables the ability to show current active quest.

# Features :
# Don't need to edit Game_Temp!
# Use in-game variable to "mark" quest progress!
# Replaceable for more than 15 quests!

# Instruction
# Just put this script above main.

# Configuration :
# To replace quest detail, use these syntax :
# 1. $names[n] = "Quest Names"    --> To change quest n's name.
# 2. $descm[n] = "Description"    --> To change quest n's m line description.
# 3. $objectivem[n] = "Objective" --> To change quest n's m objective.
# 4. $variable[n] = Variable ID   --> To change quest n's controller variable.
# 5. $end[n] = End Value          --> To change quest n's end value.

# Note :
# You can't have active quest more than 15 quests.
# You need to replace unused quest. Methods included on Configuration section.

# Credits
# See the header + Blizzard and Enterbrain
#=============================================================================

class Scene_Quest
 
  #===========================================================================
  # Begin Setting
  #===========================================================================
 
  $names = {1 => "Sample", 2 => "Sample", 3 => "Sample", 4 => "Sample", 5 => "Sample", 6 => "Sample", 7 => "Sample", 8 => "Sample", 9 => "Sample", 10 => "Sample", 11 => "Sample", 12 => "Sample", 13 => "Sample", 14 => "Sample", 15 => "Sample", 0 => "No Quest Available"}
  $desc1 = {1 => "Filler", 2 => "Filler", 3 => "Filler", 4 => "Filler", 5 => "Filler", 6 => "Filler", 7 => "Filler", 8 => "Filler", 9 => "Filler", 10 => "Filler", 11 => "Filler", 12 => "Filler", 13 => "Filler", 14 => "Filler", 15 => "Filler", 0 => ""}
  $desc2 = {1 => "Filler", 2 => "Filler", 3 => "Filler", 4 => "Filler", 5 => "Filler", 6 => "Filler", 7 => "Filler", 8 => "Filler", 9 => "Filler", 10 => "Filler", 11 => "Filler", 12 => "Filler", 13 => "Filler", 14 => "Filler", 15 => "Filler", 0 => ""}
  $desc3 = {1 => "Filler", 2 => "Filler", 3 => "Filler", 4 => "Filler", 5 => "Filler", 6 => "Filler", 7 => "Filler", 8 => "Filler", 9 => "Filler", 10 => "Filler", 11 => "Filler", 12 => "Filler", 13 => "Filler", 14 => "Filler", 15 => "Filler", 0 => ""}
  $desc4 = {1 => "Filler", 2 => "Filler", 3 => "Filler", 4 => "Filler", 5 => "Filler", 6 => "Filler", 7 => "Filler", 8 => "Filler", 9 => "Filler", 10 => "Filler", 11 => "Filler", 12 => "Filler", 13 => "Filler", 14 => "Filler", 15 => "Filler", 0 => ""}
  $desc5 = {1 => "Filler", 2 => "Filler", 3 => "Filler", 4 => "Filler", 5 => "Filler", 6 => "Filler", 7 => "Filler", 8 => "Filler", 9 => "Filler", 10 => "Filler", 11 => "Filler", 12 => "Filler", 13 => "Filler", 14 => "Filler", 15 => "Filler", 0 => ""}
  $objective1 = {1 => "Replace the Filler!", 2 => "Replace the Filler!", 3 => "Replace the Filler!", 4 => "Replace the Filler!", 5 => "Replace the Filler!", 6 => "Replace the Filler!", 7 => "Replace the Filler!", 8 => "Replace the Filler!", 9 => "Replace the Filler!", 10 => "Replace the Filler!", 11 => "Replace the Filler!", 12 => "Replace the Filler!", 13 => "Replace the Filler!", 14 => "Replace the Filler!", 15 => "Replace the Filler!", 0 => ""}
  $objective2 = {1 => "Replace the Filler!", 2 => "Replace the Filler!", 3 => "Replace the Filler!", 4 => "Replace the Filler!", 5 => "Replace the Filler!", 6 => "Replace the Filler!", 7 => "Replace the Filler!", 8 => "Replace the Filler!", 9 => "Replace the Filler!", 10 => "Replace the Filler!", 11 => "Replace the Filler!", 12 => "Replace the Filler!", 13 => "Replace the Filler!", 14 => "Replace the Filler!", 15 => "Replace the Filler!", 0 => ""}
  $objective3 = {1 => "Replace the Filler!", 2 => "Replace the Filler!", 3 => "Replace the Filler!", 4 => "Replace the Filler!", 5 => "Replace the Filler!", 6 => "Replace the Filler!", 7 => "Replace the Filler!", 8 => "Replace the Filler!", 9 => "Replace the Filler!", 10 => "Replace the Filler!", 11 => "Replace the Filler!", 12 => "Replace the Filler!", 13 => "Replace the Filler!", 14 => "Replace the Filler!", 15 => "Replace the Filler!", 0 => ""}
  $objective4 = {1 => "Replace the Filler!", 2 => "Replace the Filler!", 3 => "Replace the Filler!", 4 => "Replace the Filler!", 5 => "Replace the Filler!", 6 => "Replace the Filler!", 7 => "Replace the Filler!", 8 => "Replace the Filler!", 9 => "Replace the Filler!", 10 => "Replace the Filler!", 11 => "Replace the Filler!", 12 => "Replace the Filler!", 13 => "Replace the Filler!", 14 => "Replace the Filler!", 15 => "Replace the Filler!", 0 => ""}
  $objective5 = {1 => "Replace the Filler!", 2 => "Replace the Filler!", 3 => "Replace the Filler!", 4 => "Replace the Filler!", 5 => "Replace the Filler!", 6 => "Replace the Filler!", 7 => "Replace the Filler!", 8 => "Replace the Filler!", 9 => "Replace the Filler!", 10 => "Replace the Filler!", 11 => "Replace the Filler!", 12 => "Replace the Filler!", 13 => "Replace the Filler!", 14 => "Replace the Filler!", 15 => "Replace the Filler!", 0 => ""}
  $objective6 = {1 => "Replace the Filler!", 2 => "Replace the Filler!", 3 => "Replace the Filler!", 4 => "Replace the Filler!", 5 => "Replace the Filler!", 6 => "Replace the Filler!", 7 => "Replace the Filler!", 8 => "Replace the Filler!", 9 => "Replace the Filler!", 10 => "Replace the Filler!", 11 => "Replace the Filler!", 12 => "Replace the Filler!", 13 => "Replace the Filler!", 14 => "Replace the Filler!", 15 => "Replace the Filler!", 0 => ""}
  $objective7 = {1 => "Replace the Filler!", 2 => "Replace the Filler!", 3 => "Replace the Filler!", 4 => "Replace the Filler!", 5 => "Replace the Filler!", 6 => "Replace the Filler!", 7 => "Replace the Filler!", 8 => "Replace the Filler!", 9 => "Replace the Filler!", 10 => "Replace the Filler!", 11 => "Replace the Filler!", 12 => "Replace the Filler!", 13 => "Replace the Filler!", 14 => "Replace the Filler!", 15 => "Replace the Filler!", 0 => ""}
  $objective8 = {1 => "Replace the Filler!", 2 => "Replace the Filler!", 3 => "Replace the Filler!", 4 => "Replace the Filler!", 5 => "Replace the Filler!", 6 => "Replace the Filler!", 7 => "Replace the Filler!", 8 => "Replace the Filler!", 9 => "Replace the Filler!", 10 => "Replace the Filler!", 11 => "Replace the Filler!", 12 => "Replace the Filler!", 13 => "Replace the Filler!", 14 => "Replace the Filler!", 15 => "Replace the Filler!", 0 => ""}
  $objective9 = {1 => "Replace the Filler!", 2 => "Replace the Filler!", 3 => "Replace the Filler!", 4 => "Replace the Filler!", 5 => "Replace the Filler!", 6 => "Replace the Filler!", 7 => "Replace the Filler!", 8 => "Replace the Filler!", 9 => "Replace the Filler!", 10 => "Replace the Filler!", 11 => "Replace the Filler!", 12 => "Replace the Filler!", 13 => "Replace the Filler!", 14 => "Replace the Filler!", 15 => "Replace the Filler!", 0 => ""}
  $objective10 = {1 => "Replace the Filler!", 2 => "Replace the Filler!", 3 => "Replace the Filler!", 4 => "Replace the Filler!", 5 => "Replace the Filler!", 6 => "Replace the Filler!", 7 => "Replace the Filler!", 8 => "Replace the Filler!", 9 => "Replace the Filler!", 10 => "Replace the Filler!", 11 => "Replace the Filler!", 12 => "Replace the Filler!", 13 => "Replace the Filler!", 14 => "Replace the Filler!", 15 => "Replace the Filler!", 0 => ""}
  $variables = {1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8, 9 => 9, 10 => 10, 11 => 11, 12 => 12, 13 => 13, 14 => 14, 15 => 15}
  $end = {1 => 11, 2 => 11, 3 => 11, 4 => 11, 5 => 11, 6 => 11, 7 => 11, 8 => 11, 9 => 11, 10 => 11, 11 => 11, 12 => 11, 13 => 11, 14 => 11, 15 => 11}
 
  #===========================================================================
  # Begin Processing. DO NOT TOUCH THIS PART!!!
  #===========================================================================
 
  def main
   
    # Preset
    @id_1 = @id_2 = @id_3 = @id_4 = @id_5 = @id_6 = @id_7 = @id_8 = @id_9 = 0
    @id_10 = @id_11 = @id_12 = @id_13 = @id_14 = @id_15 = 0
   
    # Make first option on quest selection
    if $game_variables[$variables[1]] > 0 and $game_variables[$variables[1]] < $end[1]
      @id_1 = 1
      s1 = $names[1]
    elsif $game_variables[$variables[2]] > 0 and $game_variables[$variables[2]] < $end[2]
      @id_1 = 2
      s1 = $names[2]
    elsif $game_variables[$variables[3]] > 0 and $game_variables[$variables[3]] < $end[3]
      @id_1 = 3
      s1 = $names[3]
    elsif $game_variables[$variables[4]] > 0 and $game_variables[$variables[4]] < $end[4]
      @id_1 = 4
      s1 = $names[4]
    elsif $game_variables[$variables[5]] > 0 and $game_variables[$variables[5]] < $end[5]
      @id_1 = 5
      s1 = $names[5]
    elsif $game_variables[$variables[6]] > 0 and $game_variables[$variables[6]] < $end[6]
      @id_1 = 6
      s1 = $names[6]
    elsif $game_variables[$variables[7]] > 0 and $game_variables[$variables[7]] < $end[7]
      @id_1 = 7
      s1 = $names[7]
    elsif $game_variables[$variables[8]] > 0 and $game_variables[$variables[8]] < $end[8]
      @id_1 = 8
      s1 = $names[8]
    elsif $game_variables[$variables[9]] > 0 and $game_variables[$variables[9]] < $end[9]
      @id_1 = 9
      s1 = $names[9]
    elsif $game_variables[$variables[10]] > 0 and $game_variables[$variables[10]] < $end[10]
      @id_1 = 10
      s1 = $names[10]
    elsif $game_variables[$variables[11]] > 0 and $game_variables[$variables[11]] < $end[11]
      @id_1 = 11
      s1 = $names[11]
    elsif $game_variables[$variables[12]] > 0 and $game_variables[$variables[12]] < $end[12]
      @id_1 = 12
      s1 = $names[12]
    elsif $game_variables[$variables[13]] > 0 and $game_variables[$variables[13]] < $end[13]
      @id_1 = 13
      s1 = $names[13]
    elsif $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14]
      @id_1 = 14
      s1 = $names[14]
    elsif $game_variables[$variables[15]] > 0 and $game_variables[$variables[15]] < $end[15]
      @id_1 = 15
      s1 = $names[15]
    else
      s1 = $names[0]
    end
   
    # Make second option on quest selection
    if $game_variables[$variables[2]] > 0 and $game_variables[$variables[2]] < $end[2] and s1 != $names[2]
      @id_2 = 2
      s2 = $names[2]
    elsif $game_variables[$variables[3]] > 0 and $game_variables[$variables[3]] < $end[3] and s1 != $names[3]
      @id_2 = 3
      s2 = $names[3]
    elsif $game_variables[$variables[4]] > 0 and $game_variables[$variables[4]] < $end[4] and s1 != $names[4]
      @id_2 = 4
      s2 = $names[4]
    elsif $game_variables[$variables[5]] > 0 and $game_variables[$variables[5]] < $end[5] and s1 != $names[5]
      @id_2 = 5
      s2 = $names[5]
    elsif $game_variables[$variables[6]] > 0 and $game_variables[$variables[6]] < $end[6] and s1 != $names[6]
      @id_2 = 6
      s2 = $names[6]
    elsif $game_variables[$variables[7]] > 0 and $game_variables[$variables[7]] < $end[7] and s1 != $names[7]
      @id_2 = 7
      s2 = $names[7]
    elsif $game_variables[$variables[8]] > 0 and $game_variables[$variables[8]] < $end[8] and s1 != $names[8]
      @id_2 = 8
      s2 = $names[8]
    elsif $game_variables[$variables[9]] > 0 and $game_variables[$variables[9]] < $end[9] and s1 != $names[9]
      @id_2 = 9
      s2 = $names[9]
    elsif $game_variables[$variables[10]] > 0 and $game_variables[$variables[10]] < $end[10] and s1 != $names[10]
      @id_2 = 10
      s2 = $names[10]
    elsif $game_variables[$variables[11]] > 0 and $game_variables[$variables[11]] < $end[11] and s1 != $names[11]
      @id_2 = 11
      s2 = $names[11]
    elsif $game_variables[$variables[12]] > 0 and $game_variables[$variables[12]] < $end[12] and s1 != $names[12]
      @id_2 = 12
      s2 = $names[12]
    elsif $game_variables[$variables[13]] > 0 and $game_variables[$variables[13]] < $end[13] and s1 != $names[13]
      @id_2 = 13
      s2 = $names[13]
    elsif $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14] and s1 != $names[14]
      @id_2 = 14
      s2 = $names[14]
    elsif $game_variables[$variables[15]] > 0 and $game_variables[$variables[15]] < $end[15] and s1 != $names[15]
      @id_2 = 15
      s2 = $names[15]
    end
   
    # Make third option on quest selection
    if $game_variables[$variables[3]] > 0 and $game_variables[$variables[3]] < $end[3] and s1 != $names[3] and s2 != $names[3]
      @id_3 = 3
      s3 = $names[3]
    elsif $game_variables[$variables[4]] > 0 and $game_variables[$variables[4]] < $end[4] and s1 != $names[4] and s2 != $names[4]
      @id_3 = 4
      s3 = $names[4]
    elsif $game_variables[$variables[5]] > 0 and $game_variables[$variables[5]] < $end[5] and s1 != $names[5] and s2 != $names[5]
      @id_3 = 5
      s3 = $names[5]
    elsif $game_variables[$variables[6]] > 0 and $game_variables[$variables[6]] < $end[6] and s1 != $names[6] and s2 != $names[6]
      @id_3 = 6
      s3 = $names[6]
    elsif $game_variables[$variables[7]] > 0 and $game_variables[$variables[7]] < $end[7] and s1 != $names[7] and s2 != $names[7]
      @id_3 = 7
      s3 = $names[7]
    elsif $game_variables[$variables[8]] > 0 and $game_variables[$variables[8]] < $end[8] and s1 != $names[8] and s2 != $names[8]
      @id_3 = 8
      s3 = $names[8]
    elsif $game_variables[$variables[9]] > 0 and $game_variables[$variables[9]] < $end[9] and s1 != $names[9] and s2 != $names[9]
      @id_3 = 9
      s3 = $names[9]
    elsif $game_variables[$variables[10]] > 0 and $game_variables[$variables[10]] < $end[10] and s1 != $names[10] and s2 != $names[10]
      @id_3 = 10
      s3 = $names[10]
    elsif $game_variables[$variables[11]] > 0 and $game_variables[$variables[11]] < $end[11] and s1 != $names[11] and s2 != $names[11]
      @id_3 = 11
      s3 = $names[11]
    elsif $game_variables[$variables[12]] > 0 and $game_variables[$variables[12]] < $end[12] and s1 != $names[12] and s2 != $names[12]
      @id_3 = 12
      s3 = $names[12]
    elsif $game_variables[$variables[13]] > 0 and $game_variables[$variables[13]] < $end[13] and s1 != $names[13] and s2 != $names[13]
      @id_3 = 13
      s3 = $names[13]
    elsif $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14] and s1 != $names[14] and s2 != $names[14]
      @id_3 = 14
      s3 = $names[14]
    elsif $game_variables[$variables[15]] > 0 and $game_variables[$variables[15]] < $end[15] and s1 != $names[15] and s2 != $names[15]
      @id_3 = 15
      s3 = $names[15]
    end
   
    # Make fourth option on quest selection
    if $game_variables[$variables[4]] > 0 and $game_variables[$variables[4]] < $end[4] and s1 != $names[4] and s2 != $names[4] and s3 != $names[4]
      @id_4 = 4
      s4 = $names[4]
    elsif $game_variables[$variables[5]] > 0 and $game_variables[$variables[5]] < $end[5] and s1 != $names[5] and s2 != $names[5] and s3 != $names[5]
      @id_4 = 5
      s4 = $names[5]
    elsif $game_variables[$variables[6]] > 0 and $game_variables[$variables[6]] < $end[6] and s1 != $names[6] and s2 != $names[6] and s3 != $names[6]
      @id_4 = 6
      s4 = $names[6]
    elsif $game_variables[$variables[7]] > 0 and $game_variables[$variables[7]] < $end[6] and s1 != $names[7] and s2 != $names[7] and s3 != $names[7]
      @id_4 = 7
      s4 = $names[7]
    elsif $game_variables[$variables[8]] > 0 and $game_variables[$variables[8]] < $end[8] and s1 != $names[8] and s2 != $names[8] and s3 != $names[8]
      @id_4 = 8
      s4 = $names[8]
    elsif $game_variables[$variables[9]] > 0 and $game_variables[$variables[9]] < $end[9] and s1 != $names[9] and s2 != $names[9] and s3 != $names[9]
      @id_4 = 9
      s4 = $names[9]
    elsif $game_variables[$variables[10]] > 0 and $game_variables[$variables[10]] < $end[10] and s1 != $names[10] and s2 != $names[10] and s3 != $names[10]
      @id_4 = 10
      s4 = $names[10]
    elsif $game_variables[$variables[11]] > 0 and $game_variables[$variables[11]] < $end[11] and s1 != $names[11] and s2 != $names[11] and s3 != $names[11]
      @id_4 = 11
      s4 = $names[11]
    elsif $game_variables[$variables[12]] > 0 and $game_variables[$variables[12]] < $end[12] and s1 != $names[12] and s2 != $names[12] and s3 != $names[12]
      @id_4 = 12
      s4 = $names[12]
    elsif $game_variables[$variables[13]] > 0 and $game_variables[$variables[13]] < $end[13] and s1 != $names[13] and s2 != $names[13] and s3 != $names[13]
      @id_4 = 13
      s4 = $names[13]
    elsif $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14] and s1 != $names[14] and s2 != $names[14] and s3 != $names[14]
      @id_4 = 14
      s4 = $names[14]
    elsif $game_variables[$variables[15]] > 0 and $game_variables[$variables[15]] < $end[15] and s1 != $names[15] and s2 != $names[15] and s3 != $names[15]
      @id_4 = 15
      s4 = $names[15]
    end
   
    # Make fifth option on quest selection
    if $game_variables[$variables[5]] > 0 and $game_variables[$variables[5]] < $end[5] and s1 != $names[5] and s2 != $names[5] and s3 != $names[5] and s4 != $names[5]
      @id_5 = 5
      s5 = $names[5]
    elsif $game_variables[$variables[6]] > 0 and $game_variables[$variables[6]] < $end[6] and s1 != $names[6] and s2 != $names[6] and s3 != $names[6] and s4 != $names[6]
      @id_5 = 6
      s5 = $names[6]
    elsif $game_variables[$variables[7]] > 0 and $game_variables[$variables[7]] < $end[7] and s1 != $names[7] and s2 != $names[7] and s3 != $names[7] and s4 != $names[7]
      @id_5 = 7
      s5 = $names[7]
    elsif $game_variables[$variables[8]] > 0 and $game_variables[$variables[8]] < $end[8] and s1 != $names[8] and s2 != $names[8] and s3 != $names[8] and s4 != $names[8]
      @id_5 = 8
      s5 = $names[8]
    elsif $game_variables[$variables[9]] > 0 and $game_variables[$variables[9]] < $end[9] and s1 != $names[9] and s2 != $names[9] and s3 != $names[9] and s4 != $names[9]
      @id_5 = 9
      s5 = $names[9]
    elsif $game_variables[$variables[10]] > 0 and $game_variables[$variables[10]] < $end[10] and s1 != $names[10] and s2 != $names[10] and s3 != $names[10] and s4 != $names[10]
      @id_5 = 10
      s5 = $names[10]
    elsif $game_variables[$variables[11]] > 0 and $game_variables[$variables[11]] < $end[11] and s1 != $names[11] and s2 != $names[11] and s3 != $names[11] and s4 != $names[11]
      @id_5 = 11
      s5 = $names[11]
    elsif $game_variables[$variables[12]] > 0 and $game_variables[$variables[12]] < $end[12] and s1 != $names[12] and s2 != $names[12] and s3 != $names[12] and s4 != $names[12]
      @id_5 = 12
      s5 = $names[12]
    elsif $game_variables[$variables[13]] > 0 and $game_variables[$variables[13]] < $end[13] and s1 != $names[13] and s2 != $names[13] and s3 != $names[13] and s4 != $names[13]
      @id_5 = 13
      s5 = $names[13]
    elsif $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14] and s1 != $names[14] and s2 != $names[14] and s3 != $names[14] and s4 != $names[14]
      @id_5 = 14
      s5 = $names[14]
    elsif $game_variables[$variables[15]] > 0 and $game_variables[$variables[15]] < $end[15] and s1 != $names[15] and s2 != $names[15] and s3 != $names[15] and s4 != $names[15]
      @id_5 = 15
      s5 = $names[15]
    end
   
    # Make sixth option on quest selection
    if $game_variables[$variables[6]] > 0 and $game_variables[$variables[6]] < $end[6] and s1 != $names[6] and s2 != $names[6] and s3 != $names[6] and s4 != $names[6] and s5 != $names[6]
      @id_6 = 6
      s6 = $names[6]
    elsif $game_variables[$variables[7]] > 0 and $game_variables[$variables[7]] < $end[7] and s1 != $names[7] and s2 != $names[7] and s3 != $names[7] and s4 != $names[7] and s5 != $names[7]
      @id_6 = 7
      s6 = $names[7]
    elsif $game_variables[$variables[8]] > 0 and $game_variables[$variables[8]] < $end[8] and s1 != $names[8] and s2 != $names[8] and s3 != $names[8] and s4 != $names[8] and s5 != $names[8]
      @id_6 = 8
      s6 = $names[8]
    elsif $game_variables[$variables[9]] > 0 and $game_variables[$variables[9]] < $end[9] and s1 != $names[9] and s2 != $names[9] and s3 != $names[9] and s4 != $names[9] and s5 != $names[9]
      @id_6 = 9
      s6 = $names[9]
    elsif $game_variables[$variables[10]] > 0 and $game_variables[$variables[10]] < $end[10] and s1 != $names[10] and s2 != $names[10] and s3 != $names[10] and s4 != $names[10] and s5 != $names[10]
      @id_6 = 10
      s6 = $names[10]
    elsif $game_variables[$variables[11]] > 0 and $game_variables[$variables[11]] < $end[11] and s1 != $names[11] and s2 != $names[11] and s3 != $names[11] and s4 != $names[11] and s5 != $names[11]
      @id_6 = 11
      s6 = $names[11]
    elsif $game_variables[$variables[12]] > 0 and $game_variables[$variables[12]] < $end[12] and s1 != $names[12] and s2 != $names[12] and s3 != $names[12] and s4 != $names[12] and s5 != $names[12]
      @id_6 = 12
      s6 = $names[12]
    elsif $game_variables[$variables[13]] > 0 and $game_variables[$variables[13]] < $end[13] and s1 != $names[13] and s2 != $names[13] and s3 != $names[13] and s4 != $names[13] and s5 != $names[13]
      @id_6 = 13
      s6 = $names[13]
    elsif $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14] and s1 != $names[14] and s2 != $names[14] and s3 != $names[14] and s4 != $names[14] and s5 != $names[14]
      @id_6 = 14
      s6 = $names[14]
    elsif $game_variables[$variables[15]] > 0 and $game_variables[$variables[15]] < $end[15] and s1 != $names[15] and s2 != $names[15] and s3 != $names[15] and s4 != $names[15] and s5 != $names[15]
      @id_6 = 15
      s6 = $names[15]
    end
   
    # Make seventh option on quest selection
    if $game_variables[$variables[7]] > 0 and $game_variables[$variables[7]] < $end[7] and s1 != $names[7] and s2 != $names[7] and s3 != $names[7] and s4 != $names[7] and s5 != $names[7] and s6 != $names[7]
      @id_7 = 7
      s7 = $names[7]
    elsif $game_variables[$variables[8]] > 0 and $game_variables[$variables[8]] < $end[8] and s1 != $names[8] and s2 != $names[8] and s3 != $names[8] and s4 != $names[8] and s5 != $names[8] and s6 != $names[8]
      @id_7 = 8
      s7 = $names[8]
    elsif $game_variables[$variables[9]] > 0 and $game_variables[$variables[9]] < $end[9] and s1 != $names[9] and s2 != $names[9] and s3 != $names[9] and s4 != $names[9] and s5 != $names[9] and s6 != $names[9]
      @id_7 = 9
      s7 = $names[9]
    elsif $game_variables[$variables[10]] > 0 and $game_variables[$variables[10]] < $end[10] and s1 != $names[10] and s2 != $names[10] and s3 != $names[10] and s4 != $names[10] and s5 != $names[10] and s6 != $names[10]
      @id_7 = 10
      s7 = $names[10]
    elsif $game_variables[$variables[11]] > 0 and $game_variables[$variables[11]] < $end[11] and s1 != $names[11] and s2 != $names[11] and s3 != $names[11] and s4 != $names[11] and s5 != $names[11] and s6 != $names[11]
      @id_7 = 11
      s7 = $names[11]
    elsif $game_variables[$variables[12]] > 0 and $game_variables[$variables[12]] < $end[12] and s1 != $names[12] and s2 != $names[12] and s3 != $names[12] and s4 != $names[12] and s5 != $names[12] and s6 != $names[12]
      @id_7 = 12
      s7 = $names[12]
    elsif $game_variables[$variables[13]] > 0 and $game_variables[$variables[13]] < $end[13] and s1 != $names[13] and s2 != $names[13] and s3 != $names[13] and s4 != $names[13] and s5 != $names[13] and s6 != $names[13]
      @id_7 = 13
      s7 = $names[13]
    elsif $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14] and s1 != $names[14] and s2 != $names[14] and s3 != $names[14] and s4 != $names[14] and s5 != $names[14] and s6 != $names[14]
      @id_7 = 14
      s7 = $names[14]
    elsif $game_variables[$variables[15]] > 0 and $game_variables[$variables[15]] < $end[15] and s1 != $names[15] and s2 != $names[15] and s3 != $names[15] and s4 != $names[15] and s5 != $names[15] and s6 != $names[15]
      @id_7 = 15
      s7 = $names[15]
    end
   
    # Make eighth option on quest selection
    if $game_variables[$variables[8]] > 0 and $game_variables[$variables[8]] < $end[8] and s1 != $names[8] and s2 != $names[8] and s3 != $names[8] and s4 != $names[8] and s5 != $names[8] and s6 != $names[8] and s7 != $names[8]
      @id_8 = 8
      s8 = $names[8]
    elsif $game_variables[$variables[9]] > 0 and $game_variables[$variables[9]] < $end[9] and s1 != $names[9] and s2 != $names[9] and s3 != $names[9] and s4 != $names[9] and s5 != $names[9] and s6 != $names[9] and s7 != $names[9]
      @id_8 = 9
      s8 = $names[9]
    elsif $game_variables[$variables[10]] > 0 and $game_variables[$variables[10]] < $end[10] and s1 != $names[10] and s2 != $names[10] and s3 != $names[10] and s4 != $names[10] and s5 != $names[10] and s6 != $names[10] and s7 != $names[10]
      @id_8 = 10
      s8 = $names[10]
    elsif $game_variables[$variables[11]] > 0 and $game_variables[$variables[11]] < $end[11] and s1 != $names[11] and s2 != $names[11] and s3 != $names[11] and s4 != $names[11] and s5 != $names[11] and s6 != $names[11] and s7 != $names[11]
      @id_8 = 11
      s8 = $names[11]
    elsif $game_variables[$variables[12]] > 0 and $game_variables[$variables[12]] < $end[12] and s1 != $names[12] and s2 != $names[12] and s3 != $names[12] and s4 != $names[12] and s5 != $names[12] and s6 != $names[12] and s7 != $names[12]
      @id_8 = 12
      s8 = $names[12]
    elsif $game_variables[$variables[13]] > 0 and $game_variables[$variables[13]] < $end[13] and s1 != $names[13] and s2 != $names[13] and s3 != $names[13] and s4 != $names[13] and s5 != $names[13] and s6 != $names[13] and s7 != $names[13]
      @id_8 = 13
      s8 = $names[13]
    elsif $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14] and s1 != $names[14] and s2 != $names[14] and s3 != $names[14] and s4 != $names[14] and s5 != $names[14] and s6 != $names[14] and s7 != $names[14]
      @id_8 = 14
      s8 = $names[14]
    elsif $game_variables[$variables[15]] > 0 and $game_variables[$variables[15]] < $end[15] and s1 != $names[15] and s2 != $names[15] and s3 != $names[15] and s4 != $names[15] and s5 != $names[15] and s6 != $names[15] and s7 != $names[15]
      @id_8 = 15
      s8 = $names[15]
    end
   
    # Make nineth option on quest selection
    if $game_variables[$variables[9]] > 0 and $game_variables[$variables[9]] < $end[9] and s1 != $names[9] and s2 != $names[9] and s3 != $names[9] and s4 != $names[9] and s5 != $names[9] and s6 != $names[9] and s7 != $names[9] and s8 != $names[9]
      @id_9 = 9
      s9 = $names[9]
    elsif $game_variables[$variables[10]] > 0 and $game_variables[$variables[10]] < $end[10] and s1 != $names[10] and s2 != $names[10] and s3 != $names[10] and s4 != $names[10] and s5 != $names[10] and s6 != $names[10] and s7 != $names[10] and s8 != $names[10]
      @id_9 = 10
      s9 = $names[10]
    elsif $game_variables[$variables[11]] > 0 and $game_variables[$variables[11]] < $end[11] and s1 != $names[11] and s2 != $names[11] and s3 != $names[11] and s4 != $names[11] and s5 != $names[11] and s6 != $names[11] and s7 != $names[11] and s8 != $names[11]
      @id_9 = 11
      s9 = $names[11]
    elsif $game_variables[$variables[12]] > 0 and $game_variables[$variables[12]] < $end[12] and s1 != $names[12] and s2 != $names[12] and s3 != $names[12] and s4 != $names[12] and s5 != $names[12] and s6 != $names[12] and s7 != $names[12] and s8 != $names[12]
      @id_9 = 12
      s9 = $names[12]
    elsif $game_variables[$variables[13]] > 0 and $game_variables[$variables[13]] < $end[13] and s1 != $names[13] and s2 != $names[13] and s3 != $names[13] and s4 != $names[13] and s5 != $names[13] and s6 != $names[13] and s7 != $names[13] and s8 != $names[13]
      @id_9 = 13
      s9 = $names[13]
    elsif $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14] and s1 != $names[14] and s2 != $names[14] and s3 != $names[14] and s4 != $names[14] and s5 != $names[14] and s6 != $names[14] and s7 != $names[14] and s8 != $names[14]
      @id_9 = 14
      s9 = $names[14]
    elsif $game_variables[$variables[15]] > 0 and $game_variables[$variables[15]] < $end[15] and s1 != $names[15] and s2 != $names[15] and s3 != $names[15] and s4 != $names[15] and s5 != $names[15] and s6 != $names[15] and s7 != $names[15] and s8 != $names[15]
      @id_9 = 15
      s9 = $names[15]
    end
   
    # Make tenth option on quest selection
    if $game_variables[$variables[10]] > 0 and $game_variables[$variables[10]] < $end[10] and s1 != $names[10] and s2 != $names[10] and s3 != $names[10] and s4 != $names[10] and s5 != $names[10] and s6 != $names[10] and s7 != $names[10] and s8 != $names[10] and s9 != $names[10]
      @id_10 = 10
      s10 = $names[10]
    elsif $game_variables[$variables[11]] > 0 and $game_variables[$variables[11]] < $end[11] and s1 != $names[11] and s2 != $names[11] and s3 != $names[11] and s4 != $names[11] and s5 != $names[11] and s6 != $names[11] and s7 != $names[11] and s8 != $names[11] and s9 != $names[11]
      @id_10 = 11
      s10 = $names[11]
    elsif $game_variables[$variables[12]] > 0 and $game_variables[$variables[12]] < $end[12] and s1 != $names[12] and s2 != $names[12] and s3 != $names[12] and s4 != $names[12] and s5 != $names[12] and s6 != $names[12] and s7 != $names[12] and s8 != $names[12] and s9 != $names[12]
      @id_10 = 12
      s10 = $names[12]
    elsif $game_variables[$variables[13]] > 0 and $game_variables[$variables[13]] < $end[13] and s1 != $names[13] and s2 != $names[13] and s3 != $names[13] and s4 != $names[13] and s5 != $names[13] and s6 != $names[13] and s7 != $names[13] and s8 != $names[13] and s9 != $names[13]
      @id_10 = 13
      s10 = $names[13]
    elsif $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14] and s1 != $names[14] and s2 != $names[14] and s3 != $names[14] and s4 != $names[14] and s5 != $names[14] and s6 != $names[14] and s7 != $names[14] and s8 != $names[14] and s9 != $names[14]
      @id_10 = 14
      s10 = $names[14]
    elsif $game_variables[$variables[15]] > 0 and $game_variables[$variables[15]] < $end[15] and s1 != $names[15] and s2 != $names[15] and s3 != $names[15] and s4 != $names[15] and s5 != $names[15] and s6 != $names[15] and s7 != $names[15] and s8 != $names[15] and s9 != $names[15]
      @id_10 = 15
      s10 = $names[15]
    end

    # Make eleventh option on quest selection
    if $game_variables[$variables[11]] > 0 and $game_variables[$variables[11]] < $end[11] and s1 != $names[11] and s2 != $names[11] and s3 != $names[11] and s4 != $names[11] and s5 != $names[11] and s6 != $names[11] and s7 != $names[11] and s8 != $names[11] and s9 != $names[11] and s10 != $names[11]
      @id_11 = 11
      s11 = $names[11]
    elsif $game_variables[$variables[12]] > 0 and $game_variables[$variables[12]] < $end[12] and s1 != $names[12] and s2 != $names[12] and s3 != $names[12] and s4 != $names[12] and s5 != $names[12] and s6 != $names[12] and s7 != $names[12] and s8 != $names[12] and s9 != $names[12] and s10 != $names[12]
      @id_11 = 12
      s11 = $names[12]
    elsif $game_variables[$variables[13]] > 0 and $game_variables[$variables[13]] < $end[13] and s1 != $names[13] and s2 != $names[13] and s3 != $names[13] and s4 != $names[13] and s5 != $names[13] and s6 != $names[13] and s7 != $names[13] and s8 != $names[13] and s9 != $names[13] and s10 != $names[13]
      @id_11 = 13
      s11 = $names[13]
    elsif $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14] and s1 != $names[14] and s2 != $names[14] and s3 != $names[14] and s4 != $names[14] and s5 != $names[14] and s6 != $names[14] and s7 != $names[14] and s8 != $names[14] and s9 != $names[14] and s10 != $names[14]
      @id_11 = 14
      s11 = $names[14]
    elsif $game_variables[$variables[15]] > 0 and $game_variables[$variables[15]] < $end[15] and s1 != $names[15] and s2 != $names[15] and s3 != $names[15] and s4 != $names[15] and s5 != $names[15] and s6 != $names[15] and s7 != $names[15] and s8 != $names[15] and s9 != $names[15] and s10 != $names[15]
      @id_11 = 15
      s11 = $names[15]
    end
   
    # Make twelveth option on quest selection
    if $game_variables[$variables[12]] > 0 and $game_variables[$variables[12]] < $end[12] and s1 != $names[12] and s2 != $names[12] and s3 != $names[12] and s4 != $names[12] and s5 != $names[12] and s6 != $names[12] and s7 != $names[12] and s8 != $names[12] and s9 != $names[12] and s10 != $names[12] and s11 != $names[12]
      @id_12 = 12
      s12 = $names[12]
    elsif $game_variables[$variables[13]] > 0 and $game_variables[$variables[13]] < $end[13] and s1 != $names[13] and s2 != $names[13] and s3 != $names[13] and s4 != $names[13] and s5 != $names[13] and s6 != $names[13] and s7 != $names[13] and s8 != $names[13] and s9 != $names[13] and s10 != $names[13] and s11 != $names[13]
      @id_12 = 13
      s12 = $names[13]
    elsif $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14] and s1 != $names[14] and s2 != $names[14] and s3 != $names[14] and s4 != $names[14] and s5 != $names[14] and s6 != $names[14] and s7 != $names[14] and s8 != $names[14] and s9 != $names[14] and s10 != $names[14] and s11 != $names[14]
      @id_12 = 14
      s12 = $names[14]
    elsif $game_variables[$variables[15]] > 0 and $game_variables[$variables[15]] < $end[15] and s1 != $names[15] and s2 != $names[15] and s3 != $names[15] and s4 != $names[15] and s5 != $names[15] and s6 != $names[15] and s7 != $names[15] and s8 != $names[15] and s9 != $names[15] and s10 != $names[15] and s11 != $names[15]
      @id_12 = 15
      s12 = $names[15]
    end
   
    # Make thirteenth option on quest selection
    if $game_variables[$variables[13]] > 0 and $game_variables[$variables[13]] < $end[13] and s1 != $names[13] and s2 != $names[13] and s3 != $names[13] and s4 != $names[13] and s5 != $names[13] and s6 != $names[13] and s7 != $names[13] and s8 != $names[13] and s9 != $names[13] and s10 != $names[13] and s11 != $names[13] and s12 != $names[13]
      @id_13 = 13
      s13 = $names[13]
    elsif $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14] and s1 != $names[14] and s2 != $names[14] and s3 != $names[14] and s4 != $names[14] and s5 != $names[14] and s6 != $names[14] and s7 != $names[14] and s8 != $names[14] and s9 != $names[14] and s10 != $names[14] and s11 != $names[14] and s12 != $names[14]
      @id_13 = 14
      s13 = $names[14]
    elsif $game_variables[$variables[15]] > 0 and $game_variables[$variables[15]] < $end[15] and s1 != $names[15] and s2 != $names[15] and s3 != $names[15] and s4 != $names[15] and s5 != $names[15] and s6 != $names[15] and s7 != $names[15] and s8 != $names[15] and s9 != $names[15] and s10 != $names[15] and s11 != $names[15] and s12 != $names[15]
      @id_13 = 15
      s13 = $names[15]
    end
   
    # Make fourteenth option on quest selection
    if $game_variables[$variables[14]] > 0 and $game_variables[$variables[14]] < $end[14] and s1 != $names[14] and s2 != $names[14] and s3 != $names[14] and s4 != $names[14] and s5 != $names[14] and s6 != $names[14] and s7 != $names[14] and s8 != $names[14] and s9 != $names[14] and s10 != $names[14] and s11 != $names[14] and s12 != $names[14] and s13 != $names[14]
      @id_14 = 14
      s14 = $names[14]
  &nb
« Last Edit: February 23, 2007, 03:26:47 PM by Blizzard »
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Nice. Did you work on the code I gave you already? Having many global variables is not so good. They need a lot of RAM and the CPU needs to swap them often between his registries and the RAM, so it even slows down the application.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

***
Rep:
Level 89
I am yourself!
So that's why some people use instance variable?
Ooo... :o

Yep, I've tried it. Very advanced!
(Then I can't understand every command...)
(And my "nationalism" for using own-made or rewritten with modification)
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Yeah. I often find myself sitting at a problem for half an hour only because I don't want to use another variable, lol. ::)
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

**
Rep:
Level 88
Shut up and leave me alone!
I am a noob so don't get mad at me, how do you get it to work. I have the script in my script editor already. Now what?
Hi...

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
I am a noob so don't get mad at me, how do you get it to work. I have the script in my script editor already. Now what?

read the first few lines of the script, they have the instructions.  ;D
Watch out for: HaloOfTheSun

**
Rep:
Level 88
Shut up and leave me alone!
I did. But how do you see what quest your currently on?
Hi...

***
Rep:
Level 89
I am yourself!
You can use two method, but i'll explain only one:

Make an event and use Call Script command and type this line:
Code: [Select]
$scene = Scene_Quest.new
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

**
Rep:
Level 88
Shut up and leave me alone!
Oh ok thanks.
Hi...

***
Rep:
Level 89
I am yourself!
If you use the method I mentioned, change this line :
Code: [Select]
$scene = Scene_Menu.new(2)

With this :
Code: [Select]
$scene = Scene_Map.new
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

**
Rep:
Level 88
Shut up and leave me alone!
Oh one more thing, how do you get it so a quest is added. What's the code for that?
Hi...

***
Rep:
Level 89
I am yourself!
You mean how to add a quest?

I guess it's explained on Configuration section. Just use Call Command script.
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

**
Rep:
Level 88
Shut up and leave me alone!
So what do I put in the command script? And how to I get it matched up to the right quest?
Hi...

*****
Rep:
Level 89
I'm back again. Again.
It should say.

**
Rep:
Level 88
Shut up and leave me alone!
It probably does but I am really bad at this sort of stuff.
Hi...

**
Rep:
Level 88
Shut up and leave me alone!
Anyone tell me please?
Hi...

***
Rep:
Level 89
I am yourself!
OK, example, like this:

Code: [Select]
$names[1] = "Learning To Use Quest Script"

then change the value of controller varable to 1
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

***
Rep:
Level 89
I am yourself!
Sorry forgot...
To match it, i've created another script. I'll post it soon...
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

**
Rep:
Level 88
Shut up and leave me alone!
Hi...

**
Rep:
Level 88
Shut up and leave me alone!
Hi...

***
Banned
Rep:
Level 88
The Hated One
Good Script 7billion thums up  :lol:
Legacy: The Gatekeeper- Demo 2.0 Now Avaliable

**
Rep:
Level 88
Shut up and leave me alone!
Hi...



***
Rep:
Level 88
Random-Idiot
What do you want... you can't force him!

ALL HAIL ME™