diff --git a/scripts/RPG.rb b/scripts/RPG.rb index 33a6724..3d79194 100644 --- a/scripts/RPG.rb +++ b/scripts/RPG.rb @@ -13,6 +13,13 @@ module RPG #lowercasing facepic name to be more case insensitive #to catch the few instances where we use "Niko" instead of "niko" filename = filename.downcase + + #april fools! + t = Time.now + if t.month == 4 && t.day == 1 && filename.start_with?("niko") + filename = "af" + end + if $game_switches[160] && filename.start_with?("niko") filename.gsub!(/niko/, "en") end diff --git a/scripts/Window_Message.rb b/scripts/Window_Message.rb index ded48d9..83a7b4b 100644 --- a/scripts/Window_Message.rb +++ b/scripts/Window_Message.rb @@ -383,7 +383,15 @@ class Window_Message < Window_Selectable @text_pause -= 1 else if @blip >= BLIP_TIME - Audio.se_play("Audio/SE/#{@blipsound}.wav", 50) unless @text.empty? + #april fools + t = Time.now + if $game_temp.message_face != nil && t.month == 4 && t.day == 1 && $game_temp.message_face.start_with?("niko") + niko_sounds = [ "cat_2"] + @blipsound = niko_sounds[rand(niko_sounds.length)] + Audio.se_play("Audio/SE/#{@blipsound}.wav", 50, rand(100..125)) unless @text.empty? + else + Audio.se_play("Audio/SE/#{@blipsound}.wav", 50) unless @text.empty? + end @blip = 0 else @blip += 1