Re: Pokemon GCL Version.
Posted by: Abwayax
Date: 2007-01-21 16:15:54
def EnigmaGrunt11_onAction():
EnigmaGrunt11.move('right')
print 'The Gnome Council demands scones!'
Obstruction.destroy()
which, when EnigmaGrunt11 is contacted by the player (the player presses the action key while facing him), moves EnigmaGrunt11 right one space, prints "The Gnome Council demands scones!" to the console output, and destroys (removes from the map) the object called "Obstruction", which might be a door or some such thing blocking the player.
Warps are pretty straightforward - when the player lands on a tile that has a warp located on it, the player is moved to another map and placed in another tile on that map.
Edit: Sprites can now be taller than 16px.