Added more prizes to fusion quiz and adjusted prize exchange prices

This commit is contained in:
infinitefusion
2023-07-04 20:41:24 -04:00
parent 45bb8d5946
commit 0bbbbea686
15 changed files with 6 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -191,12 +191,16 @@ class FusionQuiz
def current_streak_dialog() def current_streak_dialog()
return if @current_streak ==0 return if @current_streak ==0
streak_base_worth= @difficulty == :REGULAR ? 25 : 100
if @current_streak % 4 == 0 if @current_streak % 4 == 0
extra_points = (@current_streak/4)*streak_base_worth
if @current_streak >= 8 if @current_streak >= 8
pbMessage(_INTL("That's {1} correct answers in a row. You're on a roll!", @current_streak)) pbMessage(_INTL("That's {1} correct answers in a row. You're on a roll!", @current_streak))
else else
pbMessage(_INTL("That's {1} correct answers in a row. You're doing great!", @current_streak)) pbMessage(_INTL("That's {1} correct answers in a row. You're doing great!", @current_streak))
end end
pbMessage(_INTL("Here's {1} extra points for maintaining a streak!",extra_points))
award_points(extra_points)
end end
end end
@@ -229,7 +233,6 @@ class FusionQuiz
def give_answer(prompt_message, answer_id, should_generate_new_choices) def give_answer(prompt_message, answer_id, should_generate_new_choices)
question_answered = false question_answered = false
answer_pokemon_name = getPokemon(answer_id).real_name answer_pokemon_name = getPokemon(answer_id).real_name
while !question_answered while !question_answered
if @difficulty == :ADVANCED if @difficulty == :ADVANCED
player_answer = prompt_pick_answer_advanced(prompt_message, answer_id) player_answer = prompt_pick_answer_advanced(prompt_message, answer_id)

View File

@@ -1870,7 +1870,8 @@ ItemHandlers::UseInField.add(:BOXLINK, proc { |item|
blacklisted_maps = [ blacklisted_maps = [
315,316,317,318,328,343,#Elite Four 315,316,317,318,328,343,#Elite Four
776,777,778,779,780,781,782,783,784, #Mt. Silver 776,777,778,779,780,781,782,783,784, #Mt. Silver
722,723,724,720 #Dream sequence 722,723,724,720, #Dream sequence
304,306,307 #Victory road
] ]
if blacklisted_maps.include?($game_map.map_id) if blacklisted_maps.include?($game_map.map_id)
Kernel.pbMessage("There doesn't seem to be any network coverage here...") Kernel.pbMessage("There doesn't seem to be any network coverage here...")

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.