1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-28 15:56:51 +00:00
oot/data/overlays/actors/z_en_niw.rodata.s
Lucas Shaw 045a92d7c3
Big actor cleanup (fixed) (#69)
* Started doing cleanup

* did more work

* did more migration

* migrated more rodata and worked on some structs

* did more work

* Removal of ROOM field from initvars, some rodata migration, some string decompilation

* General update

* Decompiled vt strings

* Tool work

* Tool improvements

* 270 overlay rodata files remaining

* better float handling

* floats

* Many more floats

* migrated boss_mo

* assorted fixes

* Migrated 10

* tool improvements

* migrated 10

* 10 more

* 1 more

* did a few more

* fixes

* 10 more

* more floats

* Did some more, updated migrate-rodata.py to 'modify' the C file after processing in order to make to compiler process it as if it was changed.

* removed changes made to script by accident

* migrated largest rodata - ovl_fishing

* Did some more

* 114 remaining

* 99 left !

* almost done migrating rodata

* did some more, done for tonight

* almost done, tried add support to the script for z_player

* All possible rodata migrated in actor overlays

* update

* removed static from all overlays, ran format.sh

* Removed unknown actor structs

* converted a few floats

* Added new lines to header files that were missing them. Removed unused asm files

* Removed unused asm files

* Formatting newlines

Further formatting

spacing

.float spacing

More space formatting

More spacing formatting

Removing .balign 4 after floats

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2020-04-14 14:16:34 -04:00

249 lines
4.1 KiB
ArmAsm
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .rodata
glabel D_80AB8720
.asciz " Ver.1 \n"
.balign 4
glabel D_80AB8754
.asciz " Ver.2 \n"
.balign 4
glabel D_80AB8788
.asciz " index %d\n"
.balign 4
.balign 4
glabel D_80AB87A4
.asciz " %d\n"
.balign 4
.balign 4
glabel D_80AB87D4
.asciz "\n\n"
.balign 4
glabel D_80AB87D8
.asciz "\n\n"
.balign 4
glabel D_80AB87DC
.asciz " \n"
.balign 4
.balign 4
glabel D_80AB880C
.asciz " %f\n"
.balign 4
.balign 4
glabel D_80AB8838
.asciz " %f\n"
.balign 4
.balign 4
glabel D_80AB8868
.asciz " %f\n"
.balign 4
.balign 4
glabel D_80AB8898
.asciz " %f\n"
.balign 4
.balign 4
glabel D_80AB88C8
.asciz " %f\n"
.balign 4
.balign 4
glabel D_80AB88F8
.asciz " %f\n"
.balign 4
.balign 4
glabel D_80AB8928
.asciz " %f\n"
.balign 4
.balign 4
glabel D_80AB8958
.asciz " %f\n"
.balign 4
.balign 4
glabel D_80AB8988
.asciz " %f\n"
.balign 4
.balign 4
glabel D_80AB89B8
.asciz " %f\n"
.balign 4
.balign 4
glabel D_80AB89E8
.asciz "\n\n"
.balign 4
glabel D_80AB89EC
.asciz "\n\n"
.balign 4
glabel D_80AB89F0
.asciz " \n"
.balign 4
.balign 4
glabel D_80AB8A1C
.asciz "\n\n"
.balign 4
glabel D_80AB8A20
.asciz "../z_en_niw.c"
.balign 4
glabel D_80AB8A30
.asciz "../z_en_niw.c"
.balign 4
glabel D_80AB8A40
.asciz "../z_en_niw.c"
.balign 4
glabel D_80AB8A50
.word 0x44BF4000
glabel D_80AB8A54
.word 0x407F5C29
glabel jtbl_80AB8A58
.word L80AB5A44
.word L80AB5A28
.word L80AB5A64
.word L80AB5AE8
.word L80AB5A84
.word L80AB5AF4
.word L80AB5AA4
.word L80AB5AF4
.word L80AB5AF4
.word L80AB5AF4
.word L80AB5AF4
.word L80AB5AF4
.word L80AB5AC4
.word L80AB5AD0
glabel D_80AB8A90
.word 0xC61C4000
glabel jtbl_80AB8A94
.word L80AB5D08
.word L80AB5D14
.word L80AB5D44
.word L80AB5DA4
.word L80AB5DD8
.word L80AB5DE4
glabel D_80AB8AAC
.float 7000.0
.balign 4
glabel D_80AB8AB0
.word 0x46C35000
glabel D_80AB8AB4
.float 6000.0
.balign 4
glabel D_80AB8AB8
.word 0xC61C4000
glabel D_80AB8ABC
.word 0xC61C4000
glabel D_80AB8AC0
.float 10000.0
.balign 4
glabel D_80AB8AC4
.float 3000.0
.balign 4
glabel D_80AB8AC8
.word 0x465AC000
glabel D_80AB8ACC
.float 10000.0
.balign 4
glabel D_80AB8AD0
.float 0.3
.balign 4
glabel D_80AB8AD4
.float 1.99000000954
.balign 4
glabel D_80AB8AD8
.word 0x407F5C29
glabel D_80AB8ADC
.word 0x407F5C29
glabel D_80AB8AE0
.word 0x4622F983
glabel D_80AB8AE4
.word 0x4622F983
glabel D_80AB8AE8
.float 5000.0
.balign 4
glabel D_80AB8AEC
.float 5000.0
.balign 4
glabel D_80AB8AF0
.float 5000.0
.balign 4
glabel D_80AB8AF4
.word 0x465AC000
glabel D_80AB8AF8
.float 10000.0
.balign 4
glabel D_80AB8AFC
.float 1.99000000954
.balign 4
glabel D_80AB8B00
.float 1.99000000954
.balign 4
glabel D_80AB8B04
.word 0x4622F983
glabel D_80AB8B08
.word 0x407F5C29
glabel D_80AB8B0C
.word 0xBE19999A
glabel D_80AB8B10
.float 0.2
.balign 4
glabel D_80AB8B14
.float 3.14159274101
.balign 4
glabel D_80AB8B18
.word 0x3D4CCCCD, 0x00000000