mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
objects for event handling and scripting
This commit is contained in:
parent
29afa24f0b
commit
cf6295cb9f
2
Makefile
2
Makefile
@ -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
|
||||
|
@ -1,3 +1,7 @@
|
||||
INCLUDE "includes.asm"
|
||||
|
||||
SECTION "events", ROMX, BANK[$25]
|
||||
|
||||
Function966b0: ; 966b0
|
||||
xor a
|
||||
ld [$d432], a
|
||||
|
@ -1,5 +1,9 @@
|
||||
INCLUDE "includes.asm"
|
||||
|
||||
; More overworld event handling.
|
||||
|
||||
SECTION "events2", ROMX, BANK[$25]
|
||||
|
||||
Function97c28: ; 97c28
|
||||
ld hl, StatusFlags2
|
||||
res 1, [hl]
|
||||
|
5
engine/scripting_crystal.asm
Normal file
5
engine/scripting_crystal.asm
Normal file
@ -0,0 +1,5 @@
|
||||
INCLUDE "pokecrystal.asm"
|
||||
INCLUDE "includes.asm"
|
||||
|
||||
SECTION "scripting", ROMX, BANK[$25]
|
||||
INCLUDE "engine/scripting.asm"
|
Loading…
Reference in New Issue
Block a user