72 lines
2.0 KiB
Ruby
72 lines
2.0 KiB
Ruby
get_character(0).turn_toward_character($game_player)
|
|||
|
|
get_character(0).prelock_direction = get_character(0).direction
|
||
|
|
SndLib.catSpot
|
||
|
|
|
||
|
|
|
||
|
|
tmpPicked = ""
|
||
|
|
tmpQuestList = []
|
||
|
|
tmpQuestList << [$game_text["commonComp:Companion/Follow"] ,"Follow"]
|
||
|
|
tmpQuestList << [$game_text["commonComp:Companion/Wait"] ,"Wait"]
|
||
|
|
tmpQuestList << [$game_text["commonComp:Companion/Purr"] ,"Purr"] if get_character(0).switch1_id != 1
|
||
|
|
tmpQuestList << [$game_text["commonComp:Companion/Disband"] ,"Disband"]
|
||
|
|
cmd_sheet = tmpQuestList
|
||
|
|
cmd_text =""
|
||
|
|
for i in 0...cmd_sheet.length
|
||
|
|
cmd_text.concat(cmd_sheet[i].first+",")
|
||
|
|
p cmd_text
|
||
|
|
end
|
||
|
|
call_msg("commonComp:CompKitten/Command",0,2,0)
|
||
|
|
show_npc_info(get_character(0),extra_info=false,"\\optB[#{cmd_text}]")
|
||
|
|
|
||
|
|
$game_temp.choice == -1 ? tmpPicked = false : tmpPicked = cmd_sheet[$game_temp.choice][1]
|
||
|
|
$game_temp.choice = -1
|
||
|
|
|
||
|
|
case tmpPicked
|
||
|
|
when "Follow"
|
||
|
|
if $game_player.record_companion_back_date == nil
|
||
|
|
SndLib.catPurr
|
||
|
|
get_character(0).move_type = 3
|
||
|
|
else
|
||
|
|
SndLib.catAtk
|
||
|
|
get_character(0).move_type = [1,2,3].sample
|
||
|
|
end
|
||
|
|
get_character(0).follower[1] =1
|
||
|
|
|
||
|
|
when "Wait"
|
||
|
|
if $game_player.record_companion_back_date == nil
|
||
|
|
SndLib.catPurr
|
||
|
|
get_character(0).move_type = 3
|
||
|
|
else
|
||
|
|
SndLib.catAtk
|
||
|
|
get_character(0).move_type = [1,2,3].sample
|
||
|
|
end
|
||
|
|
get_character(0).move_type = [1,2,3].sample
|
||
|
|
get_character(0).follower[1] =0
|
||
|
|
|
||
|
|
when "Purr"
|
||
|
|
SndLib.catPurr
|
||
|
|
get_character(0).switch1_id =1
|
||
|
|
call_msg("commonComp:CompKitten/OPT_PURR")
|
||
|
|
$game_player.actor.mood +=30
|
||
|
|
|
||
|
|
when "Disband"
|
||
|
|
call_msg("commonComp:CompKitten/Comp_disband")
|
||
|
|
call_msg("common:Lona/Decide_optB")
|
||
|
|
cam_center(0)
|
||
|
|
if $game_temp.choice == 1
|
||
|
|
portrait_hide
|
||
|
|
chcg_background_color(0,0,0,0,7)
|
||
|
|
portrait_off
|
||
|
|
get_character(0).set_this_companion_disband
|
||
|
|
chcg_background_color(0,0,0,255,-7)
|
||
|
|
end
|
||
|
|
|
||
|
|
else
|
||
|
|
SndLib.catSpot
|
||
|
|
|
||
|
|
end
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
$story_stats["HiddenOPT0"] = "0"
|
||
|
|
eventPlayEnd
|