Game Development Reference
In-Depth Information
Figure 13-9. Screenshot of the second floor of the Devil's Castle. Note the five treasure chests present on the level
So, how do you make a chest that contains an enemy? It is incredibly simple. All you have to do is add the
following two lines to a treasure chest event:
@>Text: -, -, Normal, Bottom
: : You are attacked by a monster in a box!
@>Battle Processing: Vampire
You can insert that code into any part of the default treasure chest event's first page, and the end result will
be the same. The game interrupts event processing to do battle processing, so that the event will functionally “freeze in
place” until the player defeats the forced encounter.
Note
As promised, Figure 13-8 is an image of what my Vampire entry looks like now. As I only tweaked this enemy's
parameters, that's all that the picture contains. Everything else is at their default settings.
This stat-block makes the Vampire the second strongest regular encounter in our game.
 
Search WWH ::




Custom Search