en:guide:febuildergba:reinforcement_en

I will explain how to make a reinforcement event.
I would like to reinforce every turn in the introduction.
i.imgur.com_fve4iym.jpg

Set up reinforcement unit

First of all, I will make a reinforcement unit.

StepA1

Please click “Unit Placer” button.
i.imgur.com_7bnhlbx.jpg

StepA2

Since we want to newly define reinforcement unit group, please click “Alloc New Space” button.
i.imgur.com_uhkdkew.jpg

StepA3

Set the number of people to output with reinforcement.

i.imgur.com_6w4ai7f.jpg

i.imgur.com_spslz1y.jpg

StepA4

A new frame has been alloced.
It is the part written as NEW.
i.imgur.com_lwlopqu.jpg

Eirika is provisionally set for the newly secured box.
Overwrite this area with characters you want to reinforce.

StepA5

First of all, we set the top character.
i.imgur.com_nfvoxxq.jpg

StepA6

For the time being, I tried it like this.
The coordinates are on the upper left.
i.imgur.com_ji7omjy.jpg

Character7FGrado soldier
Class3FWarrior
Item1FIron ax
CoordinateX=2,Y=3

StepA7

Write the contents with “Write” Button.
i.imgur.com_w676r2l.jpg

After setting, write the result with “Write” Button.

StepA8

Set the second person.
The coordinates are next to the last character.

i.imgur.com_mwdnicg.jpg

After setting, write the result with “Write” Button.

StepA9

Set the third person.

i.imgur.com_k79zwzy.jpg

Likewise, write the result with the “Write” Button.

StepA10

When you are done, please make a note of the starting address where they are located.
i.imgur.com_w6hbjkp.jpg


This time, 0x01000000 is the start address.


Why do you need to note the start address?\r\n
That's because we are going to make an event to display them.
Currently, their data is not tied to anywhere.
Therefore, if you close the Unit Placer window or switch to another chapter, data will be lost.
Even if data is lost, it still occupies that area, creating useless space.
Although it thinks that it is a loss of less than 100 bytes.

StepA11

Go to the main menu.
Next, I will create an event that makes the unit We created earlier appear.

StepA12

To create an event, click on the part marked “Event”.

i.imgur.com_dgw9bdg.jpg

StepA13

We came to the event setting screen.
This time, they will make them appear at the turn event.
i.imgur.com_5p2em15.jpg

StepA14

Please check if the event type is “turned condition”.
As the default is a “turn condition”, in most cases, you do not need to do anything.
i.imgur.com_urnywby.jpg

StepA15

Next, to secure a new frame in “turn condition”, click the “Extended list” button.
i.imgur.com_urnywby.jpg

StepA16

For now, click the “Reallocate data and repoint” button.
i.imgur.com_zojuwtn.jpg

StepA17

A turn condition event has been alloced.
It was a bit too much …
Well, because it is 12 bytes, Let's not mind this time.
i.imgur.com_lmthcat.jpg


When creating properly, please specify the size to secure.
However, if it is too small, when you want to increase more, you will need to reserve additional,
In that case, loss of data due to fragmentation will occur, so it is difficult to decide which one to use.

StepA18

Since we were able to secure the area, we will create reinforcement events for the newly secured turn condition.
Please click on the newly added fifth event.

i.imgur.com_8kr0d6o.jpg

StepA19

This time it was set as follows.

i.imgur.com_wctnsbp.jpg

We will leave the event as 0 as we set it later.

Generation type22=turn condition
Start turn2
End turn3
Turn before designation0Run on Player turn


That is, It will reinforce on the player turn of the second or third turn.

A total of 2 reinforcements will be held.


A player turn is a turn that a player can manipulate.

The character reinforced by the player turn, the turn which came out does not move.
Therefore, you can defeat it with first strike.

When you reinforce on an enemy turn, you act immediately on the turn that came out, so it will be a complete surprise attack from players.
If you reinforce from behind and you move ahead with enemy turns, it is a nightmare.

In the first half of the stage, you need to reinforce on the player turn, make the enemy turn the second half, and so on.

StepA20

For now, press the “Write” button to write the result.
i.imgur.com_kadbqog.jpg

StepA21

Next, set the event.
Please click the “new event” button.
i.imgur.com_kadbqog.jpg

StepA22

you will ask “Are you sure you want to allocate new areas?”, So answer “yes”.


i.imgur.com_gzg658f.jpg

StepA23

We alloced space.
i.imgur.com_gzg658f.jpg

StepA24

A new event area has been alloced.
We will make an event in this area.

i.imgur.com_gypopgx.jpg

StepA25

By clicking on the part written as “event” you can go to the screen to set the event command.

i.imgur.com_9ah5dfg.jpg

StepA26

We came to the screen to set event instruction.
Currently, there is only a return of the terminal command, it is a completely blank state.

I will make an event to carry out the reinforcement here.

i.imgur.com_lhlntjg.jpg

StepA27

Double click the margin of the screen.
The control panel appears.
i.imgur.com_izsomz6.jpg

StepA28

Please click “Command” button.

i.imgur.com_pgcgrj6.jpg

StepA29

You can choose what command to execute in the event.
Here, all the instructions which are currently known by the analysis of the predecessors are registered.
i.imgur.com_w2yuwc8.jpg

The event instruction is located in config/data/eventcond_*.txt.
Instructions vary for each FE series.
Also, if you can use ASM, you can program new instructions.

StepA30

For this time, We want to put out the unit, so select the category “Unit Placer”.
i.imgur.com_tygktuj.jpg

StepA31

Please read “Read and move [XXXXXXXX:POINTER_UNIT:Units] Mainly reinforcement Camera operation”.
i.imgur.com_sgwohlk.jpg

After selecting, please press “Select Command” button.
In addition, it is okay to double-click an instruction.

StepA32

The instruction you chose earlier is set.
Set the arguments of the instruction.

i.imgur.com_sgwohlk.jpg

StepA33

Remember that you memorized the address when adding units in the first direction?
You will write the contents here.

This time, we set the unit to 0x01000000, so it will be 0x01000000.
i.imgur.com_55q0w3h.jpg



By the way, since it is officially a pointer, you have to do + 0x08000000 according to the rule of GBA address placement.
0x01000000 + 0x08000000 = 0x09000000, so 0x09000000 is the correct value.
However, it is troublesome to make such calculations.
Troublesome is a mistake, so it is not good.
Therefore, FEBuilderGBA will automatically convert.
Users do not think about anything, they just solve everything automatically by simply writing the values.
Of course, there is no problem even if you write the correct value that you got + 0x08000000.

StepA34

After writing the unit information value, press the Change or Insert button.
There is no current event, so the result is the same in either case.

i.imgur.com_ootn6ce.jpg

StepA35

The contents described are displayed in the list.
i.imgur.com_dxzrtbp.jpg

StepA36

Finally, please press the “write” button and write the contents.
i.imgur.com_60ic5jl.jpg

With this, data linkage was made.
You can safely forget the address of the Unit Placer you noted earlier.

StepA37

Press the F5 key to start up the emulator and check the operation.
Reinforcements will appear from 2nd turn to 3rd turn.~.

i.imgur.com_fve4iym.jpg


After confirming the reinforcement, please close the emulator.

Change in number of Units.

It may have been a bit too much to give three reinforcements from the Prologue.
Perhaps we should reduce reinforcements.

So I will try to increase or decrease the number of units.

StepB1

Please return to the main menu screen which is the main screen.
FEBuilderGBA is convenient when you press the PAUSE / BREAK key, you can return to the main screen from any screen.
i.imgur.com_4fqnrb7.jpg

In the main menu screen, the enemy characters that come out with reinforcement are properly displayed on the map.
In order to change their number, double click on the reinforcement unit.

StepB2

We jump to the setting of reinforcement character.
When we made it, it was NEW, but now they are set as reinforcements by turn, so they will be displayed as characters reinforced by turn condition.

i.imgur.com_nqzpj8u.jpg

StepB3

Let's reduce the number.
We will try only one person for the time being.
Please select the character in the middle.
i.imgur.com_ypcwklj.jpg

StepB3

Please set the unit number of the middle character to 0.
Unit number 0 means termination.
It means that there is no data after this.
i.imgur.com_atiqri5.jpg

StepB4

Write it with the “Write” button and write the result.

i.imgur.com_u4ipuj5.jpg

StepB5

Then the character in the middle is -EMPTY-.
This means the character that contains the terminal mark.
Once you move the unit setting, the display of the character after the end disappears.

i.imgur.com_u4ipuj5.jpg

StepB6

Let's start the emulator with the F5 key and check the operation.
Because we put the terminal mark in the second person, only one person will be reinforced this time.

i.imgur.com_mnzlklw.jpg

StepB7

If you are alone, you can restore it if you do not feel comfortable.
When I look at the unit information of the previous time again, it becomes 1 person.
This is because the default loads up to the end.
Because the second person has a terminal, only one person is reading.

i.imgur.com_nqa03ii.jpg

StepB8

To restore, enter “3” which is the original number of people in “Count” and press “Reacquire” button.
Then, three people will be displayed properly.

i.imgur.com_8sqyq6c.jpg

Here, you can restore by setting the unit ID of the second person to other than 0.

StepB9

Then, if we want to increase, would you like to prevent Count?
No, that is not the case.

Try to set Count to 10, which is larger than the original 3, it looks like this.

i.imgur.com_audoqsi.jpg

Something wrong, messy information was displayed.
This is because It broke through the end and interpreted another piece of information as unit information.
Rewriting these will break other information, which is very dangerous.
It leads to freezing of the game.

StepB10

If something wrong happens, once you select the list again, it will be safe because it will be automatically reacquired.
i.imgur.com_v7sq7ag.jpg

Also, even if you press the “Write” Button by mistake, you can undo it with the Undo function, and if you write it to the ROM in the main menu in the first place, since all processing is done in memory unless you order it,
Even if you write it in ROM, FEBuilder is backing up before writing it to ROM.
However, if you say that you backed up all your backups, there is nothing you can do.

StepB11

So, if you do not remember the original number or increase the number of units more than the number secured for the first time, use the “Extended list” button.

i.imgur.com_hbkohhg.jpg

StepB12

In Extended list, enter the number of people you want to set up, you can safely extend the data.

i.imgur.com_ldlvzpr.jpg

StepB13

I tried to increase it to five people.
i.imgur.com_d2r1aac.jpg

Even though you can change it in as many as possible in the extended list, if you do the Extended list a lot of fragment data that can not be used will be born, squeezing the remaining capacity.

In the future, I would like to create a deflag function to reuse fragment data.
However, development is difficult because it is quite difficult.

END

That is the end of the reinforcement explanation.
Adjustment of the number of units is also done as chapter start event, so if you remember how to do it, it can be applied in a wide range of games.

en/guide/febuildergba/reinforcement_en.txt · 最終更新: 2018/09/23 19:08 by 211.14.62.193