Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2011-07-02 15:29:41

Sawakita
Administrator
Registered: 2010-10-16
Post 152/365

R/B Mart & PokeCenter Scripts

=============================
[R/B] Mart & PokeCenter Scripts
=============================

Adding new Marts or Pokecenter in Red/Blue is pretty easy. They have a built-in text-script command that does everything for you (i.e. no ASM needed). These commands need to be pointed by a text pointer in the map's text-pointers list (see RBGY map headers doc for more info)

-----------
  MART
-----------
Structure: [$FE][number of items][1st item][2nd item]...[$FF]
(thanks to IIMarckus for this structure info)

---------------------
  POKECENTER
---------------------
Structure: [$FF]
Notice that the healing machine animation would need ASM to be edited so, if you don't want to re-work it, make sure the person to which you assign this text-script is immediately on the right of a healing machine, and steady (i.e. non-walking).



That's all. Of course don't forget to assign these text-scripts to a person in-putting the correct text_ID in the object-data (again, read more about this in the RBGY map headers doc, if you need to).

Offline

Board footer

Powered by FluxBB