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)
|
TEXTFILES := $(shell find ./ -type f -name '*.asm' | grep -v globals.asm)
|
||||||
TEXTQUEUE :=
|
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)
|
OBJS := $(CRYSTAL_OBJS)
|
||||||
|
|
||||||
ROMS := pokecrystal.gbc
|
ROMS := pokecrystal.gbc
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
INCLUDE "includes.asm"
|
||||||
|
|
||||||
|
SECTION "events", ROMX, BANK[$25]
|
||||||
|
|
||||||
Function966b0: ; 966b0
|
Function966b0: ; 966b0
|
||||||
xor a
|
xor a
|
||||||
ld [$d432], a
|
ld [$d432], a
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
|
INCLUDE "includes.asm"
|
||||||
|
|
||||||
; More overworld event handling.
|
; More overworld event handling.
|
||||||
|
|
||||||
|
SECTION "events2", ROMX, BANK[$25]
|
||||||
|
|
||||||
Function97c28: ; 97c28
|
Function97c28: ; 97c28
|
||||||
ld hl, StatusFlags2
|
ld hl, StatusFlags2
|
||||||
res 1, [hl]
|
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"
|
4
main.asm
4
main.asm
@ -85545,10 +85545,6 @@ SECTION "bank25",ROMX,BANK[$25]
|
|||||||
INCLUDE "maps/map_headers.asm"
|
INCLUDE "maps/map_headers.asm"
|
||||||
INCLUDE "maps/second_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]
|
SECTION "bank26",ROMX,BANK[$26]
|
||||||
|
Loading…
Reference in New Issue
Block a user