Skip to content

Experience Battle ​

Having experienced event creation in Create Your First Event, in this chapter we actually run this tool's battle system. Let's build the event "talking to an NPC starts a boss battle" and experience the battle flow.

Goals

  • Learn how to use the Start Battle event content
  • Experience the Fight / Escape selection
  • Operate the command input flow of type → item → target
  • Confirm the behavior of victory / defeat / escape
  • Get a feel for the overall battle system of this tool

Estimated time: 20–30 minutes

Two Paths That Trigger Battle ​

Battles in this tool have two trigger paths:

  1. Via encounter: auto-triggered by walking the map (random battles)
  2. Via event: explicitly fired with the event content "Start Battle" (boss battles, etc.)

In this chapter we cover path (2), via event. For encounter-based triggers, see the Map Tab Reference and the Enemy Group Tab Reference for setup.

Preparation: Check an Enemy Group ​

To start a battle, you need an enemy group that defines which enemies appear. In this chapter we use an existing sample.

  1. Press the "Group" button (Enemy Group tab) in the editor
  2. Look at the sample enemy groups (such as troop_slime, troop_boss)
  3. Decide which enemy group to use (we'll use troop_slime as the example in this chapter; pick as you like)

What is an enemy group?

An enemy group is "the combination of enemies that appear in one battle." You can freely compose anything from a single slime to a boss + three subordinates. Details: see the Enemy Group tab.

Step 1: Create a Battle-triggering Event ​

Create a new event in the same manner as in Create Your First Event.

  1. Go to the Event tab
  2. "Create New" with the ID evt_test_battle
  3. The right pane opens an empty event editor

Step 2: Add "Show Text" as the Pre-battle Effect ​

First show a message before battle.

  1. "Add New" → pick "Show Text"
  2. Enter in the text field: A battle begins! Prepare yourselves.
  3. Leave Wait Input / Output Log ON

Step 3: Add "Start Battle" ​

Next, trigger the battle.

  1. "Add New" → pick "Start Battle"
  2. It is added to the content list

Set the Start Battle properties ​

Select the Start Battle row and set in the edit area on the right:

  • Map Key: pick from sample battle maps (for example, map_battle_field)
  • Troop Key: the group confirmed during preparation (for example, troop_slime)
  • Victory Event: leave empty (returns to the current event on victory)
  • Defeat Event: leave empty (follows the full-wipe handling of Editor System)
  • Escape Disabled: OFF (the player can escape)
  • Transition Mode: Default (fade effect)

More on Start Battle

All properties of Start Battle have a complete explanation in Start Battle.

Step 4: Add Post-battle Text ​

Add a message to show after the battle is won or escaped.

  1. "Add New" → "Show Text"
  2. Enter in the text field: The battle is over....

Full picture of the event ​

The content list should look like this:

Show Text ("A battle begins! Prepare yourselves.")
Start Battle (map_battle_field / troop_slime)
Show Text ("The battle is over....")
● Finish Process

On defeat, this Show Text is not reached

If the party is defeated in battle, control does not return to the continuation of this event; it follows the full-wipe handling setting of Editor System (default: Reset Game = return to title). To "jump to a dedicated event on defeat", specify an event ID in the Defeat Event property of Start Battle.

Save ​

  • Press the Save button at the bottom of the screen

In the same manner as in Create Your First Event, place an NPC on the map and link this event.

  1. Open the target map on the Map tab (for example, map_test)
  2. Open the map editor with "Edit with this tool"
  3. Switch the palette mode to Object
  4. Place an NPC template on the map
  5. Select the placed NPC
  6. Pick evt_test_battle in the Event ID field
  7. Set Trigger to Decide (fires on decide key)
  8. Save → Close in the map editor
  9. Also Save in the Map tab

Step 6: Launch the Game and Experience Battle ​

  1. On the Home tab, Save All → Start Game (F5)
  2. When the game launches, stand in front of the placed NPC and press the decide key
  3. The "A battle begins!..." message is shown
  4. The screen switches to battle (transition fade effect)

Step 7: Operate the Battle ​

The battle screen uses the following command input flow.

1. Fight / Escape prompt ​

When battle starts, a prompt first asks you to pick "Fight" or "Escape".

  • Pick Fight → go to party command input
  • Pick Escape → escape judgment (success ends the battle; failure runs only enemy actions)

Let's pick Fight first.

2. Type menu (what to do) ​

Starting from the 1st party member, enter commands in order. The type menu has buttons like:

  • Attack (BA_ATTACK): regular attack
  • Magic: magic (if the character has MP)
  • Skill: skills
  • Item: owned items (shown only when BA_ITEM is owned)

Let's pick "Attack" first.

3. Target selection ​

For a regular attack, pick one from among the enemies.

  • Click an enemy character (or arrow keys + decide)

That finalizes the 1st member's command and moves to the next member (2nd and beyond).

4. Action phase after all input is finished ​

When everyone's input is done, actions are run automatically in AGI order (etc.).

  • For each action, a message ("○○'s attack!") + effect plays
  • Damage numbers pop up
  • Enemies whose HP hits 0 disappear with a vanish effect

5. Outcome judgment ​

  • Defeat all enemies → victory: switches to bgm_victory, shows results → gain EXP / GOLD / items
  • All party members fall → defeat: switches to bgm_defeat, returns to title (or jumps to a defeat event)
  • Both sides alive → next turn: returns to the Fight / Escape prompt

Step 8: Try Escape Too ​

Trigger the battle again and try Escape this time.

  1. Launch the game again
  2. Talk to the NPC and trigger the battle
  3. Pick Escape
  4. If the escape judgment succeeds, the battle ends → the event continues and shows "The battle is over..."
  5. If it fails, only the enemy action phase runs → go to the next turn

Step 9: Try Defeat Too (optional) ​

Combining with a strong enemy and intentionally losing lets you confirm the behavior.

Behavior on defeat

  • By default, it resets to the title screen
  • Player progress is rewound to the pre-battle state (damage, etc. is invalidated)
  • To implement a rescue event like "revive at a church", change encounter_defeat_action in Editor System to Move Event and specify a dedicated event

Summary: What You Learned in This Chapter ​

  • Battles have two paths: via encounter and via event (Start Battle)
  • You can trigger a battle with the "Start Battle" event content
  • The essentials are two: Map Key + Troop Key
  • The battle flow is Fight / Escape prompt → type → item → target selection → action execution
  • Different behavior for victory / defeat / escape (BGM switch / results / return to title)
  • Defeat behavior can be set on the System tab

That Completes the Tutorial! ​

In this series (T1–T6) you experienced:

  • Installation and First Launch (T1)
  • Home Tab and Basic Operations (T2)
  • Add Your First Character (T3)
  • Edit Your First Map (T4)
  • Create Your First Event (T5)
  • Experience Battle (T6)

You should now have a feel for "what you can do by touching what in the editor" in this tool. From here, you deepen in the direction that fits your target game.

Feature Reference ​

Editor Screen Reference ​

Useful Pages When Creating ​