mirror of
https://github.com/notwa/mm
synced 2024-09-20 15:54:06 -07:00
implement spawning for MM again
This commit is contained in:
parent
ccdb3b130d
commit
2ee3f54173
3 changed files with 3 additions and 7 deletions
|
@ -1,5 +1,6 @@
|
||||||
[actor_spawn]: 0x800BC98C
|
[actor_spawn]: 0x800BC98C
|
||||||
[object_spawn]: 0x80130D50
|
[object_spawn]: 0x80130D50
|
||||||
|
[object_index]: 0x80131078
|
||||||
[max_actor_no]: 0x2B1
|
[max_actor_no]: 0x2B1
|
||||||
|
|
||||||
[global_context]: 0x803E6CF0
|
[global_context]: 0x803E6CF0
|
||||||
|
@ -19,6 +20,3 @@
|
||||||
[upgrades_2_offset]: 0xBA
|
[upgrades_2_offset]: 0xBA
|
||||||
|
|
||||||
.include "spawn.asm"
|
.include "spawn.asm"
|
||||||
|
|
||||||
actor_object_table:
|
|
||||||
.include "actor object table mm.asm"
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[actor_spawn]: 0x800BAE14
|
[actor_spawn]: 0x800BAE14
|
||||||
[object_spawn]: 0x8012F2E0
|
[object_spawn]: 0x8012F2E0
|
||||||
|
[object_index]: 0x8012F608
|
||||||
[max_actor_no]: 0x2B1
|
[max_actor_no]: 0x2B1
|
||||||
|
|
||||||
[global_context]: 0x803E6B20
|
[global_context]: 0x803E6B20
|
||||||
|
@ -19,6 +20,3 @@
|
||||||
[upgrades_2_offset]: 0xBA
|
[upgrades_2_offset]: 0xBA
|
||||||
|
|
||||||
.include "spawn.asm"
|
.include "spawn.asm"
|
||||||
|
|
||||||
actor_object_table:
|
|
||||||
.include "actor object table mm.asm"
|
|
||||||
|
|
|
@ -129,7 +129,7 @@ hold_delay:
|
||||||
nop
|
nop
|
||||||
// NOTE: this allows object 0002 to load in places it's not meant to.
|
// NOTE: this allows object 0002 to load in places it's not meant to.
|
||||||
// this can mess up door graphics (among other things?)
|
// this can mess up door graphics (among other things?)
|
||||||
jal object_spawn
|
jal @object_spawn
|
||||||
nop
|
nop
|
||||||
//subiu v0, r0, -1 // original code
|
//subiu v0, r0, -1 // original code
|
||||||
+:
|
+:
|
||||||
|
|
Loading…
Reference in a new issue