objects for event handling and scripting

This commit is contained in:
yenatch 2013-11-23 02:51:48 -05:00
parent 29afa24f0b
commit cf6295cb9f
5 changed files with 14 additions and 5 deletions

View File

@ -6,7 +6,7 @@ PYTHON := python
TEXTFILES := $(shell find ./ -type f -name '*.asm' | grep -v globals.asm)
TEXTQUEUE :=
CRYSTAL_OBJS := wram.o main.o stats/egg_moves_crystal.o stats/evos_attacks_crystal.o
CRYSTAL_OBJS := wram.o main.o engine/events.o engine/scripting_crystal.o engine/events_2.o stats/egg_moves_crystal.o stats/evos_attacks_crystal.o
OBJS := $(CRYSTAL_OBJS)
ROMS := pokecrystal.gbc

View File

@ -1,3 +1,7 @@
INCLUDE "includes.asm"
SECTION "events", ROMX, BANK[$25]
Function966b0: ; 966b0
xor a
ld [$d432], a

View File

@ -1,5 +1,9 @@
INCLUDE "includes.asm"
; More overworld event handling.
SECTION "events2", ROMX, BANK[$25]
Function97c28: ; 97c28
ld hl, StatusFlags2
res 1, [hl]

View File

@ -0,0 +1,5 @@
INCLUDE "pokecrystal.asm"
INCLUDE "includes.asm"
SECTION "scripting", ROMX, BANK[$25]
INCLUDE "engine/scripting.asm"

View File

@ -85545,10 +85545,6 @@ SECTION "bank25",ROMX,BANK[$25]
INCLUDE "maps/map_headers.asm"
INCLUDE "maps/second_map_headers.asm"
INCLUDE "engine/events.asm"
INCLUDE "engine/scripting.asm"
INCLUDE "engine/events_2.asm"
SECTION "bank26",ROMX,BANK[$26]