Build a ROM (99.99% incbins).

This commit is contained in:
IIMarckus
2015-12-10 00:42:13 -07:00
parent 69eaa2ab99
commit 23cf4c823a
2 changed files with 19 additions and 1 deletions

View File

@@ -1,4 +1,9 @@
all: text.tbl
all: pokestadium.n64
pokestadium.n64: main.s
armips main.s
#all: text.tbl
TBLS = \
text/0x783a50.bin \

13
stadium1/main.s Normal file
View File

@@ -0,0 +1,13 @@
.n64
.open baserom.n64,pokestadium.n64,0
; moves legality checker
.orga 0x2ecb38
or v0, s4, r0
lbu v1, 0x000a (v0) ; load starting move in v1
addiu s0, s0, 1
slti at, s0, 4 ; set at to 1 if four moves haven't been checked yet
beq v1, r0, 0x2ecb64
nop
.close