RPG Maker Forums

I am trying to get my head around the start-to-finish processing of the RTP battle scripts. I'm sure I'm going to have a lot of questions. So I'll keep them all in the one thread, which might be handy for others down the track too.

Question 1:

Code:
class Scene_Battle  def battle_start    BattleManager.battle_start    process_event    start_party_command_selection  end  def process_event    while !scene_changing?      $game_troop.interpreter.update      $game_troop.setup_battle_event      wait_for_message      wait_for_effect if $game_troop.all_dead?      process_forced_action      BattleManager.judge_win_loss      break unless $game_troop.interpreter.running?      update_for_wait    end  endend
Why does battle_start call process_event? At this point, the (Enemy) Emerged! message has been displayed. The party has not been given the chance to fight or escape. What could happen between these two things that would require that method to run? Is there something in troop events that could happen before the player's even been given the chance to escape?

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,467
Members
137,821
Latest member
Capterson
Top