Skeetendo

’Cause all games were better on the GBC

You are not logged in.

  • Index
  • → Help/Question
  • → Pokemon Red ASM Help: Turning sprites and initiating battles

#1 2015-04-22 15:41:29

~Red
Member
Registered: 2010-10-16
Post 241/276

Pokemon Red ASM Help: Turning sprites and initiating battles

So I'm currently creating a cutscene in Pokemon Red and I need to be able to turn NPC's facing direction and initiate battles but im kinda stuck. Been studying Gary's room and can't understand how the battle is initiated/cannot find it. Also the script so far moves the player character and then displays some text, I then want an NPC to turn and face the player, then more text, then battle.

As a side query: Is it theoretically possible to change a tile in the map by initiating a script upon entry of the map to check a flag, if flag is true then change that particular tile in the map data's ram?

Offline

#2 2015-04-22 16:00:37

comet
Member
Registered: 2012-04-09
Post 561/672

Re: Pokemon Red ASM Help: Turning sprites and initiating battles

The battle is initiated implicitly. The overworld loop checks for W_CUROPPONENT.

Offline

  • Index
  • → Help/Question
  • → Pokemon Red ASM Help: Turning sprites and initiating battles

Board footer

Powered by FluxBB