resolve conflicts with master

This commit is contained in:
Alex Bates 2020-08-20 17:02:57 +01:00
commit 4f2261c5d9
No known key found for this signature in database
GPG Key ID: 5E11C2DB78877706
266 changed files with 7467 additions and 10356 deletions

View File

@ -1,23 +0,0 @@
IndentWidth: 4
Language: Cpp
UseTab: Never
ColumnLimit: 120
PointerAlignment: Left
BreakBeforeBraces: Attach
SpaceAfterCStyleCast: false
Cpp11BracedListStyle: false
IndentCaseLabels: true
BinPackArguments: true
BinPackParameters: true
AlignAfterOpenBracket: Align
AlignOperands: true
BreakBeforeTernaryOperators: true
BreakBeforeBinaryOperators: None
AllowShortBlocksOnASingleLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AlignEscapedNewlines: Left
AlignTrailingComments: true
SortIncludes: false

View File

@ -1,5 +1,2 @@
Checks: '-*,readability-braces-around-statements'
WarningsAsErrors: ''
HeaderFilterRegex: '(src|include)\/.*\.h$'
FormatStyle: 'file'
CheckOptions:
Checks: '-*,clang-analyzer-core.*,clang-analyzer-deadcode.*,readability-*,-readability-magic-numbers,-readability-else-after-return,-readability-named-parameter,-readability-braces-around-statements,-readability-isolate-declaration,-readability-uppercase-literal-suffix,-readability-function-size,-readability-non-const-parameter,-clang-diagnostic-error'
HeaderFilterRegex: '(src|include)\/.*\.h'

36
.github/workflows/lint.yaml vendored Normal file
View File

@ -0,0 +1,36 @@
name: Lint
on:
push:
paths:
- 'src/*'
- 'include/*'
pull_request:
paths:
- 'src/*'
- 'include/*'
jobs:
build:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install -y astyle clang-tidy
# lint files changed by the push/pr
- id: files
uses: trilom/file-changes-action@v1.2.4
with:
output: ' '
- run: ./format.sh ${{ steps.files.outputs.files}}
# fail if any files were changed by ./format.sh
- id: files_formatted
uses: jackton1/find-changed-files@v1.1
with:
files: src, include
- name: Fail if any files reformatted
if: steps.files_formatted.outputs.files_changed == 'true'
run: exit 1

6
.gitmodules vendored
View File

@ -1,6 +1,6 @@
[submodule "n64splitter"]
path = tools/n64splitter
url = https://github.com/ethteck/sm64tools.git
[submodule "tools/star-rod"]
path = tools/star-rod
url = https://github.com/nanaian/star-rod.git
[submodule "tools/n64splat"]
path = tools/n64splat
url = https://github.com/ethteck/n64splat.git

View File

@ -2,5 +2,9 @@
"recommendations": [
"ms-vscode.cpptools",
"nanaian.vscode-star-rod",
"notskm.clang-tidy",
],
"unwantedRecommendations": [
"llvm-vs-code-extensions.vscode-clangd",
],
}

View File

@ -3,4 +3,13 @@
"editor.insertSpaces": true,
"files.eol": "\n",
"files.insertFinalNewline": true,
"editor.rulers": [120],
"clang-tidy.compilerArgs": [
"-fno-builtin",
"-std=gnu89",
"-Iinclude",
"-Iinclude/PR",
"-Isrc",
"-D_LANGUAGE_C",
],
}

8
.vscode/tasks.json vendored
View File

@ -9,7 +9,7 @@
{
"fileLocation": ["relative", "${workspaceFolder}"],
"pattern": {
"regexp": "^(src\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"severity": 3,
@ -20,7 +20,7 @@
"fileLocation": ["relative", "${workspaceFolder}"],
"severity": "error",
"pattern": {
"regexp": "^(src\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
"file": 1,
"line": 2,
"message": 3,
@ -44,7 +44,7 @@
"activeOnStart": true,
},
"pattern": {
"regexp": "^(src\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"severity": 3,
@ -58,7 +58,7 @@
},
"severity": "error",
"pattern": {
"regexp": "^(src\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
"file": 1,
"line": 2,
"message": 3,

View File

@ -54,10 +54,10 @@ OBJCOPY = $(CROSS)objcopy
TARGET = papermario
CPPFLAGS = -Iinclude -D _LANGUAGE_C -ffreestanding -DF3DEX_GBI_2
CPPFLAGS = -fno-builtin -Iinclude -D _LANGUAGE_C -ffreestanding -DF3DEX_GBI_2
ASFLAGS = -EB -march=vr4300 -mtune=vr4300 -Iinclude
OLDASFLAGS= -EB -Iinclude
CFLAGS = -O2 -quiet -G 0 -mcpu=vr4300 -mfix4300 -mips3 -mgp32 -mfp32
CFLAGS = -fno-builtin -O2 -quiet -G 0 -mcpu=vr4300 -mfix4300 -mips3 -mgp32 -mfp32
LDFLAGS = -T undefined_syms.txt -T $(LD_SCRIPT) -Map $(BUILD_DIR)/papermario.map --no-check-sections
######################## Targets #############################
@ -76,13 +76,10 @@ clean:
submodules:
git submodule update --init --recursive
n64split:
make -C tools/n64splitter
split:
rm -rf $(DATA_DIRS) $(BGM_DIRS) && ./tools/n64splitter/bin/n64split -b -v -o . -c tools/n64split.yaml baserom.z64
rm -rf $(DATA_DIRS) $(BGM_DIRS) && ./tools/n64splat/split.py baserom.z64 tools/splat.yaml .
setup: clean submodules n64split split
setup: clean submodules split
print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true

View File

@ -94,7 +94,16 @@ You're on your own now. Get your C code compiling to match the original assembly
If you use Visual Studio Code, you can use _Run Test Task_ to run `diff.py` and show you errors and warnings from the compiler inline. You might want to attach _Run Test Task_ to a keybinding, as you'll be using it often.
Once you've matched a function, delete its assembly file. Run `./coverage.py --delete-matched` to do this automatically.
#### After matching
Once you've matched a function, run the following scripts:
```sh
$ ./coverage.py --delete-matched
$ ./format.sh
```
If `format.sh` has any problems with your code, go and fix the issues. If you can't fix a warning without making the function not match anymore, append `// NOLINT` to the offending line.
## FAQ

View File

@ -9,7 +9,7 @@
.include "macro.inc"
.section .textA4000040, "ax"
.section .text40_boot, "ax"
/* 000040 A4000040 40806800 */ mtc0 $zero, $13
/* 000044 A4000044 40804800 */ mtc0 $zero, $9

View File

@ -1,4 +1,4 @@
.section .header, "a"
.section .text0_header, "a"
.byte 0x80, 0x37, 0x12, 0x40 # PI BSD Domain 1 register
.word 0x0000000F # clock rate setting
.word 0x80125C00 # entry point

View File

@ -1,55 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802B7000
/* E20EB0 802B7000 3C014387 */ lui $at, 0x4387
/* E20EB4 802B7004 44810000 */ mtc1 $at, $f0
/* E20EB8 802B7008 00000000 */ nop
/* E20EBC 802B700C 460C003E */ c.le.s $f0, $f12
/* E20EC0 802B7010 00000000 */ nop
/* E20EC4 802B7014 45000009 */ bc1f .L802B703C
/* E20EC8 802B7018 240200FF */ addiu $v0, $zero, 0xff
/* E20ECC 802B701C 3C0143B4 */ lui $at, 0x43b4
/* E20ED0 802B7020 44810000 */ mtc1 $at, $f0
/* E20ED4 802B7024 00000000 */ nop
/* E20ED8 802B7028 460C0001 */ sub.s $f0, $f0, $f12
/* E20EDC 802B702C 4600010D */ trunc.w.s $f4, $f0
/* E20EE0 802B7030 44032000 */ mfc1 $v1, $f4
/* E20EE4 802B7034 080ADC2B */ j .L802B70AC
/* E20EE8 802B7038 00431023 */ subu $v0, $v0, $v1
.L802B703C:
/* E20EEC 802B703C 3C014334 */ lui $at, 0x4334
/* E20EF0 802B7040 44811000 */ mtc1 $at, $f2
/* E20EF4 802B7044 00000000 */ nop
/* E20EF8 802B7048 460C103E */ c.le.s $f2, $f12
/* E20EFC 802B704C 00000000 */ nop
/* E20F00 802B7050 45000006 */ bc1f .L802B706C
/* E20F04 802B7054 00000000 */ nop
/* E20F08 802B7058 46026001 */ sub.s $f0, $f12, $f2
/* E20F0C 802B705C 4600010D */ trunc.w.s $f4, $f0
/* E20F10 802B7060 44032000 */ mfc1 $v1, $f4
/* E20F14 802B7064 080ADC2B */ j .L802B70AC
/* E20F18 802B7068 00431023 */ subu $v0, $v0, $v1
.L802B706C:
/* E20F1C 802B706C 3C0142B4 */ lui $at, 0x42b4
/* E20F20 802B7070 44810000 */ mtc1 $at, $f0
/* E20F24 802B7074 00000000 */ nop
/* E20F28 802B7078 460C003E */ c.le.s $f0, $f12
/* E20F2C 802B707C 00000000 */ nop
/* E20F30 802B7080 45000006 */ bc1f .L802B709C
/* E20F34 802B7084 240200FF */ addiu $v0, $zero, 0xff
/* E20F38 802B7088 460C1001 */ sub.s $f0, $f2, $f12
/* E20F3C 802B708C 4600010D */ trunc.w.s $f4, $f0
/* E20F40 802B7090 44032000 */ mfc1 $v1, $f4
/* E20F44 802B7094 080ADC2B */ j .L802B70AC
/* E20F48 802B7098 00431023 */ subu $v0, $v0, $v1
.L802B709C:
/* E20F4C 802B709C 4600610D */ trunc.w.s $f4, $f12
/* E20F50 802B70A0 44032000 */ mfc1 $v1, $f4
/* E20F54 802B70A4 00000000 */ nop
/* E20F58 802B70A8 00431023 */ subu $v0, $v0, $v1
.L802B70AC:
/* E20F5C 802B70AC 03E00008 */ jr $ra
/* E20F60 802B70B0 00431023 */ subu $v0, $v0, $v1

View File

@ -1,27 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel si_handle_Loop
/* 0E93B0 802C4A00 8C83000C */ lw $v1, 0xc($a0)
/* 0E93B4 802C4A04 90820006 */ lbu $v0, 6($a0)
/* 0E93B8 802C4A08 8C660000 */ lw $a2, ($v1)
/* 0E93BC 802C4A0C 24420001 */ addiu $v0, $v0, 1
/* 0E93C0 802C4A10 A0820006 */ sb $v0, 6($a0)
/* 0E93C4 802C4A14 00021600 */ sll $v0, $v0, 0x18
/* 0E93C8 802C4A18 00022E03 */ sra $a1, $v0, 0x18
/* 0E93CC 802C4A1C 28A20008 */ slti $v0, $a1, 8
/* 0E93D0 802C4A20 14400003 */ bnez $v0, .L802C4A30
/* 0E93D4 802C4A24 24630004 */ addiu $v1, $v1, 4
.L802C4A28:
/* 0E93D8 802C4A28 080B128A */ j .L802C4A28
/* 0E93DC 802C4A2C 00000000 */ nop
.L802C4A30:
/* 0E93E0 802C4A30 00051080 */ sll $v0, $a1, 2
/* 0E93E4 802C4A34 00821021 */ addu $v0, $a0, $v0
/* 0E93E8 802C4A38 AC4300D0 */ sw $v1, 0xd0($v0)
/* 0E93EC 802C4A3C AC4600F0 */ sw $a2, 0xf0($v0)
/* 0E93F0 802C4A40 03E00008 */ jr $ra
/* 0E93F4 802C4A44 24020002 */ addiu $v0, $zero, 2

View File

@ -1,28 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel si_handle_get_1_float
/* 0EA864 802C5EB4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0EA868 802C5EB8 AFB00010 */ sw $s0, 0x10($sp)
/* 0EA86C 802C5EBC 0080802D */ daddu $s0, $a0, $zero
/* 0EA870 802C5EC0 AFBF0018 */ sw $ra, 0x18($sp)
/* 0EA874 802C5EC4 AFB10014 */ sw $s1, 0x14($sp)
/* 0EA878 802C5EC8 8E03000C */ lw $v1, 0xc($s0)
/* 0EA87C 802C5ECC 8E020138 */ lw $v0, 0x138($s0)
/* 0EA880 802C5ED0 8C710000 */ lw $s1, ($v1)
/* 0EA884 802C5ED4 8C450000 */ lw $a1, ($v0)
/* 0EA888 802C5ED8 24420004 */ addiu $v0, $v0, 4
/* 0EA88C 802C5EDC 0C0B210B */ jal get_float_variable
/* 0EA890 802C5EE0 AE020138 */ sw $v0, 0x138($s0)
/* 0EA894 802C5EE4 0200202D */ daddu $a0, $s0, $zero
/* 0EA898 802C5EE8 44060000 */ mfc1 $a2, $f0
/* 0EA89C 802C5EEC 0C0B2190 */ jal set_float_variable
/* 0EA8A0 802C5EF0 0220282D */ daddu $a1, $s1, $zero
/* 0EA8A4 802C5EF4 8FBF0018 */ lw $ra, 0x18($sp)
/* 0EA8A8 802C5EF8 8FB10014 */ lw $s1, 0x14($sp)
/* 0EA8AC 802C5EFC 8FB00010 */ lw $s0, 0x10($sp)
/* 0EA8B0 802C5F00 24020002 */ addiu $v0, $zero, 2
/* 0EA8B4 802C5F04 03E00008 */ jr $ra
/* 0EA8B8 802C5F08 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,42 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel si_handle_get_2_float
/* 0EA8BC 802C5F0C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0EA8C0 802C5F10 AFB00010 */ sw $s0, 0x10($sp)
/* 0EA8C4 802C5F14 0080802D */ daddu $s0, $a0, $zero
/* 0EA8C8 802C5F18 AFBF001C */ sw $ra, 0x1c($sp)
/* 0EA8CC 802C5F1C AFB20018 */ sw $s2, 0x18($sp)
/* 0EA8D0 802C5F20 AFB10014 */ sw $s1, 0x14($sp)
/* 0EA8D4 802C5F24 8E11000C */ lw $s1, 0xc($s0)
/* 0EA8D8 802C5F28 8E020138 */ lw $v0, 0x138($s0)
/* 0EA8DC 802C5F2C 8E320000 */ lw $s2, ($s1)
/* 0EA8E0 802C5F30 26310004 */ addiu $s1, $s1, 4
/* 0EA8E4 802C5F34 8C450000 */ lw $a1, ($v0)
/* 0EA8E8 802C5F38 24420004 */ addiu $v0, $v0, 4
/* 0EA8EC 802C5F3C 0C0B210B */ jal get_float_variable
/* 0EA8F0 802C5F40 AE020138 */ sw $v0, 0x138($s0)
/* 0EA8F4 802C5F44 0200202D */ daddu $a0, $s0, $zero
/* 0EA8F8 802C5F48 44060000 */ mfc1 $a2, $f0
/* 0EA8FC 802C5F4C 0C0B2190 */ jal set_float_variable
/* 0EA900 802C5F50 0240282D */ daddu $a1, $s2, $zero
/* 0EA904 802C5F54 0200202D */ daddu $a0, $s0, $zero
/* 0EA908 802C5F58 8E020138 */ lw $v0, 0x138($s0)
/* 0EA90C 802C5F5C 8E310000 */ lw $s1, ($s1)
/* 0EA910 802C5F60 8C450000 */ lw $a1, ($v0)
/* 0EA914 802C5F64 24420004 */ addiu $v0, $v0, 4
/* 0EA918 802C5F68 0C0B210B */ jal get_float_variable
/* 0EA91C 802C5F6C AE020138 */ sw $v0, 0x138($s0)
/* 0EA920 802C5F70 0200202D */ daddu $a0, $s0, $zero
/* 0EA924 802C5F74 44060000 */ mfc1 $a2, $f0
/* 0EA928 802C5F78 0C0B2190 */ jal set_float_variable
/* 0EA92C 802C5F7C 0220282D */ daddu $a1, $s1, $zero
/* 0EA930 802C5F80 8FBF001C */ lw $ra, 0x1c($sp)
/* 0EA934 802C5F84 8FB20018 */ lw $s2, 0x18($sp)
/* 0EA938 802C5F88 8FB10014 */ lw $s1, 0x14($sp)
/* 0EA93C 802C5F8C 8FB00010 */ lw $s0, 0x10($sp)
/* 0EA940 802C5F90 24020002 */ addiu $v0, $zero, 2
/* 0EA944 802C5F94 03E00008 */ jr $ra
/* 0EA948 802C5F98 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,32 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel si_handle_get_2_word
/* 0EA674 802C5CC4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0EA678 802C5CC8 AFB00010 */ sw $s0, 0x10($sp)
/* 0EA67C 802C5CCC 0080802D */ daddu $s0, $a0, $zero
/* 0EA680 802C5CD0 AFBF0018 */ sw $ra, 0x18($sp)
/* 0EA684 802C5CD4 AFB10014 */ sw $s1, 0x14($sp)
/* 0EA688 802C5CD8 8E11000C */ lw $s1, 0xc($s0)
/* 0EA68C 802C5CDC 8E020138 */ lw $v0, 0x138($s0)
/* 0EA690 802C5CE0 8E250000 */ lw $a1, ($s1)
/* 0EA694 802C5CE4 26310004 */ addiu $s1, $s1, 4
/* 0EA698 802C5CE8 8C460000 */ lw $a2, ($v0)
/* 0EA69C 802C5CEC 24420004 */ addiu $v0, $v0, 4
/* 0EA6A0 802C5CF0 0C0B2026 */ jal set_variable
/* 0EA6A4 802C5CF4 AE020138 */ sw $v0, 0x138($s0)
/* 0EA6A8 802C5CF8 0200202D */ daddu $a0, $s0, $zero
/* 0EA6AC 802C5CFC 8C820138 */ lw $v0, 0x138($a0)
/* 0EA6B0 802C5D00 8E250000 */ lw $a1, ($s1)
/* 0EA6B4 802C5D04 8C460000 */ lw $a2, ($v0)
/* 0EA6B8 802C5D08 24420004 */ addiu $v0, $v0, 4
/* 0EA6BC 802C5D0C 0C0B2026 */ jal set_variable
/* 0EA6C0 802C5D10 AC820138 */ sw $v0, 0x138($a0)
/* 0EA6C4 802C5D14 8FBF0018 */ lw $ra, 0x18($sp)
/* 0EA6C8 802C5D18 8FB10014 */ lw $s1, 0x14($sp)
/* 0EA6CC 802C5D1C 8FB00010 */ lw $s0, 0x10($sp)
/* 0EA6D0 802C5D20 24020002 */ addiu $v0, $zero, 2
/* 0EA6D4 802C5D24 03E00008 */ jr $ra
/* 0EA6D8 802C5D28 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,54 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel si_handle_get_3_float
/* 0EA94C 802C5F9C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0EA950 802C5FA0 AFB00010 */ sw $s0, 0x10($sp)
/* 0EA954 802C5FA4 0080802D */ daddu $s0, $a0, $zero
/* 0EA958 802C5FA8 AFBF001C */ sw $ra, 0x1c($sp)
/* 0EA95C 802C5FAC AFB20018 */ sw $s2, 0x18($sp)
/* 0EA960 802C5FB0 AFB10014 */ sw $s1, 0x14($sp)
/* 0EA964 802C5FB4 8E11000C */ lw $s1, 0xc($s0)
/* 0EA968 802C5FB8 8E020138 */ lw $v0, 0x138($s0)
/* 0EA96C 802C5FBC 8E320000 */ lw $s2, ($s1)
/* 0EA970 802C5FC0 26310004 */ addiu $s1, $s1, 4
/* 0EA974 802C5FC4 8C450000 */ lw $a1, ($v0)
/* 0EA978 802C5FC8 24420004 */ addiu $v0, $v0, 4
/* 0EA97C 802C5FCC 0C0B210B */ jal get_float_variable
/* 0EA980 802C5FD0 AE020138 */ sw $v0, 0x138($s0)
/* 0EA984 802C5FD4 0200202D */ daddu $a0, $s0, $zero
/* 0EA988 802C5FD8 44060000 */ mfc1 $a2, $f0
/* 0EA98C 802C5FDC 0C0B2190 */ jal set_float_variable
/* 0EA990 802C5FE0 0240282D */ daddu $a1, $s2, $zero
/* 0EA994 802C5FE4 8E320000 */ lw $s2, ($s1)
/* 0EA998 802C5FE8 26310004 */ addiu $s1, $s1, 4
/* 0EA99C 802C5FEC 8E020138 */ lw $v0, 0x138($s0)
/* 0EA9A0 802C5FF0 0200202D */ daddu $a0, $s0, $zero
/* 0EA9A4 802C5FF4 8C450000 */ lw $a1, ($v0)
/* 0EA9A8 802C5FF8 24420004 */ addiu $v0, $v0, 4
/* 0EA9AC 802C5FFC 0C0B210B */ jal get_float_variable
/* 0EA9B0 802C6000 AE020138 */ sw $v0, 0x138($s0)
/* 0EA9B4 802C6004 0200202D */ daddu $a0, $s0, $zero
/* 0EA9B8 802C6008 44060000 */ mfc1 $a2, $f0
/* 0EA9BC 802C600C 0C0B2190 */ jal set_float_variable
/* 0EA9C0 802C6010 0240282D */ daddu $a1, $s2, $zero
/* 0EA9C4 802C6014 0200202D */ daddu $a0, $s0, $zero
/* 0EA9C8 802C6018 8E020138 */ lw $v0, 0x138($s0)
/* 0EA9CC 802C601C 8E310000 */ lw $s1, ($s1)
/* 0EA9D0 802C6020 8C450000 */ lw $a1, ($v0)
/* 0EA9D4 802C6024 24420004 */ addiu $v0, $v0, 4
/* 0EA9D8 802C6028 0C0B210B */ jal get_float_variable
/* 0EA9DC 802C602C AE020138 */ sw $v0, 0x138($s0)
/* 0EA9E0 802C6030 0200202D */ daddu $a0, $s0, $zero
/* 0EA9E4 802C6034 44060000 */ mfc1 $a2, $f0
/* 0EA9E8 802C6038 0C0B2190 */ jal set_float_variable
/* 0EA9EC 802C603C 0220282D */ daddu $a1, $s1, $zero
/* 0EA9F0 802C6040 8FBF001C */ lw $ra, 0x1c($sp)
/* 0EA9F4 802C6044 8FB20018 */ lw $s2, 0x18($sp)
/* 0EA9F8 802C6048 8FB10014 */ lw $s1, 0x14($sp)
/* 0EA9FC 802C604C 8FB00010 */ lw $s0, 0x10($sp)
/* 0EAA00 802C6050 24020002 */ addiu $v0, $zero, 2
/* 0EAA04 802C6054 03E00008 */ jr $ra
/* 0EAA08 802C6058 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,40 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel si_handle_get_3_word
/* 0EA6DC 802C5D2C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0EA6E0 802C5D30 AFB00010 */ sw $s0, 0x10($sp)
/* 0EA6E4 802C5D34 0080802D */ daddu $s0, $a0, $zero
/* 0EA6E8 802C5D38 AFBF0018 */ sw $ra, 0x18($sp)
/* 0EA6EC 802C5D3C AFB10014 */ sw $s1, 0x14($sp)
/* 0EA6F0 802C5D40 8E11000C */ lw $s1, 0xc($s0)
/* 0EA6F4 802C5D44 8E020138 */ lw $v0, 0x138($s0)
/* 0EA6F8 802C5D48 8E250000 */ lw $a1, ($s1)
/* 0EA6FC 802C5D4C 26310004 */ addiu $s1, $s1, 4
/* 0EA700 802C5D50 8C460000 */ lw $a2, ($v0)
/* 0EA704 802C5D54 24420004 */ addiu $v0, $v0, 4
/* 0EA708 802C5D58 0C0B2026 */ jal set_variable
/* 0EA70C 802C5D5C AE020138 */ sw $v0, 0x138($s0)
/* 0EA710 802C5D60 8E250000 */ lw $a1, ($s1)
/* 0EA714 802C5D64 26310004 */ addiu $s1, $s1, 4
/* 0EA718 802C5D68 8E020138 */ lw $v0, 0x138($s0)
/* 0EA71C 802C5D6C 0200202D */ daddu $a0, $s0, $zero
/* 0EA720 802C5D70 8C460000 */ lw $a2, ($v0)
/* 0EA724 802C5D74 24420004 */ addiu $v0, $v0, 4
/* 0EA728 802C5D78 0C0B2026 */ jal set_variable
/* 0EA72C 802C5D7C AE020138 */ sw $v0, 0x138($s0)
/* 0EA730 802C5D80 0200202D */ daddu $a0, $s0, $zero
/* 0EA734 802C5D84 8C820138 */ lw $v0, 0x138($a0)
/* 0EA738 802C5D88 8E250000 */ lw $a1, ($s1)
/* 0EA73C 802C5D8C 8C460000 */ lw $a2, ($v0)
/* 0EA740 802C5D90 24420004 */ addiu $v0, $v0, 4
/* 0EA744 802C5D94 0C0B2026 */ jal set_variable
/* 0EA748 802C5D98 AC820138 */ sw $v0, 0x138($a0)
/* 0EA74C 802C5D9C 8FBF0018 */ lw $ra, 0x18($sp)
/* 0EA750 802C5DA0 8FB10014 */ lw $s1, 0x14($sp)
/* 0EA754 802C5DA4 8FB00010 */ lw $s0, 0x10($sp)
/* 0EA758 802C5DA8 24020002 */ addiu $v0, $zero, 2
/* 0EA75C 802C5DAC 03E00008 */ jr $ra
/* 0EA760 802C5DB0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,66 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel si_handle_get_4_float
/* 0EAA0C 802C605C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0EAA10 802C6060 AFB00010 */ sw $s0, 0x10($sp)
/* 0EAA14 802C6064 0080802D */ daddu $s0, $a0, $zero
/* 0EAA18 802C6068 AFBF001C */ sw $ra, 0x1c($sp)
/* 0EAA1C 802C606C AFB20018 */ sw $s2, 0x18($sp)
/* 0EAA20 802C6070 AFB10014 */ sw $s1, 0x14($sp)
/* 0EAA24 802C6074 8E11000C */ lw $s1, 0xc($s0)
/* 0EAA28 802C6078 8E020138 */ lw $v0, 0x138($s0)
/* 0EAA2C 802C607C 8E320000 */ lw $s2, ($s1)
/* 0EAA30 802C6080 26310004 */ addiu $s1, $s1, 4
/* 0EAA34 802C6084 8C450000 */ lw $a1, ($v0)
/* 0EAA38 802C6088 24420004 */ addiu $v0, $v0, 4
/* 0EAA3C 802C608C 0C0B210B */ jal get_float_variable
/* 0EAA40 802C6090 AE020138 */ sw $v0, 0x138($s0)
/* 0EAA44 802C6094 0200202D */ daddu $a0, $s0, $zero
/* 0EAA48 802C6098 44060000 */ mfc1 $a2, $f0
/* 0EAA4C 802C609C 0C0B2190 */ jal set_float_variable
/* 0EAA50 802C60A0 0240282D */ daddu $a1, $s2, $zero
/* 0EAA54 802C60A4 8E320000 */ lw $s2, ($s1)
/* 0EAA58 802C60A8 26310004 */ addiu $s1, $s1, 4
/* 0EAA5C 802C60AC 8E020138 */ lw $v0, 0x138($s0)
/* 0EAA60 802C60B0 0200202D */ daddu $a0, $s0, $zero
/* 0EAA64 802C60B4 8C450000 */ lw $a1, ($v0)
/* 0EAA68 802C60B8 24420004 */ addiu $v0, $v0, 4
/* 0EAA6C 802C60BC 0C0B210B */ jal get_float_variable
/* 0EAA70 802C60C0 AE020138 */ sw $v0, 0x138($s0)
/* 0EAA74 802C60C4 0200202D */ daddu $a0, $s0, $zero
/* 0EAA78 802C60C8 44060000 */ mfc1 $a2, $f0
/* 0EAA7C 802C60CC 0C0B2190 */ jal set_float_variable
/* 0EAA80 802C60D0 0240282D */ daddu $a1, $s2, $zero
/* 0EAA84 802C60D4 8E320000 */ lw $s2, ($s1)
/* 0EAA88 802C60D8 26310004 */ addiu $s1, $s1, 4
/* 0EAA8C 802C60DC 8E020138 */ lw $v0, 0x138($s0)
/* 0EAA90 802C60E0 0200202D */ daddu $a0, $s0, $zero
/* 0EAA94 802C60E4 8C450000 */ lw $a1, ($v0)
/* 0EAA98 802C60E8 24420004 */ addiu $v0, $v0, 4
/* 0EAA9C 802C60EC 0C0B210B */ jal get_float_variable
/* 0EAAA0 802C60F0 AE020138 */ sw $v0, 0x138($s0)
/* 0EAAA4 802C60F4 0200202D */ daddu $a0, $s0, $zero
/* 0EAAA8 802C60F8 44060000 */ mfc1 $a2, $f0
/* 0EAAAC 802C60FC 0C0B2190 */ jal set_float_variable
/* 0EAAB0 802C6100 0240282D */ daddu $a1, $s2, $zero
/* 0EAAB4 802C6104 0200202D */ daddu $a0, $s0, $zero
/* 0EAAB8 802C6108 8E020138 */ lw $v0, 0x138($s0)
/* 0EAABC 802C610C 8E310000 */ lw $s1, ($s1)
/* 0EAAC0 802C6110 8C450000 */ lw $a1, ($v0)
/* 0EAAC4 802C6114 24420004 */ addiu $v0, $v0, 4
/* 0EAAC8 802C6118 0C0B210B */ jal get_float_variable
/* 0EAACC 802C611C AE020138 */ sw $v0, 0x138($s0)
/* 0EAAD0 802C6120 0200202D */ daddu $a0, $s0, $zero
/* 0EAAD4 802C6124 44060000 */ mfc1 $a2, $f0
/* 0EAAD8 802C6128 0C0B2190 */ jal set_float_variable
/* 0EAADC 802C612C 0220282D */ daddu $a1, $s1, $zero
/* 0EAAE0 802C6130 8FBF001C */ lw $ra, 0x1c($sp)
/* 0EAAE4 802C6134 8FB20018 */ lw $s2, 0x18($sp)
/* 0EAAE8 802C6138 8FB10014 */ lw $s1, 0x14($sp)
/* 0EAAEC 802C613C 8FB00010 */ lw $s0, 0x10($sp)
/* 0EAAF0 802C6140 24020002 */ addiu $v0, $zero, 2
/* 0EAAF4 802C6144 03E00008 */ jr $ra
/* 0EAAF8 802C6148 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,48 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel si_handle_get_4_word
/* 0EA764 802C5DB4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0EA768 802C5DB8 AFB00010 */ sw $s0, 0x10($sp)
/* 0EA76C 802C5DBC 0080802D */ daddu $s0, $a0, $zero
/* 0EA770 802C5DC0 AFBF0018 */ sw $ra, 0x18($sp)
/* 0EA774 802C5DC4 AFB10014 */ sw $s1, 0x14($sp)
/* 0EA778 802C5DC8 8E11000C */ lw $s1, 0xc($s0)
/* 0EA77C 802C5DCC 8E020138 */ lw $v0, 0x138($s0)
/* 0EA780 802C5DD0 8E250000 */ lw $a1, ($s1)
/* 0EA784 802C5DD4 26310004 */ addiu $s1, $s1, 4
/* 0EA788 802C5DD8 8C460000 */ lw $a2, ($v0)
/* 0EA78C 802C5DDC 24420004 */ addiu $v0, $v0, 4
/* 0EA790 802C5DE0 0C0B2026 */ jal set_variable
/* 0EA794 802C5DE4 AE020138 */ sw $v0, 0x138($s0)
/* 0EA798 802C5DE8 8E250000 */ lw $a1, ($s1)
/* 0EA79C 802C5DEC 26310004 */ addiu $s1, $s1, 4
/* 0EA7A0 802C5DF0 8E020138 */ lw $v0, 0x138($s0)
/* 0EA7A4 802C5DF4 0200202D */ daddu $a0, $s0, $zero
/* 0EA7A8 802C5DF8 8C460000 */ lw $a2, ($v0)
/* 0EA7AC 802C5DFC 24420004 */ addiu $v0, $v0, 4
/* 0EA7B0 802C5E00 0C0B2026 */ jal set_variable
/* 0EA7B4 802C5E04 AE020138 */ sw $v0, 0x138($s0)
/* 0EA7B8 802C5E08 8E250000 */ lw $a1, ($s1)
/* 0EA7BC 802C5E0C 26310004 */ addiu $s1, $s1, 4
/* 0EA7C0 802C5E10 8E020138 */ lw $v0, 0x138($s0)
/* 0EA7C4 802C5E14 0200202D */ daddu $a0, $s0, $zero
/* 0EA7C8 802C5E18 8C460000 */ lw $a2, ($v0)
/* 0EA7CC 802C5E1C 24420004 */ addiu $v0, $v0, 4
/* 0EA7D0 802C5E20 0C0B2026 */ jal set_variable
/* 0EA7D4 802C5E24 AE020138 */ sw $v0, 0x138($s0)
/* 0EA7D8 802C5E28 0200202D */ daddu $a0, $s0, $zero
/* 0EA7DC 802C5E2C 8C820138 */ lw $v0, 0x138($a0)
/* 0EA7E0 802C5E30 8E250000 */ lw $a1, ($s1)
/* 0EA7E4 802C5E34 8C460000 */ lw $a2, ($v0)
/* 0EA7E8 802C5E38 24420004 */ addiu $v0, $v0, 4
/* 0EA7EC 802C5E3C 0C0B2026 */ jal set_variable
/* 0EA7F0 802C5E40 AC820138 */ sw $v0, 0x138($a0)
/* 0EA7F4 802C5E44 8FBF0018 */ lw $ra, 0x18($sp)
/* 0EA7F8 802C5E48 8FB10014 */ lw $s1, 0x14($sp)
/* 0EA7FC 802C5E4C 8FB00010 */ lw $s0, 0x10($sp)
/* 0EA800 802C5E50 24020002 */ addiu $v0, $zero, 2
/* 0EA804 802C5E54 03E00008 */ jr $ra
/* 0EA808 802C5E58 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,30 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel si_handle_get_Nth_float
/* 0EAAFC 802C614C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0EAB00 802C6150 AFB00010 */ sw $s0, 0x10($sp)
/* 0EAB04 802C6154 0080802D */ daddu $s0, $a0, $zero
/* 0EAB08 802C6158 AFBF0018 */ sw $ra, 0x18($sp)
/* 0EAB0C 802C615C AFB10014 */ sw $s1, 0x14($sp)
/* 0EAB10 802C6160 8E02000C */ lw $v0, 0xc($s0)
/* 0EAB14 802C6164 8C450004 */ lw $a1, 4($v0)
/* 0EAB18 802C6168 0C0B1EAF */ jal get_variable
/* 0EAB1C 802C616C 8C510000 */ lw $s1, ($v0)
/* 0EAB20 802C6170 0200202D */ daddu $a0, $s0, $zero
/* 0EAB24 802C6174 8C830138 */ lw $v1, 0x138($a0)
/* 0EAB28 802C6178 00021080 */ sll $v0, $v0, 2
/* 0EAB2C 802C617C 00431021 */ addu $v0, $v0, $v1
/* 0EAB30 802C6180 C4420000 */ lwc1 $f2, ($v0)
/* 0EAB34 802C6184 468010A0 */ cvt.s.w $f2, $f2
/* 0EAB38 802C6188 44061000 */ mfc1 $a2, $f2
/* 0EAB3C 802C618C 0C0B2190 */ jal set_float_variable
/* 0EAB40 802C6190 0220282D */ daddu $a1, $s1, $zero
/* 0EAB44 802C6194 8FBF0018 */ lw $ra, 0x18($sp)
/* 0EAB48 802C6198 8FB10014 */ lw $s1, 0x14($sp)
/* 0EAB4C 802C619C 8FB00010 */ lw $s0, 0x10($sp)
/* 0EAB50 802C61A0 24020002 */ addiu $v0, $zero, 2
/* 0EAB54 802C61A4 03E00008 */ jr $ra
/* 0EAB58 802C61A8 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,26 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel ClearPartnerMoveHistory
/* 0F3D20 802CF370 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 0F3D24 802CF374 AFB00010 */ sw $s0, 0x10($sp)
/* 0F3D28 802CF378 0080802D */ daddu $s0, $a0, $zero
/* 0F3D2C 802CF37C AFBF0014 */ sw $ra, 0x14($sp)
/* 0F3D30 802CF380 8E02000C */ lw $v0, 0xc($s0)
/* 0F3D34 802CF384 0C0B1EAF */ jal get_variable
/* 0F3D38 802CF388 8C450000 */ lw $a1, ($v0)
/* 0F3D3C 802CF38C 0200202D */ daddu $a0, $s0, $zero
/* 0F3D40 802CF390 0C0B36B0 */ jal resolve_npc
/* 0F3D44 802CF394 0040282D */ daddu $a1, $v0, $zero
/* 0F3D48 802CF398 50400004 */ beql $v0, $zero, .L802CF3AC
/* 0F3D4C 802CF39C 24020002 */ addiu $v0, $zero, 2
/* 0F3D50 802CF3A0 0C03BD17 */ jal clear_partner_move_history
/* 0F3D54 802CF3A4 0040202D */ daddu $a0, $v0, $zero
/* 0F3D58 802CF3A8 24020002 */ addiu $v0, $zero, 2
.L802CF3AC:
/* 0F3D5C 802CF3AC 8FBF0014 */ lw $ra, 0x14($sp)
/* 0F3D60 802CF3B0 8FB00010 */ lw $s0, 0x10($sp)
/* 0F3D64 802CF3B4 03E00008 */ jr $ra
/* 0F3D68 802CF3B8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,26 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel DisablePartnerAI
/* 0F3E98 802CF4E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 0F3E9C 802CF4EC AFBF0010 */ sw $ra, 0x10($sp)
/* 0F3EA0 802CF4F0 8C82000C */ lw $v0, 0xc($a0)
/* 0F3EA4 802CF4F4 0C0B1EAF */ jal get_variable
/* 0F3EA8 802CF4F8 8C450000 */ lw $a1, ($v0)
/* 0F3EAC 802CF4FC 14400005 */ bnez $v0, .L802CF514
/* 0F3EB0 802CF500 00000000 */ nop
/* 0F3EB4 802CF504 0C03BCC5 */ jal func_800EF314
/* 0F3EB8 802CF508 00000000 */ nop
/* 0F3EBC 802CF50C 080B3D47 */ j .L802CF51C
/* 0F3EC0 802CF510 00000000 */ nop
.L802CF514:
/* 0F3EC4 802CF514 0C03BCC0 */ jal func_800EF300
/* 0F3EC8 802CF518 00000000 */ nop
.L802CF51C:
/* 0F3ECC 802CF51C 8FBF0010 */ lw $ra, 0x10($sp)
/* 0F3ED0 802CF520 24020002 */ addiu $v0, $zero, 2
/* 0F3ED4 802CF524 03E00008 */ jr $ra
/* 0F3ED8 802CF528 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,42 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel EnableNpcBlur
/* 0F3C9C 802CF2EC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0F3CA0 802CF2F0 AFB10014 */ sw $s1, 0x14($sp)
/* 0F3CA4 802CF2F4 0080882D */ daddu $s1, $a0, $zero
/* 0F3CA8 802CF2F8 AFBF0018 */ sw $ra, 0x18($sp)
/* 0F3CAC 802CF2FC AFB00010 */ sw $s0, 0x10($sp)
/* 0F3CB0 802CF300 8E30000C */ lw $s0, 0xc($s1)
/* 0F3CB4 802CF304 8E050000 */ lw $a1, ($s0)
/* 0F3CB8 802CF308 0C0B1EAF */ jal get_variable
/* 0F3CBC 802CF30C 26100004 */ addiu $s0, $s0, 4
/* 0F3CC0 802CF310 0220202D */ daddu $a0, $s1, $zero
/* 0F3CC4 802CF314 8E050000 */ lw $a1, ($s0)
/* 0F3CC8 802CF318 0C0B1EAF */ jal get_variable
/* 0F3CCC 802CF31C 0040802D */ daddu $s0, $v0, $zero
/* 0F3CD0 802CF320 0220202D */ daddu $a0, $s1, $zero
/* 0F3CD4 802CF324 0200282D */ daddu $a1, $s0, $zero
/* 0F3CD8 802CF328 0C0B36B0 */ jal resolve_npc
/* 0F3CDC 802CF32C 0040802D */ daddu $s0, $v0, $zero
/* 0F3CE0 802CF330 5040000A */ beql $v0, $zero, .L802CF35C
/* 0F3CE4 802CF334 24020002 */ addiu $v0, $zero, 2
/* 0F3CE8 802CF338 12000005 */ beqz $s0, .L802CF350
/* 0F3CEC 802CF33C 00000000 */ nop
/* 0F3CF0 802CF340 0C00EB49 */ jal enable_npc_blur
/* 0F3CF4 802CF344 0040202D */ daddu $a0, $v0, $zero
/* 0F3CF8 802CF348 080B3CD7 */ j .L802CF35C
/* 0F3CFC 802CF34C 24020002 */ addiu $v0, $zero, 2
.L802CF350:
/* 0F3D00 802CF350 0C00EB6B */ jal disable_npc_blur
/* 0F3D04 802CF354 0040202D */ daddu $a0, $v0, $zero
/* 0F3D08 802CF358 24020002 */ addiu $v0, $zero, 2
.L802CF35C:
/* 0F3D0C 802CF35C 8FBF0018 */ lw $ra, 0x18($sp)
/* 0F3D10 802CF360 8FB10014 */ lw $s1, 0x14($sp)
/* 0F3D14 802CF364 8FB00010 */ lw $s0, 0x10($sp)
/* 0F3D18 802CF368 03E00008 */ jr $ra
/* 0F3D1C 802CF36C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,42 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel EnableNpcShadow
/* 0F3C18 802CF268 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0F3C1C 802CF26C AFB10014 */ sw $s1, 0x14($sp)
/* 0F3C20 802CF270 0080882D */ daddu $s1, $a0, $zero
/* 0F3C24 802CF274 AFBF0018 */ sw $ra, 0x18($sp)
/* 0F3C28 802CF278 AFB00010 */ sw $s0, 0x10($sp)
/* 0F3C2C 802CF27C 8E30000C */ lw $s0, 0xc($s1)
/* 0F3C30 802CF280 8E050000 */ lw $a1, ($s0)
/* 0F3C34 802CF284 0C0B1EAF */ jal get_variable
/* 0F3C38 802CF288 26100004 */ addiu $s0, $s0, 4
/* 0F3C3C 802CF28C 0220202D */ daddu $a0, $s1, $zero
/* 0F3C40 802CF290 8E050000 */ lw $a1, ($s0)
/* 0F3C44 802CF294 0C0B1EAF */ jal get_variable
/* 0F3C48 802CF298 0040802D */ daddu $s0, $v0, $zero
/* 0F3C4C 802CF29C 0220202D */ daddu $a0, $s1, $zero
/* 0F3C50 802CF2A0 0200282D */ daddu $a1, $s0, $zero
/* 0F3C54 802CF2A4 0C0B36B0 */ jal resolve_npc
/* 0F3C58 802CF2A8 0040802D */ daddu $s0, $v0, $zero
/* 0F3C5C 802CF2AC 5040000A */ beql $v0, $zero, .L802CF2D8
/* 0F3C60 802CF2B0 24020002 */ addiu $v0, $zero, 2
/* 0F3C64 802CF2B4 12000005 */ beqz $s0, .L802CF2CC
/* 0F3C68 802CF2B8 00000000 */ nop
/* 0F3C6C 802CF2BC 0C00EAE8 */ jal enable_npc_shadow
/* 0F3C70 802CF2C0 0040202D */ daddu $a0, $v0, $zero
/* 0F3C74 802CF2C4 080B3CB6 */ j .L802CF2D8
/* 0F3C78 802CF2C8 24020002 */ addiu $v0, $zero, 2
.L802CF2CC:
/* 0F3C7C 802CF2CC 0C00EAFF */ jal disable_npc_shadow
/* 0F3C80 802CF2D0 0040202D */ daddu $a0, $v0, $zero
/* 0F3C84 802CF2D4 24020002 */ addiu $v0, $zero, 2
.L802CF2D8:
/* 0F3C88 802CF2D8 8FBF0018 */ lw $ra, 0x18($sp)
/* 0F3C8C 802CF2DC 8FB10014 */ lw $s1, 0x14($sp)
/* 0F3C90 802CF2E0 8FB00010 */ lw $s0, 0x10($sp)
/* 0F3C94 802CF2E4 03E00008 */ jr $ra
/* 0F3C98 802CF2E8 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,46 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel EnablePartnerAI
/* 0F3EDC 802CF52C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 0F3EE0 802CF530 AFBF0010 */ sw $ra, 0x10($sp)
/* 0F3EE4 802CF534 0C03BCCA */ jal enable_partner_ai
/* 0F3EE8 802CF538 00000000 */ nop
/* 0F3EEC 802CF53C 8FBF0010 */ lw $ra, 0x10($sp)
/* 0F3EF0 802CF540 24020002 */ addiu $v0, $zero, 2
/* 0F3EF4 802CF544 03E00008 */ jr $ra
/* 0F3EF8 802CF548 27BD0018 */ addiu $sp, $sp, 0x18
/* 0F3EFC 802CF54C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 0F3F00 802CF550 AFBF0010 */ sw $ra, 0x10($sp)
/* 0F3F04 802CF554 0C03BD0F */ jal func_800EF43C
/* 0F3F08 802CF558 00000000 */ nop
/* 0F3F0C 802CF55C 8FBF0010 */ lw $ra, 0x10($sp)
/* 0F3F10 802CF560 24020002 */ addiu $v0, $zero, 2
/* 0F3F14 802CF564 03E00008 */ jr $ra
/* 0F3F18 802CF568 27BD0018 */ addiu $sp, $sp, 0x18
/* 0F3F1C 802CF56C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 0F3F20 802CF570 AFBF0010 */ sw $ra, 0x10($sp)
/* 0F3F24 802CF574 8C82000C */ lw $v0, 0xc($a0)
/* 0F3F28 802CF578 0C0B1EAF */ jal get_variable
/* 0F3F2C 802CF57C 8C450000 */ lw $a1, ($v0)
/* 0F3F30 802CF580 0040202D */ daddu $a0, $v0, $zero
/* 0F3F34 802CF584 24020002 */ addiu $v0, $zero, 2
/* 0F3F38 802CF588 14820005 */ bne $a0, $v0, .L802CF5A0
/* 0F3F3C 802CF58C 00000000 */ nop
/* 0F3F40 802CF590 0C03BCF9 */ jal func_800EF3E4
/* 0F3F44 802CF594 00000000 */ nop
/* 0F3F48 802CF598 080B3D6A */ j .L802CF5A8
/* 0F3F4C 802CF59C 00000000 */ nop
.L802CF5A0:
/* 0F3F50 802CF5A0 0C03BCF5 */ jal func_800EF3D4
/* 0F3F54 802CF5A4 00000000 */ nop
.L802CF5A8:
/* 0F3F58 802CF5A8 8FBF0010 */ lw $ra, 0x10($sp)
/* 0F3F5C 802CF5AC 24020002 */ addiu $v0, $zero, 2
/* 0F3F60 802CF5B0 03E00008 */ jr $ra
/* 0F3F64 802CF5B4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,60 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel GetNpcAnimation
/* 0F2B10 802CE160 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0F2B14 802CE164 AFB10014 */ sw $s1, 0x14($sp)
/* 0F2B18 802CE168 0080882D */ daddu $s1, $a0, $zero
/* 0F2B1C 802CE16C AFBF0018 */ sw $ra, 0x18($sp)
/* 0F2B20 802CE170 AFB00010 */ sw $s0, 0x10($sp)
/* 0F2B24 802CE174 8E30000C */ lw $s0, 0xc($s1)
/* 0F2B28 802CE178 8E050000 */ lw $a1, ($s0)
/* 0F2B2C 802CE17C 0C0B1EAF */ jal get_variable
/* 0F2B30 802CE180 26100004 */ addiu $s0, $s0, 4
/* 0F2B34 802CE184 0220202D */ daddu $a0, $s1, $zero
/* 0F2B38 802CE188 8E100000 */ lw $s0, ($s0)
/* 0F2B3C 802CE18C 0C0B36B0 */ jal resolve_npc
/* 0F2B40 802CE190 0040282D */ daddu $a1, $v0, $zero
/* 0F2B44 802CE194 10400004 */ beqz $v0, .L802CE1A8
/* 0F2B48 802CE198 0220202D */ daddu $a0, $s1, $zero
/* 0F2B4C 802CE19C 8C460028 */ lw $a2, 0x28($v0)
/* 0F2B50 802CE1A0 0C0B2026 */ jal set_variable
/* 0F2B54 802CE1A4 0200282D */ daddu $a1, $s0, $zero
.L802CE1A8:
/* 0F2B58 802CE1A8 24020002 */ addiu $v0, $zero, 2
/* 0F2B5C 802CE1AC 8FBF0018 */ lw $ra, 0x18($sp)
/* 0F2B60 802CE1B0 8FB10014 */ lw $s1, 0x14($sp)
/* 0F2B64 802CE1B4 8FB00010 */ lw $s0, 0x10($sp)
/* 0F2B68 802CE1B8 03E00008 */ jr $ra
/* 0F2B6C 802CE1BC 27BD0020 */ addiu $sp, $sp, 0x20
/* 0F2B70 802CE1C0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 0F2B74 802CE1C4 AFB10014 */ sw $s1, 0x14($sp)
/* 0F2B78 802CE1C8 0080882D */ daddu $s1, $a0, $zero
/* 0F2B7C 802CE1CC AFBF0018 */ sw $ra, 0x18($sp)
/* 0F2B80 802CE1D0 AFB00010 */ sw $s0, 0x10($sp)
/* 0F2B84 802CE1D4 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 0F2B88 802CE1D8 8E30000C */ lw $s0, 0xc($s1)
/* 0F2B8C 802CE1DC 8E050000 */ lw $a1, ($s0)
/* 0F2B90 802CE1E0 0C0B1EAF */ jal get_variable
/* 0F2B94 802CE1E4 26100004 */ addiu $s0, $s0, 4
/* 0F2B98 802CE1E8 0220202D */ daddu $a0, $s1, $zero
/* 0F2B9C 802CE1EC 8E050000 */ lw $a1, ($s0)
/* 0F2BA0 802CE1F0 0C0B210B */ jal get_float_variable
/* 0F2BA4 802CE1F4 0040802D */ daddu $s0, $v0, $zero
/* 0F2BA8 802CE1F8 0220202D */ daddu $a0, $s1, $zero
/* 0F2BAC 802CE1FC 0200282D */ daddu $a1, $s0, $zero
/* 0F2BB0 802CE200 0C0B36B0 */ jal resolve_npc
/* 0F2BB4 802CE204 46000506 */ mov.s $f20, $f0
/* 0F2BB8 802CE208 54400001 */ bnel $v0, $zero, .L802CE210
/* 0F2BBC 802CE20C E4540030 */ swc1 $f20, 0x30($v0)
.L802CE210:
/* 0F2BC0 802CE210 24020002 */ addiu $v0, $zero, 2
/* 0F2BC4 802CE214 8FBF0018 */ lw $ra, 0x18($sp)
/* 0F2BC8 802CE218 8FB10014 */ lw $s1, 0x14($sp)
/* 0F2BCC 802CE21C 8FB00010 */ lw $s0, 0x10($sp)
/* 0F2BD0 802CE220 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 0F2BD4 802CE224 03E00008 */ jr $ra
/* 0F2BD8 802CE228 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,36 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel GetNpcYaw
/* 0F33C0 802CEA10 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0F33C4 802CEA14 AFB10014 */ sw $s1, 0x14($sp)
/* 0F33C8 802CEA18 0080882D */ daddu $s1, $a0, $zero
/* 0F33CC 802CEA1C AFBF0018 */ sw $ra, 0x18($sp)
/* 0F33D0 802CEA20 AFB00010 */ sw $s0, 0x10($sp)
/* 0F33D4 802CEA24 8E30000C */ lw $s0, 0xc($s1)
/* 0F33D8 802CEA28 8E050000 */ lw $a1, ($s0)
/* 0F33DC 802CEA2C 0C0B1EAF */ jal get_variable
/* 0F33E0 802CEA30 26100004 */ addiu $s0, $s0, 4
/* 0F33E4 802CEA34 0220202D */ daddu $a0, $s1, $zero
/* 0F33E8 802CEA38 8E100000 */ lw $s0, ($s0)
/* 0F33EC 802CEA3C 0C0B36B0 */ jal resolve_npc
/* 0F33F0 802CEA40 0040282D */ daddu $a1, $v0, $zero
/* 0F33F4 802CEA44 5040000A */ beql $v0, $zero, .L802CEA70
/* 0F33F8 802CEA48 24020002 */ addiu $v0, $zero, 2
/* 0F33FC 802CEA4C C44C000C */ lwc1 $f12, 0xc($v0)
/* 0F3400 802CEA50 0C00A6C9 */ jal clamp_angle
/* 0F3404 802CEA54 00000000 */ nop
/* 0F3408 802CEA58 0220202D */ daddu $a0, $s1, $zero
/* 0F340C 802CEA5C 4600008D */ trunc.w.s $f2, $f0
/* 0F3410 802CEA60 44061000 */ mfc1 $a2, $f2
/* 0F3414 802CEA64 0C0B2026 */ jal set_variable
/* 0F3418 802CEA68 0200282D */ daddu $a1, $s0, $zero
/* 0F341C 802CEA6C 24020002 */ addiu $v0, $zero, 2
.L802CEA70:
/* 0F3420 802CEA70 8FBF0018 */ lw $ra, 0x18($sp)
/* 0F3424 802CEA74 8FB10014 */ lw $s1, 0x14($sp)
/* 0F3428 802CEA78 8FB00010 */ lw $s0, 0x10($sp)
/* 0F342C 802CEA7C 03E00008 */ jr $ra
/* 0F3430 802CEA80 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,51 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel GetPartnerPos
/* 0F3DE8 802CF438 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 0F3DEC 802CF43C AFB10014 */ sw $s1, 0x14($sp)
/* 0F3DF0 802CF440 0080882D */ daddu $s1, $a0, $zero
/* 0F3DF4 802CF444 AFBF0024 */ sw $ra, 0x24($sp)
/* 0F3DF8 802CF448 AFB40020 */ sw $s4, 0x20($sp)
/* 0F3DFC 802CF44C AFB3001C */ sw $s3, 0x1c($sp)
/* 0F3E00 802CF450 AFB20018 */ sw $s2, 0x18($sp)
/* 0F3E04 802CF454 AFB00010 */ sw $s0, 0x10($sp)
/* 0F3E08 802CF458 8E22000C */ lw $v0, 0xc($s1)
/* 0F3E0C 802CF45C 8C520000 */ lw $s2, ($v0)
/* 0F3E10 802CF460 24420004 */ addiu $v0, $v0, 4
/* 0F3E14 802CF464 8C530000 */ lw $s3, ($v0)
/* 0F3E18 802CF468 8C540004 */ lw $s4, 4($v0)
/* 0F3E1C 802CF46C 0C00EABB */ jal get_npc_unsafe
/* 0F3E20 802CF470 2404FFFC */ addiu $a0, $zero, -4
/* 0F3E24 802CF474 0040802D */ daddu $s0, $v0, $zero
/* 0F3E28 802CF478 12000012 */ beqz $s0, .L802CF4C4
/* 0F3E2C 802CF47C 0220202D */ daddu $a0, $s1, $zero
/* 0F3E30 802CF480 C6000038 */ lwc1 $f0, 0x38($s0)
/* 0F3E34 802CF484 4600008D */ trunc.w.s $f2, $f0
/* 0F3E38 802CF488 44061000 */ mfc1 $a2, $f2
/* 0F3E3C 802CF48C 0C0B2026 */ jal set_variable
/* 0F3E40 802CF490 0240282D */ daddu $a1, $s2, $zero
/* 0F3E44 802CF494 0220202D */ daddu $a0, $s1, $zero
/* 0F3E48 802CF498 C600003C */ lwc1 $f0, 0x3c($s0)
/* 0F3E4C 802CF49C 4600008D */ trunc.w.s $f2, $f0
/* 0F3E50 802CF4A0 44061000 */ mfc1 $a2, $f2
/* 0F3E54 802CF4A4 0C0B2026 */ jal set_variable
/* 0F3E58 802CF4A8 0260282D */ daddu $a1, $s3, $zero
/* 0F3E5C 802CF4AC 0220202D */ daddu $a0, $s1, $zero
/* 0F3E60 802CF4B0 C6000040 */ lwc1 $f0, 0x40($s0)
/* 0F3E64 802CF4B4 4600008D */ trunc.w.s $f2, $f0
/* 0F3E68 802CF4B8 44061000 */ mfc1 $a2, $f2
/* 0F3E6C 802CF4BC 0C0B2026 */ jal set_variable
/* 0F3E70 802CF4C0 0280282D */ daddu $a1, $s4, $zero
.L802CF4C4:
/* 0F3E74 802CF4C4 24020002 */ addiu $v0, $zero, 2
/* 0F3E78 802CF4C8 8FBF0024 */ lw $ra, 0x24($sp)
/* 0F3E7C 802CF4CC 8FB40020 */ lw $s4, 0x20($sp)
/* 0F3E80 802CF4D0 8FB3001C */ lw $s3, 0x1c($sp)
/* 0F3E84 802CF4D4 8FB20018 */ lw $s2, 0x18($sp)
/* 0F3E88 802CF4D8 8FB10014 */ lw $s1, 0x14($sp)
/* 0F3E8C 802CF4DC 8FB00010 */ lw $s0, 0x10($sp)
/* 0F3E90 802CF4E0 03E00008 */ jr $ra
/* 0F3E94 802CF4E4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,13 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel NpcJump0
/* 0F3074 802CE6C4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 0F3078 802CE6C8 AFBF0010 */ sw $ra, 0x10($sp)
/* 0F307C 802CE6CC 0C0B390D */ jal _npc_jump_to
/* 0F3080 802CE6D0 0000302D */ daddu $a2, $zero, $zero
/* 0F3084 802CE6D4 8FBF0010 */ lw $ra, 0x10($sp)
/* 0F3088 802CE6D8 03E00008 */ jr $ra
/* 0F308C 802CE6DC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,13 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel NpcJump1
/* 0F3090 802CE6E0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 0F3094 802CE6E4 AFBF0010 */ sw $ra, 0x10($sp)
/* 0F3098 802CE6E8 0C0B390D */ jal _npc_jump_to
/* 0F309C 802CE6EC 24060001 */ addiu $a2, $zero, 1
/* 0F30A0 802CE6F0 8FBF0010 */ lw $ra, 0x10($sp)
/* 0F30A4 802CE6F4 03E00008 */ jr $ra
/* 0F30A8 802CE6F8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,75 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel PlaySoundAtNpc
/* 0F4B5C 802D01AC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 0F4B60 802D01B0 AFB1001C */ sw $s1, 0x1c($sp)
/* 0F4B64 802D01B4 0080882D */ daddu $s1, $a0, $zero
/* 0F4B68 802D01B8 AFBF0024 */ sw $ra, 0x24($sp)
/* 0F4B6C 802D01BC AFB20020 */ sw $s2, 0x20($sp)
/* 0F4B70 802D01C0 AFB00018 */ sw $s0, 0x18($sp)
/* 0F4B74 802D01C4 8E30000C */ lw $s0, 0xc($s1)
/* 0F4B78 802D01C8 8E050000 */ lw $a1, ($s0)
/* 0F4B7C 802D01CC 0C0B1EAF */ jal get_variable
/* 0F4B80 802D01D0 26100004 */ addiu $s0, $s0, 4
/* 0F4B84 802D01D4 8E050000 */ lw $a1, ($s0)
/* 0F4B88 802D01D8 26100004 */ addiu $s0, $s0, 4
/* 0F4B8C 802D01DC 0220202D */ daddu $a0, $s1, $zero
/* 0F4B90 802D01E0 0C0B1EAF */ jal get_variable
/* 0F4B94 802D01E4 0040902D */ daddu $s2, $v0, $zero
/* 0F4B98 802D01E8 0220202D */ daddu $a0, $s1, $zero
/* 0F4B9C 802D01EC 8E050000 */ lw $a1, ($s0)
/* 0F4BA0 802D01F0 0C0B1EAF */ jal get_variable
/* 0F4BA4 802D01F4 0040802D */ daddu $s0, $v0, $zero
/* 0F4BA8 802D01F8 0220202D */ daddu $a0, $s1, $zero
/* 0F4BAC 802D01FC 0240282D */ daddu $a1, $s2, $zero
/* 0F4BB0 802D0200 0C0B36B0 */ jal resolve_npc
/* 0F4BB4 802D0204 0040882D */ daddu $s1, $v0, $zero
/* 0F4BB8 802D0208 10400007 */ beqz $v0, .L802D0228
/* 0F4BBC 802D020C 0200202D */ daddu $a0, $s0, $zero
/* 0F4BC0 802D0210 C4400040 */ lwc1 $f0, 0x40($v0)
/* 0F4BC4 802D0214 E7A00010 */ swc1 $f0, 0x10($sp)
/* 0F4BC8 802D0218 8C460038 */ lw $a2, 0x38($v0)
/* 0F4BCC 802D021C 8C47003C */ lw $a3, 0x3c($v0)
/* 0F4BD0 802D0220 0C052757 */ jal play_sound_at_position
/* 0F4BD4 802D0224 0220282D */ daddu $a1, $s1, $zero
.L802D0228:
/* 0F4BD8 802D0228 24020002 */ addiu $v0, $zero, 2
/* 0F4BDC 802D022C 8FBF0024 */ lw $ra, 0x24($sp)
/* 0F4BE0 802D0230 8FB20020 */ lw $s2, 0x20($sp)
/* 0F4BE4 802D0234 8FB1001C */ lw $s1, 0x1c($sp)
/* 0F4BE8 802D0238 8FB00018 */ lw $s0, 0x18($sp)
/* 0F4BEC 802D023C 03E00008 */ jr $ra
/* 0F4BF0 802D0240 27BD0028 */ addiu $sp, $sp, 0x28
/* 0F4BF4 802D0244 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0F4BF8 802D0248 AFB10014 */ sw $s1, 0x14($sp)
/* 0F4BFC 802D024C 0080882D */ daddu $s1, $a0, $zero
/* 0F4C00 802D0250 AFBF0018 */ sw $ra, 0x18($sp)
/* 0F4C04 802D0254 AFB00010 */ sw $s0, 0x10($sp)
/* 0F4C08 802D0258 8E30000C */ lw $s0, 0xc($s1)
/* 0F4C0C 802D025C 8E050000 */ lw $a1, ($s0)
/* 0F4C10 802D0260 0C0B1EAF */ jal get_variable
/* 0F4C14 802D0264 26100004 */ addiu $s0, $s0, 4
/* 0F4C18 802D0268 0220202D */ daddu $a0, $s1, $zero
/* 0F4C1C 802D026C 8E050000 */ lw $a1, ($s0)
/* 0F4C20 802D0270 0C0B1EAF */ jal get_variable
/* 0F4C24 802D0274 0040802D */ daddu $s0, $v0, $zero
/* 0F4C28 802D0278 0220202D */ daddu $a0, $s1, $zero
/* 0F4C2C 802D027C 0200282D */ daddu $a1, $s0, $zero
/* 0F4C30 802D0280 0C0B36B0 */ jal resolve_npc
/* 0F4C34 802D0284 0040802D */ daddu $s0, $v0, $zero
/* 0F4C38 802D0288 A05000AA */ sb $s0, 0xaa($v0)
/* 0F4C3C 802D028C 8FBF0018 */ lw $ra, 0x18($sp)
/* 0F4C40 802D0290 8FB10014 */ lw $s1, 0x14($sp)
/* 0F4C44 802D0294 8FB00010 */ lw $s0, 0x10($sp)
/* 0F4C48 802D0298 24020002 */ addiu $v0, $zero, 2
/* 0F4C4C 802D029C 03E00008 */ jr $ra
/* 0F4C50 802D02A0 27BD0020 */ addiu $sp, $sp, 0x20
/* 0F4C54 802D02A4 00000000 */ nop
/* 0F4C58 802D02A8 00000000 */ nop
/* 0F4C5C 802D02AC 00000000 */ nop

View File

@ -1,34 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel SetNpcAnimation
/* 0F2AA4 802CE0F4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0F2AA8 802CE0F8 AFB10014 */ sw $s1, 0x14($sp)
/* 0F2AAC 802CE0FC 0080882D */ daddu $s1, $a0, $zero
/* 0F2AB0 802CE100 AFBF0018 */ sw $ra, 0x18($sp)
/* 0F2AB4 802CE104 AFB00010 */ sw $s0, 0x10($sp)
/* 0F2AB8 802CE108 8E30000C */ lw $s0, 0xc($s1)
/* 0F2ABC 802CE10C 8E050000 */ lw $a1, ($s0)
/* 0F2AC0 802CE110 0C0B1EAF */ jal get_variable
/* 0F2AC4 802CE114 26100004 */ addiu $s0, $s0, 4
/* 0F2AC8 802CE118 0220202D */ daddu $a0, $s1, $zero
/* 0F2ACC 802CE11C 8E050000 */ lw $a1, ($s0)
/* 0F2AD0 802CE120 0C0B1EAF */ jal get_variable
/* 0F2AD4 802CE124 0040802D */ daddu $s0, $v0, $zero
/* 0F2AD8 802CE128 0220202D */ daddu $a0, $s1, $zero
/* 0F2ADC 802CE12C 0200282D */ daddu $a1, $s0, $zero
/* 0F2AE0 802CE130 0C0B36B0 */ jal resolve_npc
/* 0F2AE4 802CE134 0040802D */ daddu $s0, $v0, $zero
/* 0F2AE8 802CE138 10400003 */ beqz $v0, .L802CE148
/* 0F2AEC 802CE13C 0040202D */ daddu $a0, $v0, $zero
/* 0F2AF0 802CE140 0C0B36C3 */ jal set_npc_animation
/* 0F2AF4 802CE144 0200282D */ daddu $a1, $s0, $zero
.L802CE148:
/* 0F2AF8 802CE148 24020002 */ addiu $v0, $zero, 2
/* 0F2AFC 802CE14C 8FBF0018 */ lw $ra, 0x18($sp)
/* 0F2B00 802CE150 8FB10014 */ lw $s1, 0x14($sp)
/* 0F2B04 802CE154 8FB00010 */ lw $s0, 0x10($sp)
/* 0F2B08 802CE158 03E00008 */ jr $ra
/* 0F2B0C 802CE15C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,43 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel SetNpcCollisionSize
/* 0F293C 802CDF8C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 0F2940 802CDF90 AFB10014 */ sw $s1, 0x14($sp)
/* 0F2944 802CDF94 0080882D */ daddu $s1, $a0, $zero
/* 0F2948 802CDF98 AFBF0020 */ sw $ra, 0x20($sp)
/* 0F294C 802CDF9C AFB3001C */ sw $s3, 0x1c($sp)
/* 0F2950 802CDFA0 AFB20018 */ sw $s2, 0x18($sp)
/* 0F2954 802CDFA4 AFB00010 */ sw $s0, 0x10($sp)
/* 0F2958 802CDFA8 8E30000C */ lw $s0, 0xc($s1)
/* 0F295C 802CDFAC 8E050000 */ lw $a1, ($s0)
/* 0F2960 802CDFB0 0C0B1EAF */ jal get_variable
/* 0F2964 802CDFB4 26100004 */ addiu $s0, $s0, 4
/* 0F2968 802CDFB8 8E050000 */ lw $a1, ($s0)
/* 0F296C 802CDFBC 26100004 */ addiu $s0, $s0, 4
/* 0F2970 802CDFC0 0220202D */ daddu $a0, $s1, $zero
/* 0F2974 802CDFC4 0C0B1EAF */ jal get_variable
/* 0F2978 802CDFC8 0040902D */ daddu $s2, $v0, $zero
/* 0F297C 802CDFCC 0220202D */ daddu $a0, $s1, $zero
/* 0F2980 802CDFD0 8E050000 */ lw $a1, ($s0)
/* 0F2984 802CDFD4 0C0B1EAF */ jal get_variable
/* 0F2988 802CDFD8 0040982D */ daddu $s3, $v0, $zero
/* 0F298C 802CDFDC 0220202D */ daddu $a0, $s1, $zero
/* 0F2990 802CDFE0 0240282D */ daddu $a1, $s2, $zero
/* 0F2994 802CDFE4 0C0B36B0 */ jal resolve_npc
/* 0F2998 802CDFE8 0040802D */ daddu $s0, $v0, $zero
/* 0F299C 802CDFEC 0040182D */ daddu $v1, $v0, $zero
/* 0F29A0 802CDFF0 10600003 */ beqz $v1, .L802CE000
/* 0F29A4 802CDFF4 24020002 */ addiu $v0, $zero, 2
/* 0F29A8 802CDFF8 A47300A8 */ sh $s3, 0xa8($v1)
/* 0F29AC 802CDFFC A47000A6 */ sh $s0, 0xa6($v1)
.L802CE000:
/* 0F29B0 802CE000 8FBF0020 */ lw $ra, 0x20($sp)
/* 0F29B4 802CE004 8FB3001C */ lw $s3, 0x1c($sp)
/* 0F29B8 802CE008 8FB20018 */ lw $s2, 0x18($sp)
/* 0F29BC 802CE00C 8FB10014 */ lw $s1, 0x14($sp)
/* 0F29C0 802CE010 8FB00010 */ lw $s0, 0x10($sp)
/* 0F29C4 802CE014 03E00008 */ jr $ra
/* 0F29C8 802CE018 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel SetNpcEffect
/* 0F4AC8 802D0118 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 0F4ACC 802D011C AFB10014 */ sw $s1, 0x14($sp)
/* 0F4AD0 802D0120 0080882D */ daddu $s1, $a0, $zero
/* 0F4AD4 802D0124 AFBF0020 */ sw $ra, 0x20($sp)
/* 0F4AD8 802D0128 AFB3001C */ sw $s3, 0x1c($sp)
/* 0F4ADC 802D012C AFB20018 */ sw $s2, 0x18($sp)
/* 0F4AE0 802D0130 AFB00010 */ sw $s0, 0x10($sp)
/* 0F4AE4 802D0134 8E30000C */ lw $s0, 0xc($s1)
/* 0F4AE8 802D0138 8E050000 */ lw $a1, ($s0)
/* 0F4AEC 802D013C 0C0B1EAF */ jal get_variable
/* 0F4AF0 802D0140 26100004 */ addiu $s0, $s0, 4
/* 0F4AF4 802D0144 8E050000 */ lw $a1, ($s0)
/* 0F4AF8 802D0148 26100004 */ addiu $s0, $s0, 4
/* 0F4AFC 802D014C 0220202D */ daddu $a0, $s1, $zero
/* 0F4B00 802D0150 0C0B1EAF */ jal get_variable
/* 0F4B04 802D0154 0040902D */ daddu $s2, $v0, $zero
/* 0F4B08 802D0158 0220202D */ daddu $a0, $s1, $zero
/* 0F4B0C 802D015C 8E050000 */ lw $a1, ($s0)
/* 0F4B10 802D0160 0C0B1EAF */ jal get_variable
/* 0F4B14 802D0164 0040982D */ daddu $s3, $v0, $zero
/* 0F4B18 802D0168 0220202D */ daddu $a0, $s1, $zero
/* 0F4B1C 802D016C 0240282D */ daddu $a1, $s2, $zero
/* 0F4B20 802D0170 0C0B36B0 */ jal resolve_npc
/* 0F4B24 802D0174 0040802D */ daddu $s0, $v0, $zero
/* 0F4B28 802D0178 10400004 */ beqz $v0, .L802D018C
/* 0F4B2C 802D017C 0040202D */ daddu $a0, $v0, $zero
/* 0F4B30 802D0180 0260282D */ daddu $a1, $s3, $zero
/* 0F4B34 802D0184 0C00F0F6 */ jal func_8003C3D8
/* 0F4B38 802D0188 0200302D */ daddu $a2, $s0, $zero
.L802D018C:
/* 0F4B3C 802D018C 24020002 */ addiu $v0, $zero, 2
/* 0F4B40 802D0190 8FBF0020 */ lw $ra, 0x20($sp)
/* 0F4B44 802D0194 8FB3001C */ lw $s3, 0x1c($sp)
/* 0F4B48 802D0198 8FB20018 */ lw $s2, 0x18($sp)
/* 0F4B4C 802D019C 8FB10014 */ lw $s1, 0x14($sp)
/* 0F4B50 802D01A0 8FB00010 */ lw $s0, 0x10($sp)
/* 0F4B54 802D01A4 03E00008 */ jr $ra
/* 0F4B58 802D01A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,34 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel SetNpcJumpscale
/* 0F2A38 802CE088 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 0F2A3C 802CE08C AFB10014 */ sw $s1, 0x14($sp)
/* 0F2A40 802CE090 0080882D */ daddu $s1, $a0, $zero
/* 0F2A44 802CE094 AFBF0018 */ sw $ra, 0x18($sp)
/* 0F2A48 802CE098 AFB00010 */ sw $s0, 0x10($sp)
/* 0F2A4C 802CE09C F7B40020 */ sdc1 $f20, 0x20($sp)
/* 0F2A50 802CE0A0 8E30000C */ lw $s0, 0xc($s1)
/* 0F2A54 802CE0A4 8E050000 */ lw $a1, ($s0)
/* 0F2A58 802CE0A8 0C0B1EAF */ jal get_variable
/* 0F2A5C 802CE0AC 26100004 */ addiu $s0, $s0, 4
/* 0F2A60 802CE0B0 0220202D */ daddu $a0, $s1, $zero
/* 0F2A64 802CE0B4 8E050000 */ lw $a1, ($s0)
/* 0F2A68 802CE0B8 0C0B210B */ jal get_float_variable
/* 0F2A6C 802CE0BC 0040802D */ daddu $s0, $v0, $zero
/* 0F2A70 802CE0C0 0220202D */ daddu $a0, $s1, $zero
/* 0F2A74 802CE0C4 0200282D */ daddu $a1, $s0, $zero
/* 0F2A78 802CE0C8 0C0B36B0 */ jal resolve_npc
/* 0F2A7C 802CE0CC 46000506 */ mov.s $f20, $f0
/* 0F2A80 802CE0D0 54400001 */ bnel $v0, $zero, .L802CE0D8
/* 0F2A84 802CE0D4 E4540014 */ swc1 $f20, 0x14($v0)
.L802CE0D8:
/* 0F2A88 802CE0D8 24020002 */ addiu $v0, $zero, 2
/* 0F2A8C 802CE0DC 8FBF0018 */ lw $ra, 0x18($sp)
/* 0F2A90 802CE0E0 8FB10014 */ lw $s1, 0x14($sp)
/* 0F2A94 802CE0E4 8FB00010 */ lw $s0, 0x10($sp)
/* 0F2A98 802CE0E8 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 0F2A9C 802CE0EC 03E00008 */ jr $ra
/* 0F2AA0 802CE0F0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,53 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel SetNpcScale
/* 0F2884 802CDED4 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 0F2888 802CDED8 AFB10014 */ sw $s1, 0x14($sp)
/* 0F288C 802CDEDC 0080882D */ daddu $s1, $a0, $zero
/* 0F2890 802CDEE0 AFBF001C */ sw $ra, 0x1c($sp)
/* 0F2894 802CDEE4 AFB20018 */ sw $s2, 0x18($sp)
/* 0F2898 802CDEE8 AFB00010 */ sw $s0, 0x10($sp)
/* 0F289C 802CDEEC F7B80030 */ sdc1 $f24, 0x30($sp)
/* 0F28A0 802CDEF0 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 0F28A4 802CDEF4 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 0F28A8 802CDEF8 8E30000C */ lw $s0, 0xc($s1)
/* 0F28AC 802CDEFC 8E050000 */ lw $a1, ($s0)
/* 0F28B0 802CDF00 0C0B1EAF */ jal get_variable
/* 0F28B4 802CDF04 26100004 */ addiu $s0, $s0, 4
/* 0F28B8 802CDF08 8E050000 */ lw $a1, ($s0)
/* 0F28BC 802CDF0C 26100004 */ addiu $s0, $s0, 4
/* 0F28C0 802CDF10 0220202D */ daddu $a0, $s1, $zero
/* 0F28C4 802CDF14 0C0B210B */ jal get_float_variable
/* 0F28C8 802CDF18 0040902D */ daddu $s2, $v0, $zero
/* 0F28CC 802CDF1C 8E050000 */ lw $a1, ($s0)
/* 0F28D0 802CDF20 26100004 */ addiu $s0, $s0, 4
/* 0F28D4 802CDF24 0220202D */ daddu $a0, $s1, $zero
/* 0F28D8 802CDF28 0C0B210B */ jal get_float_variable
/* 0F28DC 802CDF2C 46000606 */ mov.s $f24, $f0
/* 0F28E0 802CDF30 0220202D */ daddu $a0, $s1, $zero
/* 0F28E4 802CDF34 8E050000 */ lw $a1, ($s0)
/* 0F28E8 802CDF38 0C0B210B */ jal get_float_variable
/* 0F28EC 802CDF3C 46000586 */ mov.s $f22, $f0
/* 0F28F0 802CDF40 0220202D */ daddu $a0, $s1, $zero
/* 0F28F4 802CDF44 0240282D */ daddu $a1, $s2, $zero
/* 0F28F8 802CDF48 0C0B36B0 */ jal resolve_npc
/* 0F28FC 802CDF4C 46000506 */ mov.s $f20, $f0
/* 0F2900 802CDF50 0040182D */ daddu $v1, $v0, $zero
/* 0F2904 802CDF54 10600004 */ beqz $v1, .L802CDF68
/* 0F2908 802CDF58 24020002 */ addiu $v0, $zero, 2
/* 0F290C 802CDF5C E4780054 */ swc1 $f24, 0x54($v1)
/* 0F2910 802CDF60 E4760058 */ swc1 $f22, 0x58($v1)
/* 0F2914 802CDF64 E474005C */ swc1 $f20, 0x5c($v1)
.L802CDF68:
/* 0F2918 802CDF68 8FBF001C */ lw $ra, 0x1c($sp)
/* 0F291C 802CDF6C 8FB20018 */ lw $s2, 0x18($sp)
/* 0F2920 802CDF70 8FB10014 */ lw $s1, 0x14($sp)
/* 0F2924 802CDF74 8FB00010 */ lw $s0, 0x10($sp)
/* 0F2928 802CDF78 D7B80030 */ ldc1 $f24, 0x30($sp)
/* 0F292C 802CDF7C D7B60028 */ ldc1 $f22, 0x28($sp)
/* 0F2930 802CDF80 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 0F2934 802CDF84 03E00008 */ jr $ra
/* 0F2938 802CDF88 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,34 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel SetNpcSpeed
/* 0F29CC 802CE01C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 0F29D0 802CE020 AFB10014 */ sw $s1, 0x14($sp)
/* 0F29D4 802CE024 0080882D */ daddu $s1, $a0, $zero
/* 0F29D8 802CE028 AFBF0018 */ sw $ra, 0x18($sp)
/* 0F29DC 802CE02C AFB00010 */ sw $s0, 0x10($sp)
/* 0F29E0 802CE030 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 0F29E4 802CE034 8E30000C */ lw $s0, 0xc($s1)
/* 0F29E8 802CE038 8E050000 */ lw $a1, ($s0)
/* 0F29EC 802CE03C 0C0B1EAF */ jal get_variable
/* 0F29F0 802CE040 26100004 */ addiu $s0, $s0, 4
/* 0F29F4 802CE044 0220202D */ daddu $a0, $s1, $zero
/* 0F29F8 802CE048 8E050000 */ lw $a1, ($s0)
/* 0F29FC 802CE04C 0C0B210B */ jal get_float_variable
/* 0F2A00 802CE050 0040802D */ daddu $s0, $v0, $zero
/* 0F2A04 802CE054 0220202D */ daddu $a0, $s1, $zero
/* 0F2A08 802CE058 0200282D */ daddu $a1, $s0, $zero
/* 0F2A0C 802CE05C 0C0B36B0 */ jal resolve_npc
/* 0F2A10 802CE060 46000506 */ mov.s $f20, $f0
/* 0F2A14 802CE064 54400001 */ bnel $v0, $zero, .L802CE06C
/* 0F2A18 802CE068 E4540018 */ swc1 $f20, 0x18($v0)
.L802CE06C:
/* 0F2A1C 802CE06C 24020002 */ addiu $v0, $zero, 2
/* 0F2A20 802CE070 8FBF0018 */ lw $ra, 0x18($sp)
/* 0F2A24 802CE074 8FB10014 */ lw $s1, 0x14($sp)
/* 0F2A28 802CE078 8FB00010 */ lw $s0, 0x10($sp)
/* 0F2A2C 802CE07C D7B40020 */ ldc1 $f20, 0x20($sp)
/* 0F2A30 802CE080 03E00008 */ jr $ra
/* 0F2A34 802CE084 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,39 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel SetNpcYaw
/* 0F3434 802CEA84 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0F3438 802CEA88 AFB20018 */ sw $s2, 0x18($sp)
/* 0F343C 802CEA8C 0080902D */ daddu $s2, $a0, $zero
/* 0F3440 802CEA90 AFBF001C */ sw $ra, 0x1c($sp)
/* 0F3444 802CEA94 AFB10014 */ sw $s1, 0x14($sp)
/* 0F3448 802CEA98 AFB00010 */ sw $s0, 0x10($sp)
/* 0F344C 802CEA9C 8E50000C */ lw $s0, 0xc($s2)
/* 0F3450 802CEAA0 8E050000 */ lw $a1, ($s0)
/* 0F3454 802CEAA4 0C0B1EAF */ jal get_variable
/* 0F3458 802CEAA8 26100004 */ addiu $s0, $s0, 4
/* 0F345C 802CEAAC 0240202D */ daddu $a0, $s2, $zero
/* 0F3460 802CEAB0 0C0B36B0 */ jal resolve_npc
/* 0F3464 802CEAB4 0040282D */ daddu $a1, $v0, $zero
/* 0F3468 802CEAB8 0040882D */ daddu $s1, $v0, $zero
/* 0F346C 802CEABC 1220000B */ beqz $s1, .L802CEAEC
/* 0F3470 802CEAC0 24020002 */ addiu $v0, $zero, 2
/* 0F3474 802CEAC4 8E050000 */ lw $a1, ($s0)
/* 0F3478 802CEAC8 0C0B1EAF */ jal get_variable
/* 0F347C 802CEACC 0240202D */ daddu $a0, $s2, $zero
/* 0F3480 802CEAD0 44820000 */ mtc1 $v0, $f0
/* 0F3484 802CEAD4 00000000 */ nop
/* 0F3488 802CEAD8 46800020 */ cvt.s.w $f0, $f0
/* 0F348C 802CEADC 44050000 */ mfc1 $a1, $f0
/* 0F3490 802CEAE0 0C00ECD0 */ jal set_npc_yaw
/* 0F3494 802CEAE4 0220202D */ daddu $a0, $s1, $zero
/* 0F3498 802CEAE8 24020002 */ addiu $v0, $zero, 2
.L802CEAEC:
/* 0F349C 802CEAEC 8FBF001C */ lw $ra, 0x1c($sp)
/* 0F34A0 802CEAF0 8FB20018 */ lw $s2, 0x18($sp)
/* 0F34A4 802CEAF4 8FB10014 */ lw $s1, 0x14($sp)
/* 0F34A8 802CEAF8 8FB00010 */ lw $s0, 0x10($sp)
/* 0F34AC 802CEAFC 03E00008 */ jr $ra
/* 0F34B0 802CEB00 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,26 +1,36 @@
FORMAT_OPTS="-i -style=file"
TIDY_OPTS="-p . --fix --fix-errors"
COMPILER_OPTS="-fno-builtin -std=gnu90 -Iinclude -Isrc -D_LANGUAGE_C -DNON_MATCHING"
#!/bin/bash
COMPILER_OPTS="-fno-builtin -std=gnu89 -Iinclude -Isrc -D_LANGUAGE_C"
shopt -s globstar
FILES="src/**/*.c include/*.h"
if (( $# > 0 )); then
echo "Formatting file(s) $*"
echo "Running clang-format..."
clang-format ${FORMAT_OPTS} "$@"
echo "Running clang-tidy..."
clang-tidy ${TIDY_OPTS} "$@" -- ${COMPILER_OPTS} &> /dev/null
echo "Adding missing final new lines..."
sed -i -e '$a\' "$@"
echo "Done formatting file(s) $*"
# only process .c and .h files
FILES=$(echo "$@" | sed 's/ /\n/g' | grep '.[ch]$')
fi
if [[ -z $FILES ]]; then
echo "no .c or .h files specified"
exit
fi
echo "Formatting C files. This will take a bit"
echo "Running clang-format..."
clang-format ${FORMAT_OPTS} src/**/*.c
echo "Running clang-tidy..."
clang-tidy ${TIDY_OPTS} src/**/*.c -- ${COMPILER_OPTS} &> /dev/null
echo "Adding missing final new lines..."
find src/ -type f -name "*.c" -exec sed -i -e '$a\' {} \;
echo "Done formatting all files."
# format
astyle ${FILES} \
--formatted --suffix=none \
--lineend=linux \
--convert-tabs \
--max-code-length=120 \
--min-conditional-indent=1 \
--style=attach \
--align-pointer=type --align-reference=name \
--indent-switches \
--indent-labels \
--pad-oper --pad-comma --pad-header --unpad-paren \
--attach-return-type \
# add newline at eof
find ${FILES} -exec sed -i -e '$a\' {} \;
# lint
clang-tidy -p . ${FILES} -- ${COMPILER_OPTS}

View File

@ -61,7 +61,9 @@ typedef struct Npc {
/* 0x020 */ struct NpcBlurData* blurData; /* related to movement somehow... */
/* 0x024 */ char unk_24[4];
/* 0x028 */ u32 currentAnim;
/* 0x02C */ char unk_2C[12];
/* 0x02C */ char unk_2C[4];
/* 0x030 */ f32 animationSpeed;
/* 0x034 */ char unk_34[4];
/* 0x038 */ struct Vec3f pos;
/* 0x044 */ struct Vec3f rotation;
/* 0x050 */ char unk_50[4];
@ -248,8 +250,8 @@ typedef struct ScriptInstance {
/* 0x110 */ u8 switchBlockState[8];
/* 0x118 */ s32 switchBlockValue[8];
/* 0x138 */ s32* buffer;
/* 0x13C */ UNK_PTR array;
/* 0x140 */ UNK_PTR flagArray;
/* 0x13C */ s32* array;
/* 0x140 */ s32* flagArray;
/* 0x144 */ s32 uniqueID;
/* 0x148 */ struct Enemy* ownerActorID; /* controller*, battle ID, trigger* */
/* 0x14C */ u32 ownerID; /* can be an npcID, a triggerID, a trigger ptr */
@ -522,7 +524,7 @@ typedef struct BattleStatus {
/* 0x0B1 */ char unk_B1[3];
/* 0x0B4 */ UNK_FUN_PTR(preUpdateCallback);
/* 0x0B8 */ char unk_B8[4];
/* 0x0BC */ struct ScriptInstance* controlScript; /* control handed over to this when changing partners, maybe general? */
/* 0x0BC */ struct ScriptInstance* controlScript; /* control handed over to this when changing partners */
/* 0x0C0 */ s32 controlScriptID;
/* 0x0C4 */ struct ScriptInstance* camMovementScript;
/* 0x0C8 */ s32 camMovementScriptID;
@ -1268,8 +1270,8 @@ typedef struct TileDescriptor {
} TileDescriptor; // size = 0x30
typedef struct BackgroundHeader {
/* 0x00 */ u32 raster;
/* 0x04 */ u32 palette;
/* 0x00 */ UNK_PTR raster;
/* 0x04 */ UNK_PTR palette;
/* 0x08 */ u16 startX;
/* 0x0A */ u16 startY;
/* 0x0C */ u16 width;

View File

@ -35,6 +35,7 @@ f32 update_lerp(Easing easing, f32 start, f32 end, s32 elapsed, s32 duration);
Npc* get_npc_safe(NpcId npcId);
Npc* get_npc_unsafe(NpcId npcId);
Npc* resolve_npc(ScriptInstance* script, NpcId npcIdOrPtr);
void set_npc_yaw(Npc* npcPtr, f32 angle);
f32 dist2D(f32 ax, f32 ay, f32 bx, f32 by);
f32 dist3D(f32 ax, f32 ay, f32 az, f32 bx, f32 by, f32 bz);

View File

@ -2,7 +2,7 @@
#define _MACROS_H_
#define INCLUDE_ASM(FOLDER, NAME, ARGS...) \
__attribute__((naked)) NAME(ARGS) { __asm__( ".include \"include/macro.inc\"\n.include \"asm/nonmatchings/"#FOLDER"/"#NAME".s\"\n.set reorder\n.set at"); }
__attribute__((naked)) NAME(ARGS) { __asm__( ".include \"include/macro.inc\"\n.include \"asm/nonmatchings/"FOLDER"/"#NAME".s\"\n.set reorder\n.set at"); }
#define ARRAY_COUNT(arr) (s32)(sizeof(arr) / sizeof(arr[0]))
#define ARRAY_COUNTU(arr) (u32)(sizeof(arr) / sizeof(arr[0]))

View File

@ -1,6 +1,9 @@
#ifndef _SI_H_
#define _SI_H_
#include "ultra64.h"
#include "types.h"
#define SI_VAR_0 0xFE363C80
/* Return type of si_execute_next_command */

View File

@ -1,6 +1,8 @@
#ifndef _TYPES_H_
#define _TYPES_H_
#include "ultra64.h"
#define UNK_TYPE s32
#define UNK_PTR void*
#define UNK_RET void

View File

@ -40,6 +40,8 @@ extern Shadow* gWorldShadowList[60];
extern Shadow* gBattleShadowList[60];
extern Shadow** gCurrentShadowListPtr[60];
extern Camera gCameras[4];
extern f32 gGlobalTimeSpace;
extern s8 D_800A0900;
@ -56,10 +58,10 @@ extern PrintContext* gCurrentPrintContext;
extern PrintContext* D_802DB268;
// Triggers
/* 0x80151334 */ extern s16 gTriggerCount;
/* 0x80159190 */ extern Trigger gTriggerList1[64];
/* 0x80159290 */ extern Trigger gTriggerList2[64];
/* 0x80159390 */ extern Trigger** gCurrentTriggerListPtr[64];
extern s16 gTriggerCount;
extern Trigger* gTriggerList1[64];
extern Trigger* gTriggerList2[64];
extern Trigger** gCurrentTriggerListPtr[64];
extern u16 gMapTransitionAlpha;
extern u16 D_800A0942;
@ -76,8 +78,5 @@ extern UNK_TYPE D_80147474;
extern UNK_TYPE D_80147574;
extern UNK_TYPE D_80109270;
extern UNK_TYPE D_80108558;
extern u16 D_800A0940;
extern u16 D_800A0942;
extern s16 D_800A0944;
#endif

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Ubuntu
if command -v apt-install &> /dev/null; then
@ -8,8 +8,8 @@ if command -v apt-install &> /dev/null; then
if [[ $1 == "--extra" ]]; then
echo "Installing extra"
sudo apt install -y python3 python3-pip clang-tidy clang-format
python3 -m pip install stringcase
sudo apt install -y python3 python3-pip clang-tidy astyle || exit 1
python3 -m pip install stringcase || exit 1
fi
echo "Done"
@ -48,7 +48,7 @@ if command -v pacman &> /dev/null; then
if [[ $1 == "--extra" ]]; then
echo "Installing extra"
sudo pacman -S --noconfirm --needed python python-pip clang || exit 1
sudo pacman -S --noconfirm --needed python python-pip clang astyle || exit 1
python3 -m pip install stringcase || exit 1
fi

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,3 @@
#include "common.h"
INCLUDE_ASM(code_1000_len_60, entry_point);
INCLUDE_ASM("code_1000_len_60", entry_point);

View File

@ -1,15 +1,15 @@
#include "common.h"
INCLUDE_ASM(code_101b90_len_8f0, func_802DEAA0);
INCLUDE_ASM("code_101b90_len_8f0", func_802DEAA0);
INCLUDE_ASM(code_101b90_len_8f0, load_sprite);
INCLUDE_ASM("code_101b90_len_8f0", load_sprite);
INCLUDE_ASM(code_101b90_len_8f0, func_802DED60);
INCLUDE_ASM("code_101b90_len_8f0", func_802DED60);
INCLUDE_ASM(code_101b90_len_8f0, func_802DEEA0);
INCLUDE_ASM("code_101b90_len_8f0", func_802DEEA0);
INCLUDE_ASM(code_101b90_len_8f0, func_802DEFB4);
INCLUDE_ASM("code_101b90_len_8f0", func_802DEFB4);
INCLUDE_ASM(code_101b90_len_8f0, func_802DF00C);
INCLUDE_ASM("code_101b90_len_8f0", func_802DF00C);
INCLUDE_ASM(code_101b90_len_8f0, func_802DF2D8);
INCLUDE_ASM("code_101b90_len_8f0", func_802DF2D8);

View File

@ -1,15 +1,15 @@
#include "common.h"
INCLUDE_ASM(code_102610_len_2330, func_802E0D90);
INCLUDE_ASM("code_102610_len_2330", func_802E0D90);
INCLUDE_ASM(code_102610_len_2330, func_802E0DB0);
INCLUDE_ASM("code_102610_len_2330", func_802E0DB0);
INCLUDE_ASM(code_102610_len_2330, func_802E0DE0);
INCLUDE_ASM("code_102610_len_2330", func_802E0DE0);
INCLUDE_ASM(code_102610_len_2330, save_game_at_player_position);
INCLUDE_ASM("code_102610_len_2330", save_game_at_player_position);
INCLUDE_ASM(code_102610_len_2330, func_802E153C);
INCLUDE_ASM("code_102610_len_2330", func_802E153C);
INCLUDE_ASM(code_102610_len_2330, func_802E234C);
INCLUDE_ASM("code_102610_len_2330", func_802E234C);
INCLUDE_ASM(code_102610_len_2330, func_802E246C);
INCLUDE_ASM("code_102610_len_2330", func_802E246C);

View File

@ -1,25 +1,25 @@
#include "common.h"
INCLUDE_ASM(code_10400_len_d30, func_80035000_2);
INCLUDE_ASM("code_10400_len_d30", func_80035000_2);
INCLUDE_ASM(code_10400_len_d30, func_80035058_2);
INCLUDE_ASM("code_10400_len_d30", func_80035058_2);
INCLUDE_ASM(code_10400_len_d30, func_800351C8_2);
INCLUDE_ASM("code_10400_len_d30", func_800351C8_2);
INCLUDE_ASM(code_10400_len_d30, func_800354EC_2);
INCLUDE_ASM("code_10400_len_d30", func_800354EC_2);
INCLUDE_ASM(code_10400_len_d30, func_800355C4_2);
INCLUDE_ASM("code_10400_len_d30", func_800355C4_2);
INCLUDE_ASM(code_10400_len_d30, func_800355CC_2);
INCLUDE_ASM("code_10400_len_d30", func_800355CC_2);
INCLUDE_ASM(code_10400_len_d30, func_800355D4_2);
INCLUDE_ASM("code_10400_len_d30", func_800355D4_2);
INCLUDE_ASM(code_10400_len_d30, func_80035660_2);
INCLUDE_ASM("code_10400_len_d30", func_80035660_2);
INCLUDE_ASM(code_10400_len_d30, func_80035704);
INCLUDE_ASM("code_10400_len_d30", func_80035704);
INCLUDE_ASM(code_10400_len_d30, func_80035B40_2);
INCLUDE_ASM("code_10400_len_d30", func_80035B40_2);
INCLUDE_ASM(code_10400_len_d30, func_80035D18_2);
INCLUDE_ASM("code_10400_len_d30", func_80035D18_2);
INCLUDE_ASM(code_10400_len_d30, func_80035D20_2);
INCLUDE_ASM("code_10400_len_d30", func_80035D20_2);

View File

@ -1,11 +1,11 @@
#include "common.h"
INCLUDE_ASM(code_104940_len_dc0, func_802E30C0);
INCLUDE_ASM("code_104940_len_dc0", func_802E30C0);
INCLUDE_ASM(code_104940_len_dc0, func_802E3370);
INCLUDE_ASM("code_104940_len_dc0", func_802E3370);
INCLUDE_ASM(code_104940_len_dc0, func_802E3650);
INCLUDE_ASM("code_104940_len_dc0", func_802E3650);
INCLUDE_ASM(code_104940_len_dc0, func_802E36E4);
INCLUDE_ASM("code_104940_len_dc0", func_802E36E4);
INCLUDE_ASM(code_104940_len_dc0, func_802E3A00);
INCLUDE_ASM("code_104940_len_dc0", func_802E3A00);

View File

@ -1,27 +1,27 @@
#include "common.h"
INCLUDE_ASM(code_105700_len_2130, func_802E3E80);
INCLUDE_ASM("code_105700_len_2130", func_802E3E80);
INCLUDE_ASM(code_105700_len_2130, func_802E464C);
INCLUDE_ASM("code_105700_len_2130", func_802E464C);
INCLUDE_ASM(code_105700_len_2130, func_802E4710);
INCLUDE_ASM("code_105700_len_2130", func_802E4710);
INCLUDE_ASM(code_105700_len_2130, func_802E4730);
INCLUDE_ASM("code_105700_len_2130", func_802E4730);
INCLUDE_ASM(code_105700_len_2130, func_802E4B10);
INCLUDE_ASM("code_105700_len_2130", func_802E4B10);
INCLUDE_ASM(code_105700_len_2130, func_802E4B60);
INCLUDE_ASM("code_105700_len_2130", func_802E4B60);
INCLUDE_ASM(code_105700_len_2130, func_802E4C10);
INCLUDE_ASM("code_105700_len_2130", func_802E4C10);
INCLUDE_ASM(code_105700_len_2130, func_802E4E04);
INCLUDE_ASM("code_105700_len_2130", func_802E4E04);
INCLUDE_ASM(code_105700_len_2130, func_802E5324);
INCLUDE_ASM("code_105700_len_2130", func_802E5324);
INCLUDE_ASM(code_105700_len_2130, func_802E55A8);
INCLUDE_ASM("code_105700_len_2130", func_802E55A8);
INCLUDE_ASM(code_105700_len_2130, func_802E5670);
INCLUDE_ASM("code_105700_len_2130", func_802E5670);
INCLUDE_ASM(code_105700_len_2130, func_802E578C);
INCLUDE_ASM("code_105700_len_2130", func_802E578C);
INCLUDE_ASM(code_105700_len_2130, func_802E581C);
INCLUDE_ASM("code_105700_len_2130", func_802E581C);

View File

@ -1,11 +1,11 @@
#include "common.h"
INCLUDE_ASM(code_1060_len_310, func_80025C60);
INCLUDE_ASM("code_1060_len_310", func_80025C60);
INCLUDE_ASM(code_1060_len_310, func_80025CFC);
INCLUDE_ASM("code_1060_len_310", func_80025CFC);
INCLUDE_ASM(code_1060_len_310, func_80025D38);
INCLUDE_ASM("code_1060_len_310", func_80025D38);
INCLUDE_ASM(code_1060_len_310, func_80025D74);
INCLUDE_ASM("code_1060_len_310", func_80025D74);
INCLUDE_ASM(code_1060_len_310, func_80025F44);
INCLUDE_ASM("code_1060_len_310", func_80025F44);

View File

@ -1,5 +1,5 @@
#include "common.h"
INCLUDE_ASM(code_107830_len_e70, func_802E5FB0);
INCLUDE_ASM("code_107830_len_e70", func_802E5FB0);
INCLUDE_ASM(code_107830_len_e70, func_802E6B6C);
INCLUDE_ASM("code_107830_len_e70", func_802E6B6C);

View File

@ -1,7 +1,7 @@
#include "common.h"
INCLUDE_ASM(code_1086a0_len_fc0, func_802E6E20);
INCLUDE_ASM("code_1086a0_len_fc0", func_802E6E20);
INCLUDE_ASM(code_1086a0_len_fc0, func_802E7230);
INCLUDE_ASM("code_1086a0_len_fc0", func_802E7230);
INCLUDE_ASM(code_1086a0_len_fc0, func_802E7D38);
INCLUDE_ASM("code_1086a0_len_fc0", func_802E7D38);

View File

@ -1,9 +1,9 @@
#include "common.h"
INCLUDE_ASM(code_109660_len_1270, func_802E7DE0);
INCLUDE_ASM("code_109660_len_1270", func_802E7DE0);
INCLUDE_ASM(code_109660_len_1270, func_802E7F6C);
INCLUDE_ASM("code_109660_len_1270", func_802E7F6C);
INCLUDE_ASM(code_109660_len_1270, player_enter_blue_pipe);
INCLUDE_ASM("code_109660_len_1270", player_enter_blue_pipe);
INCLUDE_ASM(code_109660_len_1270, push_entity_matrix);
INCLUDE_ASM("code_109660_len_1270", push_entity_matrix);

View File

@ -5,13 +5,13 @@ void func_80035DF0(s16 arg0) {
*tempPtr = arg0;
}
INCLUDE_ASM(code_111f0_len_860, func_80035E00);
INCLUDE_ASM("code_111f0_len_860", func_80035E00);
INCLUDE_ASM(code_111f0_len_860, func_80035E24);
INCLUDE_ASM("code_111f0_len_860", func_80035E24);
INCLUDE_ASM(code_111f0_len_860, func_80035E54);
INCLUDE_ASM("code_111f0_len_860", func_80035E54);
INCLUDE_ASM(code_111f0_len_860, func_80035EEC);
INCLUDE_ASM("code_111f0_len_860", func_80035EEC);
void func_800360FC(void) {
GameStatus* gameStatus = *gGameStatusPtr;
@ -36,7 +36,7 @@ void func_80036130(void) {
}
}
INCLUDE_ASM(code_111f0_len_860, func_8003617C);
INCLUDE_ASM("code_111f0_len_860", func_8003617C);
s32 func_800363FC(void) {
s32 phi_return;
@ -59,7 +59,7 @@ s32 func_80036430(void) {
return pPlayerStatus->flags;
}
INCLUDE_ASM(code_111f0_len_860, func_8003646C);
INCLUDE_ASM("code_111f0_len_860", func_8003646C);
void func_80036640(void) {
}

View File

@ -1,3 +1,3 @@
#include "common.h"
INCLUDE_ASM(code_11a50_len_7a0, func_80036650);
INCLUDE_ASM("code_11a50_len_7a0", func_80036650);

View File

@ -1,13 +1,13 @@
#include "common.h"
INCLUDE_ASM(code_121f0_len_1290, func_80036DF0);
INCLUDE_ASM("code_121f0_len_1290", func_80036DF0);
INCLUDE_ASM(code_121f0_len_1290, func_80037960);
INCLUDE_ASM("code_121f0_len_1290", func_80037960);
INCLUDE_ASM(code_121f0_len_1290, func_80037968);
INCLUDE_ASM("code_121f0_len_1290", func_80037968);
INCLUDE_ASM(code_121f0_len_1290, func_80037994);
INCLUDE_ASM("code_121f0_len_1290", func_80037994);
INCLUDE_ASM(code_121f0_len_1290, func_80037BC8);
INCLUDE_ASM("code_121f0_len_1290", func_80037BC8);
INCLUDE_ASM(code_121f0_len_1290, func_80037E14);
INCLUDE_ASM("code_121f0_len_1290", func_80037E14);

View File

@ -1,5 +1,5 @@
#include "common.h"
INCLUDE_ASM(code_13480_len_3f0, init_demo_data);
INCLUDE_ASM("code_13480_len_3f0", init_demo_data);
INCLUDE_ASM(code_13480_len_3f0, next_demo_scene);
INCLUDE_ASM("code_13480_len_3f0", next_demo_scene);

View File

@ -1,509 +1,509 @@
#include "common.h"
INCLUDE_ASM(code_135EE0, func_80242BA0_2);
INCLUDE_ASM("code_135EE0", func_80242BA0_2);
INCLUDE_ASM(code_135EE0, func_80242BAC);
INCLUDE_ASM("code_135EE0", func_80242BAC);
INCLUDE_ASM(code_135EE0, func_80242C2C);
INCLUDE_ASM("code_135EE0", func_80242C2C);
INCLUDE_ASM(code_135EE0, func_80242C34);
INCLUDE_ASM("code_135EE0", func_80242C34);
INCLUDE_ASM(code_135EE0, func_80242CE8);
INCLUDE_ASM("code_135EE0", func_80242CE8);
INCLUDE_ASM(code_135EE0, func_80242CF8);
INCLUDE_ASM("code_135EE0", func_80242CF8);
INCLUDE_ASM(code_135EE0, func_80242D04);
INCLUDE_ASM("code_135EE0", func_80242D04);
INCLUDE_ASM(code_135EE0, func_80242D20);
INCLUDE_ASM("code_135EE0", func_80242D20);
INCLUDE_ASM(code_135EE0, func_80242D54);
INCLUDE_ASM("code_135EE0", func_80242D54);
INCLUDE_ASM(code_135EE0, func_80242E6C);
INCLUDE_ASM("code_135EE0", func_80242E6C);
INCLUDE_ASM(code_135EE0, func_80242F48);
INCLUDE_ASM("code_135EE0", func_80242F48);
INCLUDE_ASM(code_135EE0, func_80243418);
INCLUDE_ASM("code_135EE0", func_80243418);
INCLUDE_ASM(code_135EE0, func_8024346C);
INCLUDE_ASM("code_135EE0", func_8024346C);
INCLUDE_ASM(code_135EE0, func_802434DC);
INCLUDE_ASM("code_135EE0", func_802434DC);
INCLUDE_ASM(code_135EE0, func_80243B00);
INCLUDE_ASM("code_135EE0", func_80243B00);
INCLUDE_ASM(code_135EE0, func_80243B14);
INCLUDE_ASM("code_135EE0", func_80243B14);
INCLUDE_ASM(code_135EE0, func_80243BA4);
INCLUDE_ASM("code_135EE0", func_80243BA4);
INCLUDE_ASM(code_135EE0, func_80243D8C);
INCLUDE_ASM("code_135EE0", func_80243D8C);
INCLUDE_ASM(code_135EE0, func_80243D9C);
INCLUDE_ASM("code_135EE0", func_80243D9C);
INCLUDE_ASM(code_135EE0, func_80243E60);
INCLUDE_ASM("code_135EE0", func_80243E60);
INCLUDE_ASM(code_135EE0, func_80244060);
INCLUDE_ASM("code_135EE0", func_80244060);
INCLUDE_ASM(code_135EE0, func_80244118);
INCLUDE_ASM("code_135EE0", func_80244118);
INCLUDE_ASM(code_135EE0, func_8024411C);
INCLUDE_ASM("code_135EE0", func_8024411C);
INCLUDE_ASM(code_135EE0, func_8024412C);
INCLUDE_ASM("code_135EE0", func_8024412C);
INCLUDE_ASM(code_135EE0, func_802441BC);
INCLUDE_ASM("code_135EE0", func_802441BC);
INCLUDE_ASM(code_135EE0, func_802441C4);
INCLUDE_ASM("code_135EE0", func_802441C4);
INCLUDE_ASM(code_135EE0, func_802441CC);
INCLUDE_ASM("code_135EE0", func_802441CC);
INCLUDE_ASM(code_135EE0, func_802441D8);
INCLUDE_ASM("code_135EE0", func_802441D8);
INCLUDE_ASM(code_135EE0, func_80244250);
INCLUDE_ASM("code_135EE0", func_80244250);
INCLUDE_ASM(code_135EE0, func_80244258);
INCLUDE_ASM("code_135EE0", func_80244258);
INCLUDE_ASM(code_135EE0, func_80244264);
INCLUDE_ASM("code_135EE0", func_80244264);
INCLUDE_ASM(code_135EE0, func_8024428C);
INCLUDE_ASM("code_135EE0", func_8024428C);
INCLUDE_ASM(code_135EE0, func_802442A0);
INCLUDE_ASM("code_135EE0", func_802442A0);
INCLUDE_ASM(code_135EE0, func_802442FC);
INCLUDE_ASM("code_135EE0", func_802442FC);
INCLUDE_ASM(code_135EE0, func_802443FC);
INCLUDE_ASM("code_135EE0", func_802443FC);
INCLUDE_ASM(code_135EE0, func_80244400);
INCLUDE_ASM("code_135EE0", func_80244400);
INCLUDE_ASM(code_135EE0, func_80244424);
INCLUDE_ASM("code_135EE0", func_80244424);
INCLUDE_ASM(code_135EE0, func_802444C4);
INCLUDE_ASM("code_135EE0", func_802444C4);
INCLUDE_ASM(code_135EE0, func_802447F4);
INCLUDE_ASM("code_135EE0", func_802447F4);
INCLUDE_ASM(code_135EE0, func_80244858);
INCLUDE_ASM("code_135EE0", func_80244858);
INCLUDE_ASM(code_135EE0, func_80244A4C);
INCLUDE_ASM("code_135EE0", func_80244A4C);
INCLUDE_ASM(code_135EE0, func_80245070);
INCLUDE_ASM("code_135EE0", func_80245070);
INCLUDE_ASM(code_135EE0, func_802450D8);
INCLUDE_ASM("code_135EE0", func_802450D8);
INCLUDE_ASM(code_135EE0, func_802451B4);
INCLUDE_ASM("code_135EE0", func_802451B4);
INCLUDE_ASM(code_135EE0, func_80245200);
INCLUDE_ASM("code_135EE0", func_80245200);
INCLUDE_ASM(code_135EE0, func_802452C4);
INCLUDE_ASM("code_135EE0", func_802452C4);
INCLUDE_ASM(code_135EE0, func_80245568);
INCLUDE_ASM("code_135EE0", func_80245568);
INCLUDE_ASM(code_135EE0, func_8024563C);
INCLUDE_ASM("code_135EE0", func_8024563C);
INCLUDE_ASM(code_135EE0, func_80245748);
INCLUDE_ASM("code_135EE0", func_80245748);
INCLUDE_ASM(code_135EE0, func_802457B8);
INCLUDE_ASM("code_135EE0", func_802457B8);
INCLUDE_ASM(code_135EE0, func_80245910);
INCLUDE_ASM("code_135EE0", func_80245910);
INCLUDE_ASM(code_135EE0, func_80245984);
INCLUDE_ASM("code_135EE0", func_80245984);
INCLUDE_ASM(code_135EE0, func_802459E0);
INCLUDE_ASM("code_135EE0", func_802459E0);
INCLUDE_ASM(code_135EE0, func_80245B70);
INCLUDE_ASM("code_135EE0", func_80245B70);
INCLUDE_ASM(code_135EE0, func_80245C6C);
INCLUDE_ASM("code_135EE0", func_80245C6C);
INCLUDE_ASM(code_135EE0, func_80245CAC);
INCLUDE_ASM("code_135EE0", func_80245CAC);
INCLUDE_ASM(code_135EE0, func_80245D5C);
INCLUDE_ASM("code_135EE0", func_80245D5C);
INCLUDE_ASM(code_135EE0, func_80245D78);
INCLUDE_ASM("code_135EE0", func_80245D78);
INCLUDE_ASM(code_135EE0, func_80245FE4);
INCLUDE_ASM("code_135EE0", func_80245FE4);
INCLUDE_ASM(code_135EE0, func_80246060);
INCLUDE_ASM("code_135EE0", func_80246060);
INCLUDE_ASM(code_135EE0, func_80246168);
INCLUDE_ASM("code_135EE0", func_80246168);
INCLUDE_ASM(code_135EE0, func_802461C0);
INCLUDE_ASM("code_135EE0", func_802461C0);
INCLUDE_ASM(code_135EE0, func_802461E4);
INCLUDE_ASM("code_135EE0", func_802461E4);
INCLUDE_ASM(code_135EE0, func_80246284);
INCLUDE_ASM("code_135EE0", func_80246284);
INCLUDE_ASM(code_135EE0, func_80246288);
INCLUDE_ASM("code_135EE0", func_80246288);
INCLUDE_ASM(code_135EE0, func_80246298);
INCLUDE_ASM("code_135EE0", func_80246298);
INCLUDE_ASM(code_135EE0, func_802462F0);
INCLUDE_ASM("code_135EE0", func_802462F0);
INCLUDE_ASM(code_135EE0, func_80246348);
INCLUDE_ASM("code_135EE0", func_80246348);
INCLUDE_ASM(code_135EE0, func_80246358);
INCLUDE_ASM("code_135EE0", func_80246358);
INCLUDE_ASM(code_135EE0, func_80246490);
INCLUDE_ASM("code_135EE0", func_80246490);
INCLUDE_ASM(code_135EE0, func_80246504);
INCLUDE_ASM("code_135EE0", func_80246504);
INCLUDE_ASM(code_135EE0, func_8024651C);
INCLUDE_ASM("code_135EE0", func_8024651C);
INCLUDE_ASM(code_135EE0, func_80246578);
INCLUDE_ASM("code_135EE0", func_80246578);
INCLUDE_ASM(code_135EE0, func_802465EC);
INCLUDE_ASM("code_135EE0", func_802465EC);
INCLUDE_ASM(code_135EE0, func_80246BE4);
INCLUDE_ASM("code_135EE0", func_80246BE4);
INCLUDE_ASM(code_135EE0, func_80246C9C);
INCLUDE_ASM("code_135EE0", func_80246C9C);
INCLUDE_ASM(code_135EE0, func_80246DB8);
INCLUDE_ASM("code_135EE0", func_80246DB8);
INCLUDE_ASM(code_135EE0, func_80246DEC);
INCLUDE_ASM("code_135EE0", func_80246DEC);
INCLUDE_ASM(code_135EE0, func_80246F28);
INCLUDE_ASM("code_135EE0", func_80246F28);
INCLUDE_ASM(code_135EE0, func_80246FF4);
INCLUDE_ASM("code_135EE0", func_80246FF4);
INCLUDE_ASM(code_135EE0, func_80246FFC);
INCLUDE_ASM("code_135EE0", func_80246FFC);
INCLUDE_ASM(code_135EE0, func_80247000);
INCLUDE_ASM("code_135EE0", func_80247000);
INCLUDE_ASM(code_135EE0, func_80247020);
INCLUDE_ASM("code_135EE0", func_80247020);
INCLUDE_ASM(code_135EE0, func_80247054);
INCLUDE_ASM("code_135EE0", func_80247054);
INCLUDE_ASM(code_135EE0, func_802470B0);
INCLUDE_ASM("code_135EE0", func_802470B0);
INCLUDE_ASM(code_135EE0, func_8024710C);
INCLUDE_ASM("code_135EE0", func_8024710C);
INCLUDE_ASM(code_135EE0, func_80247164);
INCLUDE_ASM("code_135EE0", func_80247164);
INCLUDE_ASM(code_135EE0, func_80247168);
INCLUDE_ASM("code_135EE0", func_80247168);
INCLUDE_ASM(code_135EE0, func_802471D8);
INCLUDE_ASM("code_135EE0", func_802471D8);
INCLUDE_ASM(code_135EE0, func_80247220);
INCLUDE_ASM("code_135EE0", func_80247220);
INCLUDE_ASM(code_135EE0, func_80247270);
INCLUDE_ASM("code_135EE0", func_80247270);
INCLUDE_ASM(code_135EE0, func_80247298);
INCLUDE_ASM("code_135EE0", func_80247298);
INCLUDE_ASM(code_135EE0, func_802472A8);
INCLUDE_ASM("code_135EE0", func_802472A8);
INCLUDE_ASM(code_135EE0, func_802472B0);
INCLUDE_ASM("code_135EE0", func_802472B0);
INCLUDE_ASM(code_135EE0, func_80247314);
INCLUDE_ASM("code_135EE0", func_80247314);
INCLUDE_ASM(code_135EE0, func_80247318);
INCLUDE_ASM("code_135EE0", func_80247318);
INCLUDE_ASM(code_135EE0, func_80247338);
INCLUDE_ASM("code_135EE0", func_80247338);
INCLUDE_ASM(code_135EE0, func_802473E4);
INCLUDE_ASM("code_135EE0", func_802473E4);
INCLUDE_ASM(code_135EE0, func_80247440);
INCLUDE_ASM("code_135EE0", func_80247440);
INCLUDE_ASM(code_135EE0, func_80247444);
INCLUDE_ASM("code_135EE0", func_80247444);
INCLUDE_ASM(code_135EE0, func_80247458);
INCLUDE_ASM("code_135EE0", func_80247458);
INCLUDE_ASM(code_135EE0, func_80247BB0);
INCLUDE_ASM("code_135EE0", func_80247BB0);
INCLUDE_ASM(code_135EE0, func_80247BB8);
INCLUDE_ASM("code_135EE0", func_80247BB8);
INCLUDE_ASM(code_135EE0, func_80247C24);
INCLUDE_ASM("code_135EE0", func_80247C24);
INCLUDE_ASM(code_135EE0, func_80247CD4);
INCLUDE_ASM("code_135EE0", func_80247CD4);
INCLUDE_ASM(code_135EE0, func_80247CE0);
INCLUDE_ASM("code_135EE0", func_80247CE0);
INCLUDE_ASM(code_135EE0, func_80247CF4);
INCLUDE_ASM("code_135EE0", func_80247CF4);
INCLUDE_ASM(code_135EE0, func_80247D2C);
INCLUDE_ASM("code_135EE0", func_80247D2C);
INCLUDE_ASM(code_135EE0, func_80247D44);
INCLUDE_ASM("code_135EE0", func_80247D44);
INCLUDE_ASM(code_135EE0, func_80247DA4);
INCLUDE_ASM("code_135EE0", func_80247DA4);
INCLUDE_ASM(code_135EE0, func_80247E30);
INCLUDE_ASM("code_135EE0", func_80247E30);
INCLUDE_ASM(code_135EE0, func_80247F80);
INCLUDE_ASM("code_135EE0", func_80247F80);
INCLUDE_ASM(code_135EE0, func_80247F94);
INCLUDE_ASM("code_135EE0", func_80247F94);
INCLUDE_ASM(code_135EE0, func_80247F98);
INCLUDE_ASM("code_135EE0", func_80247F98);
INCLUDE_ASM(code_135EE0, func_80247FA4);
INCLUDE_ASM("code_135EE0", func_80247FA4);
INCLUDE_ASM(code_135EE0, func_8024824C);
INCLUDE_ASM("code_135EE0", func_8024824C);
INCLUDE_ASM(code_135EE0, func_80248274);
INCLUDE_ASM("code_135EE0", func_80248274);
INCLUDE_ASM(code_135EE0, func_80248284);
INCLUDE_ASM("code_135EE0", func_80248284);
INCLUDE_ASM(code_135EE0, func_802483B8);
INCLUDE_ASM("code_135EE0", func_802483B8);
INCLUDE_ASM(code_135EE0, func_80248B70);
INCLUDE_ASM("code_135EE0", func_80248B70);
INCLUDE_ASM(code_135EE0, func_80248BA0);
INCLUDE_ASM("code_135EE0", func_80248BA0);
INCLUDE_ASM(code_135EE0, func_80248BCC);
INCLUDE_ASM("code_135EE0", func_80248BCC);
INCLUDE_ASM(code_135EE0, func_80248BE4);
INCLUDE_ASM("code_135EE0", func_80248BE4);
INCLUDE_ASM(code_135EE0, func_80248BF4);
INCLUDE_ASM("code_135EE0", func_80248BF4);
INCLUDE_ASM(code_135EE0, func_80248BFC);
INCLUDE_ASM("code_135EE0", func_80248BFC);
INCLUDE_ASM(code_135EE0, func_80248C4C);
INCLUDE_ASM("code_135EE0", func_80248C4C);
INCLUDE_ASM(code_135EE0, func_80248CCC);
INCLUDE_ASM("code_135EE0", func_80248CCC);
INCLUDE_ASM(code_135EE0, func_80248CD0);
INCLUDE_ASM("code_135EE0", func_80248CD0);
INCLUDE_ASM(code_135EE0, func_80248D40);
INCLUDE_ASM("code_135EE0", func_80248D40);
INCLUDE_ASM(code_135EE0, func_80248D54);
INCLUDE_ASM("code_135EE0", func_80248D54);
INCLUDE_ASM(code_135EE0, func_80248D8C);
INCLUDE_ASM("code_135EE0", func_80248D8C);
INCLUDE_ASM(code_135EE0, func_80248E40);
INCLUDE_ASM("code_135EE0", func_80248E40);
INCLUDE_ASM(code_135EE0, func_80248EB4);
INCLUDE_ASM("code_135EE0", func_80248EB4);
INCLUDE_ASM(code_135EE0, func_80248EDC);
INCLUDE_ASM("code_135EE0", func_80248EDC);
INCLUDE_ASM(code_135EE0, func_80248F80);
INCLUDE_ASM("code_135EE0", func_80248F80);
INCLUDE_ASM(code_135EE0, func_80248F9C);
INCLUDE_ASM("code_135EE0", func_80248F9C);
INCLUDE_ASM(code_135EE0, func_80249008);
INCLUDE_ASM("code_135EE0", func_80249008);
INCLUDE_ASM(code_135EE0, func_80249034);
INCLUDE_ASM("code_135EE0", func_80249034);
INCLUDE_ASM(code_135EE0, func_8024908C);
INCLUDE_ASM("code_135EE0", func_8024908C);
INCLUDE_ASM(code_135EE0, func_80249110);
INCLUDE_ASM("code_135EE0", func_80249110);
INCLUDE_ASM(code_135EE0, func_80249274);
INCLUDE_ASM("code_135EE0", func_80249274);
INCLUDE_ASM(code_135EE0, func_8024928C);
INCLUDE_ASM("code_135EE0", func_8024928C);
INCLUDE_ASM(code_135EE0, func_80249290);
INCLUDE_ASM("code_135EE0", func_80249290);
INCLUDE_ASM(code_135EE0, func_802492B4);
INCLUDE_ASM("code_135EE0", func_802492B4);
INCLUDE_ASM(code_135EE0, func_802492E4);
INCLUDE_ASM("code_135EE0", func_802492E4);
INCLUDE_ASM(code_135EE0, func_80249310);
INCLUDE_ASM("code_135EE0", func_80249310);
INCLUDE_ASM(code_135EE0, func_80249420);
INCLUDE_ASM("code_135EE0", func_80249420);
INCLUDE_ASM(code_135EE0, func_802494AC);
INCLUDE_ASM("code_135EE0", func_802494AC);
INCLUDE_ASM(code_135EE0, func_8024950C);
INCLUDE_ASM("code_135EE0", func_8024950C);
INCLUDE_ASM(code_135EE0, func_80249590);
INCLUDE_ASM("code_135EE0", func_80249590);
INCLUDE_ASM(code_135EE0, func_80249594);
INCLUDE_ASM("code_135EE0", func_80249594);
INCLUDE_ASM(code_135EE0, func_80249598);
INCLUDE_ASM("code_135EE0", func_80249598);
INCLUDE_ASM(code_135EE0, func_80249604);
INCLUDE_ASM("code_135EE0", func_80249604);
INCLUDE_ASM(code_135EE0, func_8024961C);
INCLUDE_ASM("code_135EE0", func_8024961C);
INCLUDE_ASM(code_135EE0, func_802496FC);
INCLUDE_ASM("code_135EE0", func_802496FC);
INCLUDE_ASM(code_135EE0, func_802497AC);
INCLUDE_ASM("code_135EE0", func_802497AC);
INCLUDE_ASM(code_135EE0, func_802497D0);
INCLUDE_ASM("code_135EE0", func_802497D0);
INCLUDE_ASM(code_135EE0, func_802497D8);
INCLUDE_ASM("code_135EE0", func_802497D8);
INCLUDE_ASM(code_135EE0, func_80249828);
INCLUDE_ASM("code_135EE0", func_80249828);
INCLUDE_ASM(code_135EE0, func_80249898);
INCLUDE_ASM("code_135EE0", func_80249898);
INCLUDE_ASM(code_135EE0, func_802498E0);
INCLUDE_ASM("code_135EE0", func_802498E0);
INCLUDE_ASM(code_135EE0, func_80249930);
INCLUDE_ASM("code_135EE0", func_80249930);
INCLUDE_ASM(code_135EE0, func_8024994C);
INCLUDE_ASM("code_135EE0", func_8024994C);
INCLUDE_ASM(code_135EE0, func_80249950);
INCLUDE_ASM("code_135EE0", func_80249950);
INCLUDE_ASM(code_135EE0, func_80249954);
INCLUDE_ASM("code_135EE0", func_80249954);
INCLUDE_ASM(code_135EE0, func_80249958);
INCLUDE_ASM("code_135EE0", func_80249958);
INCLUDE_ASM(code_135EE0, func_80249968);
INCLUDE_ASM("code_135EE0", func_80249968);
INCLUDE_ASM(code_135EE0, func_80249B30);
INCLUDE_ASM("code_135EE0", func_80249B30);
INCLUDE_ASM(code_135EE0, func_80249C94);
INCLUDE_ASM("code_135EE0", func_80249C94);
INCLUDE_ASM(code_135EE0, func_80249CB0);
INCLUDE_ASM("code_135EE0", func_80249CB0);
INCLUDE_ASM(code_135EE0, func_80249CD4);
INCLUDE_ASM("code_135EE0", func_80249CD4);
INCLUDE_ASM(code_135EE0, func_80249E0C);
INCLUDE_ASM("code_135EE0", func_80249E0C);
INCLUDE_ASM(code_135EE0, func_80249EE4);
INCLUDE_ASM("code_135EE0", func_80249EE4);
INCLUDE_ASM(code_135EE0, func_80249F48);
INCLUDE_ASM("code_135EE0", func_80249F48);
INCLUDE_ASM(code_135EE0, func_80249FB4);
INCLUDE_ASM("code_135EE0", func_80249FB4);
INCLUDE_ASM(code_135EE0, func_8024A1E8);
INCLUDE_ASM("code_135EE0", func_8024A1E8);
INCLUDE_ASM(code_135EE0, func_8024A1FC);
INCLUDE_ASM("code_135EE0", func_8024A1FC);
INCLUDE_ASM(code_135EE0, func_8024A29C);
INCLUDE_ASM("code_135EE0", func_8024A29C);
INCLUDE_ASM(code_135EE0, func_8024A2D4);
INCLUDE_ASM("code_135EE0", func_8024A2D4);
INCLUDE_ASM(code_135EE0, func_8024A454);
INCLUDE_ASM("code_135EE0", func_8024A454);
INCLUDE_ASM(code_135EE0, func_8024A4A4);
INCLUDE_ASM("code_135EE0", func_8024A4A4);
INCLUDE_ASM(code_135EE0, func_8024A4AC);
INCLUDE_ASM("code_135EE0", func_8024A4AC);
INCLUDE_ASM(code_135EE0, func_8024A4DC);
INCLUDE_ASM("code_135EE0", func_8024A4DC);
INCLUDE_ASM(code_135EE0, func_8024A57C);
INCLUDE_ASM("code_135EE0", func_8024A57C);
INCLUDE_ASM(code_135EE0, func_8024A5AC);
INCLUDE_ASM("code_135EE0", func_8024A5AC);
INCLUDE_ASM(code_135EE0, func_8024A634);
INCLUDE_ASM("code_135EE0", func_8024A634);
INCLUDE_ASM(code_135EE0, func_8024A6D8);
INCLUDE_ASM("code_135EE0", func_8024A6D8);
INCLUDE_ASM(code_135EE0, func_8024A7A0);
INCLUDE_ASM("code_135EE0", func_8024A7A0);
INCLUDE_ASM(code_135EE0, func_8024A960);
INCLUDE_ASM("code_135EE0", func_8024A960);
INCLUDE_ASM(code_135EE0, func_8024A9A8);
INCLUDE_ASM("code_135EE0", func_8024A9A8);
INCLUDE_ASM(code_135EE0, func_8024AA80);
INCLUDE_ASM("code_135EE0", func_8024AA80);
INCLUDE_ASM(code_135EE0, func_8024AAA0);
INCLUDE_ASM("code_135EE0", func_8024AAA0);
INCLUDE_ASM(code_135EE0, func_8024AAEC);
INCLUDE_ASM("code_135EE0", func_8024AAEC);
INCLUDE_ASM(code_135EE0, func_8024AB0C);
INCLUDE_ASM("code_135EE0", func_8024AB0C);
INCLUDE_ASM(code_135EE0, func_8024AB6C);
INCLUDE_ASM("code_135EE0", func_8024AB6C);
INCLUDE_ASM(code_135EE0, func_8024ABF0);
INCLUDE_ASM("code_135EE0", func_8024ABF0);
INCLUDE_ASM(code_135EE0, func_8024ABF8);
INCLUDE_ASM("code_135EE0", func_8024ABF8);
INCLUDE_ASM(code_135EE0, func_8024AC44);
INCLUDE_ASM("code_135EE0", func_8024AC44);
INCLUDE_ASM(code_135EE0, func_8024AD34);
INCLUDE_ASM("code_135EE0", func_8024AD34);
INCLUDE_ASM(code_135EE0, func_8024AD94);
INCLUDE_ASM("code_135EE0", func_8024AD94);
INCLUDE_ASM(code_135EE0, func_8024ADE0);
INCLUDE_ASM("code_135EE0", func_8024ADE0);
INCLUDE_ASM(code_135EE0, func_8024AFBC);
INCLUDE_ASM("code_135EE0", func_8024AFBC);
INCLUDE_ASM(code_135EE0, func_8024B0E0);
INCLUDE_ASM("code_135EE0", func_8024B0E0);
INCLUDE_ASM(code_135EE0, func_8024B128);
INCLUDE_ASM("code_135EE0", func_8024B128);
INCLUDE_ASM(code_135EE0, func_8024B3FC);
INCLUDE_ASM("code_135EE0", func_8024B3FC);
INCLUDE_ASM(code_135EE0, func_8024B5D4);
INCLUDE_ASM("code_135EE0", func_8024B5D4);
INCLUDE_ASM(code_135EE0, func_8024B7BC);
INCLUDE_ASM("code_135EE0", func_8024B7BC);
INCLUDE_ASM(code_135EE0, func_8024B974);
INCLUDE_ASM("code_135EE0", func_8024B974);
INCLUDE_ASM(code_135EE0, func_8024BBC0);
INCLUDE_ASM("code_135EE0", func_8024BBC0);
INCLUDE_ASM(code_135EE0, func_8024BD10);
INCLUDE_ASM("code_135EE0", func_8024BD10);
INCLUDE_ASM(code_135EE0, func_8024BD78);
INCLUDE_ASM("code_135EE0", func_8024BD78);
INCLUDE_ASM(code_135EE0, func_8024BDD0);
INCLUDE_ASM("code_135EE0", func_8024BDD0);
INCLUDE_ASM(code_135EE0, func_8024BE84);
INCLUDE_ASM("code_135EE0", func_8024BE84);
INCLUDE_ASM(code_135EE0, func_8024BEF4);
INCLUDE_ASM("code_135EE0", func_8024BEF4);
INCLUDE_ASM(code_135EE0, func_8024BF9C);
INCLUDE_ASM("code_135EE0", func_8024BF9C);
INCLUDE_ASM(code_135EE0, func_8024C154);
INCLUDE_ASM("code_135EE0", func_8024C154);
INCLUDE_ASM(code_135EE0, func_8024C298);
INCLUDE_ASM("code_135EE0", func_8024C298);
INCLUDE_ASM(code_135EE0, func_8024C318);
INCLUDE_ASM("code_135EE0", func_8024C318);
INCLUDE_ASM(code_135EE0, func_8024C38C);
INCLUDE_ASM("code_135EE0", func_8024C38C);
INCLUDE_ASM(code_135EE0, func_8024C470);
INCLUDE_ASM("code_135EE0", func_8024C470);
INCLUDE_ASM(code_135EE0, func_8024C4E0);
INCLUDE_ASM("code_135EE0", func_8024C4E0);
INCLUDE_ASM(code_135EE0, func_8024C544);
INCLUDE_ASM("code_135EE0", func_8024C544);
INCLUDE_ASM(code_135EE0, func_8024C580);
INCLUDE_ASM("code_135EE0", func_8024C580);
INCLUDE_ASM(code_135EE0, func_8024C600);
INCLUDE_ASM("code_135EE0", func_8024C600);
INCLUDE_ASM(code_135EE0, func_8024C760);
INCLUDE_ASM("code_135EE0", func_8024C760);
INCLUDE_ASM(code_135EE0, func_8024C774);
INCLUDE_ASM("code_135EE0", func_8024C774);
INCLUDE_ASM(code_135EE0, func_8024C788);
INCLUDE_ASM("code_135EE0", func_8024C788);
INCLUDE_ASM(code_135EE0, func_8024C790);
INCLUDE_ASM("code_135EE0", func_8024C790);
INCLUDE_ASM(code_135EE0, func_8024C8B4);
INCLUDE_ASM("code_135EE0", func_8024C8B4);
INCLUDE_ASM(code_135EE0, func_8024C918);
INCLUDE_ASM("code_135EE0", func_8024C918);
INCLUDE_ASM(code_135EE0, func_8024C944);
INCLUDE_ASM("code_135EE0", func_8024C944);
INCLUDE_ASM(code_135EE0, func_8024D314);
INCLUDE_ASM("code_135EE0", func_8024D314);
INCLUDE_ASM(code_135EE0, func_8024D330);
INCLUDE_ASM("code_135EE0", func_8024D330);
INCLUDE_ASM(code_135EE0, func_8024D570);
INCLUDE_ASM("code_135EE0", func_8024D570);
INCLUDE_ASM(code_135EE0, func_8024D5AC);
INCLUDE_ASM("code_135EE0", func_8024D5AC);
INCLUDE_ASM(code_135EE0, func_8024D628);
INCLUDE_ASM("code_135EE0", func_8024D628);
INCLUDE_ASM(code_135EE0, func_8024D6F8);
INCLUDE_ASM("code_135EE0", func_8024D6F8);
INCLUDE_ASM(code_135EE0, func_8024D718);
INCLUDE_ASM("code_135EE0", func_8024D718);
INCLUDE_ASM(code_135EE0, func_8024D7E8);
INCLUDE_ASM("code_135EE0", func_8024D7E8);
INCLUDE_ASM(code_135EE0, func_8024D7F0);
INCLUDE_ASM("code_135EE0", func_8024D7F0);
INCLUDE_ASM(code_135EE0, func_8024D890);
INCLUDE_ASM("code_135EE0", func_8024D890);
INCLUDE_ASM(code_135EE0, func_8024D940);
INCLUDE_ASM("code_135EE0", func_8024D940);
INCLUDE_ASM(code_135EE0, func_8024D964);
INCLUDE_ASM("code_135EE0", func_8024D964);
INCLUDE_ASM(code_135EE0, func_8024DA28);
INCLUDE_ASM("code_135EE0", func_8024DA28);
INCLUDE_ASM(code_135EE0, func_8024DA68);
INCLUDE_ASM("code_135EE0", func_8024DA68);
INCLUDE_ASM(code_135EE0, func_8024DAE0);
INCLUDE_ASM("code_135EE0", func_8024DAE0);
INCLUDE_ASM(code_135EE0, func_8024DAF4);
INCLUDE_ASM("code_135EE0", func_8024DAF4);
INCLUDE_ASM(code_135EE0, func_8024DB04);
INCLUDE_ASM("code_135EE0", func_8024DB04);
INCLUDE_ASM(code_135EE0, func_8024E72C);
INCLUDE_ASM("code_135EE0", func_8024E72C);
INCLUDE_ASM(code_135EE0, func_8024E734);
INCLUDE_ASM("code_135EE0", func_8024E734);
INCLUDE_ASM(code_135EE0, func_8024E738);
INCLUDE_ASM("code_135EE0", func_8024E738);
INCLUDE_ASM(code_135EE0, func_8024E804);
INCLUDE_ASM("code_135EE0", func_8024E804);
INCLUDE_ASM(code_135EE0, func_8024EE80);
INCLUDE_ASM("code_135EE0", func_8024EE80);
INCLUDE_ASM(code_135EE0, func_8024EE94);
INCLUDE_ASM("code_135EE0", func_8024EE94);

View File

@ -1,9 +1,9 @@
#include "common.h"
INCLUDE_ASM(code_1370_len_7d0, boot_main);
INCLUDE_ASM("code_1370_len_7d0", boot_main);
INCLUDE_ASM(code_1370_len_7d0, gfxRetrace_Callback);
INCLUDE_ASM("code_1370_len_7d0", gfxRetrace_Callback);
INCLUDE_ASM(code_1370_len_7d0, func_80026164);
INCLUDE_ASM("code_1370_len_7d0", func_80026164);
INCLUDE_ASM(code_1370_len_7d0, gfxPreNMI_Callback);
INCLUDE_ASM("code_1370_len_7d0", gfxPreNMI_Callback);

View File

@ -1,183 +1,183 @@
#include "common.h"
INCLUDE_ASM(code_13870_len_6980, func_80038470);
INCLUDE_ASM("code_13870_len_6980", func_80038470);
INCLUDE_ASM(code_13870_len_6980, mtx_ident_mirror_y);
INCLUDE_ASM("code_13870_len_6980", mtx_ident_mirror_y);
INCLUDE_ASM(code_13870_len_6980, func_800384BC);
INCLUDE_ASM("code_13870_len_6980", func_800384BC);
INCLUDE_ASM(code_13870_len_6980, init_npc_list);
INCLUDE_ASM("code_13870_len_6980", init_npc_list);
INCLUDE_ASM(code_13870_len_6980, func_8003857C);
INCLUDE_ASM("code_13870_len_6980", func_8003857C);
INCLUDE_ASM(code_13870_len_6980, func_80038598);
INCLUDE_ASM("code_13870_len_6980", func_80038598);
INCLUDE_ASM(code_13870_len_6980, func_80038844);
INCLUDE_ASM("code_13870_len_6980", func_80038844);
INCLUDE_ASM(code_13870_len_6980, func_80038864);
INCLUDE_ASM("code_13870_len_6980", func_80038864);
INCLUDE_ASM(code_13870_len_6980, func_80038880);
INCLUDE_ASM("code_13870_len_6980", func_80038880);
INCLUDE_ASM(code_13870_len_6980, func_800388A0);
INCLUDE_ASM("code_13870_len_6980", func_800388A0);
INCLUDE_ASM(code_13870_len_6980, free_npc);
INCLUDE_ASM("code_13870_len_6980", free_npc);
INCLUDE_ASM(code_13870_len_6980, get_npc_by_index);
INCLUDE_ASM("code_13870_len_6980", get_npc_by_index);
INCLUDE_ASM(code_13870_len_6980, func_80038AFC);
INCLUDE_ASM("code_13870_len_6980", func_80038AFC);
INCLUDE_ASM(code_13870_len_6980, func_8003900C);
INCLUDE_ASM("code_13870_len_6980", func_8003900C);
INCLUDE_ASM(code_13870_len_6980, func_800392D8);
INCLUDE_ASM("code_13870_len_6980", func_800392D8);
INCLUDE_ASM(code_13870_len_6980, func_80039688);
INCLUDE_ASM("code_13870_len_6980", func_80039688);
INCLUDE_ASM(code_13870_len_6980, func_800397E8);
INCLUDE_ASM("code_13870_len_6980", func_800397E8);
INCLUDE_ASM(code_13870_len_6980, func_80039930);
INCLUDE_ASM("code_13870_len_6980", func_80039930);
INCLUDE_ASM(code_13870_len_6980, func_80039DA4);
INCLUDE_ASM("code_13870_len_6980", func_80039DA4);
INCLUDE_ASM(code_13870_len_6980, render_npcs);
INCLUDE_ASM("code_13870_len_6980", render_npcs);
INCLUDE_ASM(code_13870_len_6980, npc_move_heading);
INCLUDE_ASM("code_13870_len_6980", npc_move_heading);
Npc* INCLUDE_ASM(code_13870_len_6980, get_npc_unsafe, NpcId npcId);
Npc* INCLUDE_ASM("code_13870_len_6980", get_npc_unsafe, NpcId npcId);
Npc* INCLUDE_ASM(code_13870_len_6980, get_npc_safe, NpcId npcId);
Npc* INCLUDE_ASM("code_13870_len_6980", get_npc_safe, NpcId npcId);
INCLUDE_ASM(code_13870_len_6980, enable_npc_shadow);
INCLUDE_ASM("code_13870_len_6980", enable_npc_shadow);
INCLUDE_ASM(code_13870_len_6980, disable_npc_shadow);
INCLUDE_ASM("code_13870_len_6980", disable_npc_shadow);
INCLUDE_ASM(code_13870_len_6980, func_8003AC5C);
INCLUDE_ASM("code_13870_len_6980", func_8003AC5C);
INCLUDE_ASM(code_13870_len_6980, enable_npc_blur);
INCLUDE_ASM("code_13870_len_6980", enable_npc_blur);
INCLUDE_ASM(code_13870_len_6980, disable_npc_blur);
INCLUDE_ASM("code_13870_len_6980", disable_npc_blur);
INCLUDE_ASM(code_13870_len_6980, update_npc_blur);
INCLUDE_ASM("code_13870_len_6980", update_npc_blur);
INCLUDE_ASM(code_13870_len_6980, render_npc_blur);
INCLUDE_ASM("code_13870_len_6980", render_npc_blur);
INCLUDE_ASM(code_13870_len_6980, func_8003B1A8);
INCLUDE_ASM("code_13870_len_6980", func_8003B1A8);
INCLUDE_ASM(code_13870_len_6980, func_8003B1B0);
INCLUDE_ASM("code_13870_len_6980", func_8003B1B0);
INCLUDE_ASM(code_13870_len_6980, set_npc_yaw);
void INCLUDE_ASM("code_13870_len_6980", set_npc_yaw, Npc* npcPtr, f32 angle);
INCLUDE_ASM(code_13870_len_6980, func_8003B3D0);
INCLUDE_ASM("code_13870_len_6980", func_8003B3D0);
INCLUDE_ASM(code_13870_len_6980, func_8003B44C);
INCLUDE_ASM("code_13870_len_6980", func_8003B44C);
INCLUDE_ASM(code_13870_len_6980, func_8003B464);
INCLUDE_ASM("code_13870_len_6980", func_8003B464);
INCLUDE_ASM(code_13870_len_6980, func_8003B47C);
INCLUDE_ASM("code_13870_len_6980", func_8003B47C);
INCLUDE_ASM(code_13870_len_6980, func_8003B500);
INCLUDE_ASM("code_13870_len_6980", func_8003B500);
INCLUDE_ASM(code_13870_len_6980, func_8003B5B4);
INCLUDE_ASM("code_13870_len_6980", func_8003B5B4);
INCLUDE_ASM(code_13870_len_6980, func_8003B96C);
INCLUDE_ASM("code_13870_len_6980", func_8003B96C);
INCLUDE_ASM(code_13870_len_6980, func_8003BA60);
INCLUDE_ASM("code_13870_len_6980", func_8003BA60);
INCLUDE_ASM(code_13870_len_6980, func_8003BED8);
INCLUDE_ASM("code_13870_len_6980", func_8003BED8);
INCLUDE_ASM(code_13870_len_6980, func_8003C3D8);
INCLUDE_ASM("code_13870_len_6980", func_8003C3D8);
INCLUDE_ASM(code_13870_len_6980, func_8003C428);
INCLUDE_ASM("code_13870_len_6980", func_8003C428);
INCLUDE_ASM(code_13870_len_6980, func_8003C444);
INCLUDE_ASM("code_13870_len_6980", func_8003C444);
INCLUDE_ASM(code_13870_len_6980, func_8003C53C);
INCLUDE_ASM("code_13870_len_6980", func_8003C53C);
INCLUDE_ASM(code_13870_len_6980, func_8003C61C);
INCLUDE_ASM("code_13870_len_6980", func_8003C61C);
INCLUDE_ASM(code_13870_len_6980, func_8003C658);
INCLUDE_ASM("code_13870_len_6980", func_8003C658);
INCLUDE_ASM(code_13870_len_6980, func_8003C660);
INCLUDE_ASM("code_13870_len_6980", func_8003C660);
INCLUDE_ASM(code_13870_len_6980, func_8003C668);
INCLUDE_ASM("code_13870_len_6980", func_8003C668);
INCLUDE_ASM(code_13870_len_6980, func_8003C78C);
INCLUDE_ASM("code_13870_len_6980", func_8003C78C);
INCLUDE_ASM(code_13870_len_6980, func_8003C7A8);
INCLUDE_ASM("code_13870_len_6980", func_8003C7A8);
INCLUDE_ASM(code_13870_len_6980, func_8003C8AC);
INCLUDE_ASM("code_13870_len_6980", func_8003C8AC);
INCLUDE_ASM(code_13870_len_6980, func_8003C8B4);
INCLUDE_ASM("code_13870_len_6980", func_8003C8B4);
INCLUDE_ASM(code_13870_len_6980, func_8003C984);
INCLUDE_ASM("code_13870_len_6980", func_8003C984);
INCLUDE_ASM(code_13870_len_6980, func_8003C9A8);
INCLUDE_ASM("code_13870_len_6980", func_8003C9A8);
INCLUDE_ASM(code_13870_len_6980, func_8003CB20);
INCLUDE_ASM("code_13870_len_6980", func_8003CB20);
INCLUDE_ASM(code_13870_len_6980, func_8003CB44);
INCLUDE_ASM("code_13870_len_6980", func_8003CB44);
INCLUDE_ASM(code_13870_len_6980, func_8003CC8C);
INCLUDE_ASM("code_13870_len_6980", func_8003CC8C);
INCLUDE_ASM(code_13870_len_6980, func_8003CCB0);
INCLUDE_ASM("code_13870_len_6980", func_8003CCB0);
INCLUDE_ASM(code_13870_len_6980, func_8003CFA0);
INCLUDE_ASM("code_13870_len_6980", func_8003CFA0);
INCLUDE_ASM(code_13870_len_6980, func_8003CFA8);
INCLUDE_ASM("code_13870_len_6980", func_8003CFA8);
INCLUDE_ASM(code_13870_len_6980, func_8003D1D4);
INCLUDE_ASM("code_13870_len_6980", func_8003D1D4);
INCLUDE_ASM(code_13870_len_6980, func_8003D2F8);
INCLUDE_ASM("code_13870_len_6980", func_8003D2F8);
INCLUDE_ASM(code_13870_len_6980, func_8003D3BC);
INCLUDE_ASM("code_13870_len_6980", func_8003D3BC);
INCLUDE_ASM(code_13870_len_6980, func_8003D624);
INCLUDE_ASM("code_13870_len_6980", func_8003D624);
INCLUDE_ASM(code_13870_len_6980, func_8003D660);
INCLUDE_ASM("code_13870_len_6980", func_8003D660);
INCLUDE_ASM(code_13870_len_6980, func_8003D788);
INCLUDE_ASM("code_13870_len_6980", func_8003D788);
INCLUDE_ASM(code_13870_len_6980, func_8003DA38);
INCLUDE_ASM("code_13870_len_6980", func_8003DA38);
INCLUDE_ASM(code_13870_len_6980, func_8003DC38);
INCLUDE_ASM("code_13870_len_6980", func_8003DC38);
INCLUDE_ASM(code_13870_len_6980, func_8003DFA0);
INCLUDE_ASM("code_13870_len_6980", func_8003DFA0);
INCLUDE_ASM(code_13870_len_6980, func_8003E0D4);
INCLUDE_ASM("code_13870_len_6980", func_8003E0D4);
INCLUDE_ASM(code_13870_len_6980, func_8003E1D0);
INCLUDE_ASM("code_13870_len_6980", func_8003E1D0);
INCLUDE_ASM(code_13870_len_6980, COPY_set_defeated);
INCLUDE_ASM("code_13870_len_6980", COPY_set_defeated);
INCLUDE_ASM(code_13870_len_6980, func_8003E338);
INCLUDE_ASM("code_13870_len_6980", func_8003E338);
INCLUDE_ASM(code_13870_len_6980, clear_encounter_status);
INCLUDE_ASM("code_13870_len_6980", clear_encounter_status);
INCLUDE_ASM(code_13870_len_6980, func_8003E514);
INCLUDE_ASM("code_13870_len_6980", func_8003E514);
INCLUDE_ASM(code_13870_len_6980, func_8003E524);
INCLUDE_ASM("code_13870_len_6980", func_8003E524);
INCLUDE_ASM(code_13870_len_6980, func_8003E5B0);
INCLUDE_ASM("code_13870_len_6980", func_8003E5B0);
INCLUDE_ASM(code_13870_len_6980, func_8003E63C);
INCLUDE_ASM("code_13870_len_6980", func_8003E63C);
INCLUDE_ASM(code_13870_len_6980, make_npcs);
INCLUDE_ASM("code_13870_len_6980", make_npcs);
INCLUDE_ASM(code_13870_len_6980, kill_encounter);
INCLUDE_ASM("code_13870_len_6980", kill_encounter);
INCLUDE_ASM(code_13870_len_6980, kill_enemy);
INCLUDE_ASM("code_13870_len_6980", kill_enemy);
INCLUDE_ASM(code_13870_len_6980, bind_enemy_ai);
INCLUDE_ASM("code_13870_len_6980", bind_enemy_ai);
INCLUDE_ASM(code_13870_len_6980, bind_enemy_aux);
INCLUDE_ASM("code_13870_len_6980", bind_enemy_aux);
INCLUDE_ASM(code_13870_len_6980, bind_enemy_interact);
INCLUDE_ASM("code_13870_len_6980", bind_enemy_interact);
INCLUDE_ASM(code_13870_len_6980, bind_npc_ai);
INCLUDE_ASM("code_13870_len_6980", bind_npc_ai);
INCLUDE_ASM(code_13870_len_6980, bind_npc_aux);
INCLUDE_ASM("code_13870_len_6980", bind_npc_aux);
INCLUDE_ASM(code_13870_len_6980, bind_npc_interact);
INCLUDE_ASM("code_13870_len_6980", bind_npc_interact);
INCLUDE_ASM(code_13870_len_6980, get_enemy);
INCLUDE_ASM("code_13870_len_6980", get_enemy);
INCLUDE_ASM(code_13870_len_6980, get_enemy_safe);
INCLUDE_ASM("code_13870_len_6980", get_enemy_safe);

View File

@ -1,23 +1,23 @@
#include "common.h"
INCLUDE_ASM(code_163400, func_80242BA0);
INCLUDE_ASM("code_163400", func_80242BA0);
INCLUDE_ASM(code_163400, func_80242D94);
INCLUDE_ASM("code_163400", func_80242D94);
INCLUDE_ASM(code_163400, func_80242DEC);
INCLUDE_ASM("code_163400", func_80242DEC);
INCLUDE_ASM(code_163400, func_80242E00);
INCLUDE_ASM("code_163400", func_80242E00);
INCLUDE_ASM(code_163400, func_80242F68);
INCLUDE_ASM("code_163400", func_80242F68);
INCLUDE_ASM(code_163400, func_802431A0);
INCLUDE_ASM("code_163400", func_802431A0);
INCLUDE_ASM(code_163400, func_802448E0);
INCLUDE_ASM("code_163400", func_802448E0);
INCLUDE_ASM(code_163400, func_80244B00);
INCLUDE_ASM("code_163400", func_80244B00);
INCLUDE_ASM(code_163400, func_80244BC4);
INCLUDE_ASM("code_163400", func_80244BC4);
INCLUDE_ASM(code_163400, func_80244FD4);
INCLUDE_ASM("code_163400", func_80244FD4);
INCLUDE_ASM(code_163400, func_8024544C);
INCLUDE_ASM("code_163400", func_8024544C);

View File

@ -1,3 +1,3 @@
#include "common.h"
INCLUDE_ASM(code_167570, func_80246D10);
INCLUDE_ASM("code_167570", func_80246D10);

View File

@ -1,3 +1,3 @@
#include "common.h"
INCLUDE_ASM(code_168590, func_80247D30);
INCLUDE_ASM("code_168590", func_80247D30);

View File

@ -1,9 +1,9 @@
#include "common.h"
INCLUDE_ASM(code_169BE0, func_80249380);
INCLUDE_ASM("code_169BE0", func_80249380);
INCLUDE_ASM(code_169BE0, func_8024997C);
INCLUDE_ASM("code_169BE0", func_8024997C);
INCLUDE_ASM(code_169BE0, func_80249AA4);
INCLUDE_ASM("code_169BE0", func_80249AA4);
INCLUDE_ASM(code_169BE0, func_80249AB8);
INCLUDE_ASM("code_169BE0", func_80249AB8);

File diff suppressed because it is too large Load Diff

View File

@ -1,39 +1,39 @@
#include "common.h"
INCLUDE_ASM(code_1a1f0_len_5390, get_defeated);
INCLUDE_ASM("code_1a1f0_len_5390", get_defeated);
INCLUDE_ASM(code_1a1f0_len_5390, set_defeated);
INCLUDE_ASM("code_1a1f0_len_5390", set_defeated);
INCLUDE_API_ASM(code_1a1f0_len_5390, GetCamLookAtObjVector);
INCLUDE_API_ASM("code_1a1f0_len_5390", GetCamLookAtObjVector);
INCLUDE_API_ASM(code_1a1f0_len_5390, HasMerleeCasts);
INCLUDE_API_ASM("code_1a1f0_len_5390", HasMerleeCasts);
INCLUDE_API_ASM(code_1a1f0_len_5390, OnDefeatEnemy);
INCLUDE_API_ASM("code_1a1f0_len_5390", OnDefeatEnemy);
INCLUDE_API_ASM(code_1a1f0_len_5390, OnFleeBattleDrops);
INCLUDE_API_ASM("code_1a1f0_len_5390", OnFleeBattleDrops);
INCLUDE_ASM(code_1a1f0_len_5390, func_8003F7CC);
INCLUDE_ASM("code_1a1f0_len_5390", func_8003F7CC);
INCLUDE_ASM(code_1a1f0_len_5390, func_8004135C);
INCLUDE_ASM("code_1a1f0_len_5390", func_8004135C);
INCLUDE_ASM(code_1a1f0_len_5390, func_80041364);
INCLUDE_ASM("code_1a1f0_len_5390", func_80041364);
INCLUDE_ASM(code_1a1f0_len_5390, func_80041964);
INCLUDE_ASM("code_1a1f0_len_5390", func_80041964);
INCLUDE_ASM(code_1a1f0_len_5390, show_first_strike_message);
INCLUDE_ASM("code_1a1f0_len_5390", show_first_strike_message);
INCLUDE_ASM(code_1a1f0_len_5390, func_80041F10);
INCLUDE_ASM("code_1a1f0_len_5390", func_80041F10);
INCLUDE_ASM(code_1a1f0_len_5390, func_8004304C);
INCLUDE_ASM("code_1a1f0_len_5390", func_8004304C);
INCLUDE_ASM(code_1a1f0_len_5390, func_8004309C);
INCLUDE_ASM("code_1a1f0_len_5390", func_8004309C);
INCLUDE_ASM(code_1a1f0_len_5390, func_800431D4);
INCLUDE_ASM("code_1a1f0_len_5390", func_800431D4);
INCLUDE_ASM(code_1a1f0_len_5390, func_800431DC);
INCLUDE_ASM("code_1a1f0_len_5390", func_800431DC);
INCLUDE_ASM(code_1a1f0_len_5390, create_npcs);
INCLUDE_ASM("code_1a1f0_len_5390", create_npcs);
INCLUDE_ASM(code_1a1f0_len_5390, func_80044140);
INCLUDE_ASM("code_1a1f0_len_5390", func_80044140);
INCLUDE_ASM(code_1a1f0_len_5390, func_80044148);
INCLUDE_ASM("code_1a1f0_len_5390", func_80044148);

View File

@ -34,13 +34,13 @@ extern s32 D_8009A5D8;
void dma_copy(void*, void*, void*);
INCLUDE_ASM(code_1b40_len_20b0, step_game_loop);
INCLUDE_ASM("code_1b40_len_20b0", step_game_loop);
INCLUDE_ASM(code_1b40_len_20b0, func_800269EC);
INCLUDE_ASM("code_1b40_len_20b0", func_800269EC);
INCLUDE_ASM(code_1b40_len_20b0, gfx_draw_frame);
INCLUDE_ASM("code_1b40_len_20b0", gfx_draw_frame);
INCLUDE_ASM(code_1b40_len_20b0, load_engine_data);
INCLUDE_ASM("code_1b40_len_20b0", load_engine_data);
/*void load_engine_data(void) {
game_status *phi_s0;
s32 i;
@ -111,13 +111,13 @@ INCLUDE_ASM(code_1b40_len_20b0, load_engine_data);
set_game_mode(0);
}*/
INCLUDE_ASM(code_1b40_len_20b0, func_80027088);
INCLUDE_ASM("code_1b40_len_20b0", func_80027088);
s32 func_80027190(void) {
return D_8009A5D8;
}
INCLUDE_ASM(code_1b40_len_20b0, func_800271A0);
INCLUDE_ASM("code_1b40_len_20b0", func_800271A0);
/*void func_800271A0(void) {
Gfx *temp = D_8009A66C[0] + 1;
@ -128,16 +128,16 @@ INCLUDE_ASM(code_1b40_len_20b0, func_800271A0);
gSPDisplayList(D_8009A66C[0]++, &D_00074210);
}*/
INCLUDE_ASM(code_1b40_len_20b0, func_800271FC);
INCLUDE_ASM("code_1b40_len_20b0", func_800271FC);
INCLUDE_ASM(code_1b40_len_20b0, func_8002725C);
INCLUDE_ASM("code_1b40_len_20b0", func_8002725C);
INCLUDE_ASM(code_1b40_len_20b0, func_80027600);
INCLUDE_ASM("code_1b40_len_20b0", func_80027600);
INCLUDE_ASM(code_1b40_len_20b0, func_80027774);
INCLUDE_ASM("code_1b40_len_20b0", func_80027774);
INCLUDE_ASM(code_1b40_len_20b0, func_800279B4);
INCLUDE_ASM("code_1b40_len_20b0", func_800279B4);
INCLUDE_ASM(code_1b40_len_20b0, func_80027BAC);
INCLUDE_ASM("code_1b40_len_20b0", func_80027BAC);
INCLUDE_ASM(code_1b40_len_20b0, func_80027E10);
INCLUDE_ASM("code_1b40_len_20b0", func_80027E10);

View File

@ -1,6 +1,6 @@
#include "common.h"
INCLUDE_API_ASM(code_1f580_len_1940, SetEncounterStatusFlags);
INCLUDE_API_ASM("code_1f580_len_1940", SetEncounterStatusFlags);
ApiStatus LoadDemoBattle(ScriptInstance* script, s32 isInitialCall) {
load_demo_battle(get_variable(script, *script->ptrReadPos));
@ -12,22 +12,22 @@ ApiStatus func_80044290(ScriptInstance* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_1f580_len_1940, MakeNpcs);
INCLUDE_API_ASM("code_1f580_len_1940", MakeNpcs);
INCLUDE_API_ASM(code_1f580_len_1940, RemoveNpc);
INCLUDE_API_ASM("code_1f580_len_1940", RemoveNpc);
INCLUDE_API_ASM(code_1f580_len_1940, RemoveEncounter);
INCLUDE_API_ASM("code_1f580_len_1940", RemoveEncounter);
INCLUDE_API_ASM(code_1f580_len_1940, GetBattleOutcome);
INCLUDE_API_ASM("code_1f580_len_1940", GetBattleOutcome);
ApiStatus GetOwnerEncountered(ScriptInstance* script, s32 isInitialCall) {
set_variable(script, *script->ptrReadPos, script->ownerActorID->encountered);
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_1f580_len_1940, DoNpcDefeat);
INCLUDE_API_ASM("code_1f580_len_1940", DoNpcDefeat);
INCLUDE_ASM(code_1f580_len_1940, start_battle);
INCLUDE_ASM("code_1f580_len_1940", start_battle);
ApiStatus StartBattle(ScriptInstance* script, s32 isInitialCall) {
start_battle(script, -1);
@ -39,56 +39,56 @@ ApiStatus StartBattleWith(ScriptInstance* script, s32 isInitialCall) {
return ApiStatus_DONE1;
}
INCLUDE_API_ASM(code_1f580_len_1940, StartBossBattle);
INCLUDE_API_ASM("code_1f580_len_1940", StartBossBattle);
INCLUDE_API_ASM(code_1f580_len_1940, SetBattleMusic);
INCLUDE_API_ASM("code_1f580_len_1940", SetBattleMusic);
INCLUDE_API_ASM(code_1f580_len_1940, BindNpcAI);
INCLUDE_API_ASM("code_1f580_len_1940", BindNpcAI);
INCLUDE_API_ASM(code_1f580_len_1940, BindNpcIdle);
INCLUDE_API_ASM("code_1f580_len_1940", BindNpcIdle);
INCLUDE_API_ASM(code_1f580_len_1940, RestartNpcAI);
INCLUDE_API_ASM("code_1f580_len_1940", RestartNpcAI);
INCLUDE_API_ASM(code_1f580_len_1940, EnableNpcAI);
INCLUDE_API_ASM("code_1f580_len_1940", EnableNpcAI);
INCLUDE_API_ASM(code_1f580_len_1940, SetNpcAux);
INCLUDE_API_ASM("code_1f580_len_1940", SetNpcAux);
INCLUDE_API_ASM(code_1f580_len_1940, BindNpcAux);
INCLUDE_API_ASM("code_1f580_len_1940", BindNpcAux);
INCLUDE_API_ASM(code_1f580_len_1940, RestartNpcAux);
INCLUDE_API_ASM("code_1f580_len_1940", RestartNpcAux);
INCLUDE_API_ASM(code_1f580_len_1940, EnableNpcAux);
INCLUDE_API_ASM("code_1f580_len_1940", EnableNpcAux);
INCLUDE_API_ASM(code_1f580_len_1940, BindNpcInteract);
INCLUDE_API_ASM("code_1f580_len_1940", BindNpcInteract);
INCLUDE_API_ASM(code_1f580_len_1940, BindNpcHit);
INCLUDE_API_ASM("code_1f580_len_1940", BindNpcHit);
INCLUDE_API_ASM(code_1f580_len_1940, BindNpcDefeat);
INCLUDE_API_ASM("code_1f580_len_1940", BindNpcDefeat);
INCLUDE_API_ASM(code_1f580_len_1940, SetSelfVar);
INCLUDE_API_ASM("code_1f580_len_1940", SetSelfVar);
INCLUDE_API_ASM(code_1f580_len_1940, GetSelfVar);
INCLUDE_API_ASM("code_1f580_len_1940", GetSelfVar);
INCLUDE_API_ASM(code_1f580_len_1940, SetNpcVar);
INCLUDE_API_ASM("code_1f580_len_1940", SetNpcVar);
INCLUDE_API_ASM(code_1f580_len_1940, GetNpcVar);
INCLUDE_API_ASM("code_1f580_len_1940", GetNpcVar);
INCLUDE_API_ASM(code_1f580_len_1940, SetSelfRotation);
INCLUDE_API_ASM("code_1f580_len_1940", SetSelfRotation);
ApiStatus SetSelfEnemyFlags(ScriptInstance* script, s32 isInitialCall) {
script->ownerActorID->flags = *script->ptrReadPos;
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_1f580_len_1940, SetSelfEnemyFlagBits);
INCLUDE_API_ASM("code_1f580_len_1940", SetSelfEnemyFlagBits);
ApiStatus GetSelfNpcID(ScriptInstance* script, s32 isInitialCall) {
set_variable(script, *script->ptrReadPos, script->ownerActorID->npcID);
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_1f580_len_1940, ClearDefeatedEnemies);
INCLUDE_API_ASM("code_1f580_len_1940", ClearDefeatedEnemies);
INCLUDE_API_ASM(code_1f580_len_1940, SetEnemyFlagBits);
INCLUDE_API_ASM("code_1f580_len_1940", SetEnemyFlagBits);
INCLUDE_API_ASM(code_1f580_len_1940, GetSelfAnimationFromTable);
INCLUDE_API_ASM("code_1f580_len_1940", GetSelfAnimationFromTable);

View File

@ -1,119 +1,119 @@
#include "common.h"
INCLUDE_ASM(code_20ec0_len_5040, func_80045AC0);
INCLUDE_ASM("code_20ec0_len_5040", func_80045AC0);
INCLUDE_ASM(code_20ec0_len_5040, func_80045B68);
INCLUDE_ASM("code_20ec0_len_5040", func_80045B68);
INCLUDE_ASM(code_20ec0_len_5040, func_80045C28);
INCLUDE_ASM("code_20ec0_len_5040", func_80045C28);
INCLUDE_ASM(code_20ec0_len_5040, func_80045C88);
INCLUDE_ASM("code_20ec0_len_5040", func_80045C88);
INCLUDE_ASM(code_20ec0_len_5040, func_80045CC4);
INCLUDE_ASM("code_20ec0_len_5040", func_80045CC4);
INCLUDE_ASM(code_20ec0_len_5040, func_80045D00);
INCLUDE_ASM("code_20ec0_len_5040", func_80045D00);
INCLUDE_ASM(code_20ec0_len_5040, func_80045FA4);
INCLUDE_ASM("code_20ec0_len_5040", func_80045FA4);
INCLUDE_ASM(code_20ec0_len_5040, func_80045FB4);
INCLUDE_ASM("code_20ec0_len_5040", func_80045FB4);
INCLUDE_ASM(code_20ec0_len_5040, func_80047608);
INCLUDE_ASM("code_20ec0_len_5040", func_80047608);
INCLUDE_ASM(code_20ec0_len_5040, func_800476F4);
INCLUDE_ASM("code_20ec0_len_5040", func_800476F4);
INCLUDE_ASM(code_20ec0_len_5040, func_8004778C);
INCLUDE_ASM("code_20ec0_len_5040", func_8004778C);
INCLUDE_ASM(code_20ec0_len_5040, func_800477F4);
INCLUDE_ASM("code_20ec0_len_5040", func_800477F4);
INCLUDE_ASM(code_20ec0_len_5040, func_80047820);
INCLUDE_ASM("code_20ec0_len_5040", func_80047820);
INCLUDE_ASM(code_20ec0_len_5040, func_80047898);
INCLUDE_ASM("code_20ec0_len_5040", func_80047898);
INCLUDE_ASM(code_20ec0_len_5040, func_800478F8);
INCLUDE_ASM("code_20ec0_len_5040", func_800478F8);
INCLUDE_ASM(code_20ec0_len_5040, func_80047928);
INCLUDE_ASM("code_20ec0_len_5040", func_80047928);
INCLUDE_ASM(code_20ec0_len_5040, func_800479A0);
INCLUDE_ASM("code_20ec0_len_5040", func_800479A0);
INCLUDE_ASM(code_20ec0_len_5040, func_80047A00);
INCLUDE_ASM("code_20ec0_len_5040", func_80047A00);
INCLUDE_ASM(code_20ec0_len_5040, func_80047A30);
INCLUDE_ASM("code_20ec0_len_5040", func_80047A30);
INCLUDE_ASM(code_20ec0_len_5040, func_80047AA8);
INCLUDE_ASM("code_20ec0_len_5040", func_80047AA8);
INCLUDE_ASM(code_20ec0_len_5040, func_80047B08);
INCLUDE_ASM("code_20ec0_len_5040", func_80047B08);
INCLUDE_ASM(code_20ec0_len_5040, func_80047B38);
INCLUDE_ASM("code_20ec0_len_5040", func_80047B38);
INCLUDE_ASM(code_20ec0_len_5040, func_80047B84);
INCLUDE_ASM("code_20ec0_len_5040", func_80047B84);
INCLUDE_ASM(code_20ec0_len_5040, func_80047BE4);
INCLUDE_ASM("code_20ec0_len_5040", func_80047BE4);
INCLUDE_ASM(code_20ec0_len_5040, func_80047C14);
INCLUDE_ASM("code_20ec0_len_5040", func_80047C14);
INCLUDE_ASM(code_20ec0_len_5040, func_80047CA4);
INCLUDE_ASM("code_20ec0_len_5040", func_80047CA4);
INCLUDE_ASM(code_20ec0_len_5040, func_80047D00);
INCLUDE_ASM("code_20ec0_len_5040", func_80047D00);
INCLUDE_ASM(code_20ec0_len_5040, func_80047D30);
INCLUDE_ASM("code_20ec0_len_5040", func_80047D30);
INCLUDE_ASM(code_20ec0_len_5040, func_80047DC0);
INCLUDE_ASM("code_20ec0_len_5040", func_80047DC0);
INCLUDE_ASM(code_20ec0_len_5040, func_80047E1C);
INCLUDE_ASM("code_20ec0_len_5040", func_80047E1C);
INCLUDE_ASM(code_20ec0_len_5040, func_80047E4C);
INCLUDE_ASM("code_20ec0_len_5040", func_80047E4C);
INCLUDE_ASM(code_20ec0_len_5040, func_80047EDC);
INCLUDE_ASM("code_20ec0_len_5040", func_80047EDC);
INCLUDE_ASM(code_20ec0_len_5040, func_80047F28);
INCLUDE_ASM("code_20ec0_len_5040", func_80047F28);
INCLUDE_ASM(code_20ec0_len_5040, func_80047F58);
INCLUDE_ASM("code_20ec0_len_5040", func_80047F58);
INCLUDE_ASM(code_20ec0_len_5040, func_80047FE8);
INCLUDE_ASM("code_20ec0_len_5040", func_80047FE8);
INCLUDE_ASM(code_20ec0_len_5040, func_80048034);
INCLUDE_ASM("code_20ec0_len_5040", func_80048034);
INCLUDE_ASM(code_20ec0_len_5040, func_80048064);
INCLUDE_ASM("code_20ec0_len_5040", func_80048064);
INCLUDE_ASM(code_20ec0_len_5040, func_800480F4);
INCLUDE_ASM("code_20ec0_len_5040", func_800480F4);
INCLUDE_ASM(code_20ec0_len_5040, func_80048140);
INCLUDE_ASM("code_20ec0_len_5040", func_80048140);
INCLUDE_ASM(code_20ec0_len_5040, func_80048170);
INCLUDE_ASM("code_20ec0_len_5040", func_80048170);
INCLUDE_ASM(code_20ec0_len_5040, func_80048200);
INCLUDE_ASM("code_20ec0_len_5040", func_80048200);
INCLUDE_ASM(code_20ec0_len_5040, func_8004824C);
INCLUDE_ASM("code_20ec0_len_5040", func_8004824C);
INCLUDE_ASM(code_20ec0_len_5040, spawn_drops);
INCLUDE_ASM("code_20ec0_len_5040", spawn_drops);
INCLUDE_ASM(code_20ec0_len_5040, get_coin_drop_amount);
INCLUDE_ASM("code_20ec0_len_5040", get_coin_drop_amount);
INCLUDE_ASM(code_20ec0_len_5040, is_point_within_region);
INCLUDE_ASM("code_20ec0_len_5040", is_point_within_region);
INCLUDE_ASM(code_20ec0_len_5040, func_800490B4);
INCLUDE_ASM("code_20ec0_len_5040", func_800490B4);
INCLUDE_ASM(code_20ec0_len_5040, func_800494C0);
INCLUDE_ASM("code_20ec0_len_5040", func_800494C0);
INCLUDE_ASM(code_20ec0_len_5040, func_800495A0);
INCLUDE_ASM("code_20ec0_len_5040", func_800495A0);
INCLUDE_ASM(code_20ec0_len_5040, func_800496B8);
INCLUDE_ASM("code_20ec0_len_5040", func_800496B8);
INCLUDE_ASM(code_20ec0_len_5040, func_80049B44);
INCLUDE_ASM("code_20ec0_len_5040", func_80049B44);
INCLUDE_ASM(code_20ec0_len_5040, func_80049C04);
INCLUDE_ASM("code_20ec0_len_5040", func_80049C04);
INCLUDE_ASM(code_20ec0_len_5040, func_80049E3C);
INCLUDE_ASM("code_20ec0_len_5040", func_80049E3C);
INCLUDE_ASM(code_20ec0_len_5040, func_80049ECC);
INCLUDE_ASM("code_20ec0_len_5040", func_80049ECC);
INCLUDE_ASM(code_20ec0_len_5040, func_80049F7C);
INCLUDE_ASM("code_20ec0_len_5040", func_80049F7C);
INCLUDE_ASM(code_20ec0_len_5040, func_8004A124);
INCLUDE_ASM("code_20ec0_len_5040", func_8004A124);
INCLUDE_ASM(code_20ec0_len_5040, func_8004A3E8);
INCLUDE_ASM("code_20ec0_len_5040", func_8004A3E8);
INCLUDE_API_ASM(code_20ec0_len_5040, DoBasicAI);
INCLUDE_API_ASM("code_20ec0_len_5040", DoBasicAI);
INCLUDE_ASM(code_20ec0_len_5040, func_8004A73C);
INCLUDE_ASM("code_20ec0_len_5040", func_8004A73C);
INCLUDE_ASM(code_20ec0_len_5040, func_8004A784);
INCLUDE_ASM("code_20ec0_len_5040", func_8004A784);

View File

@ -1,13 +1,13 @@
#include "common.h"
INCLUDE_ASM(code_25f00_len_940, func_8004AB00);
INCLUDE_ASM("code_25f00_len_940", func_8004AB00);
INCLUDE_API_ASM(code_25f00_len_940, nuAuDmaCallBack);
INCLUDE_API_ASM("code_25f00_len_940", nuAuDmaCallBack);
INCLUDE_API_ASM(code_25f00_len_940, nuAuDmaNew);
INCLUDE_API_ASM("code_25f00_len_940", nuAuDmaNew);
INCLUDE_API_ASM(code_25f00_len_940, nuAuCleanDMABuffers);
INCLUDE_API_ASM("code_25f00_len_940", nuAuCleanDMABuffers);
INCLUDE_API_ASM(code_25f00_len_940, alRename1);
INCLUDE_API_ASM("code_25f00_len_940", alRename1);
INCLUDE_API_ASM(code_25f00_len_940, alRename2);
INCLUDE_API_ASM("code_25f00_len_940", alRename2);

View File

@ -1,53 +1,53 @@
#include "common.h"
INCLUDE_ASM(code_26840_len_20d0, func_8004B440);
INCLUDE_ASM("code_26840_len_20d0", func_8004B440);
INCLUDE_ASM(code_26840_len_20d0, func_8004B62C);
INCLUDE_ASM("code_26840_len_20d0", func_8004B62C);
INCLUDE_ASM(code_26840_len_20d0, func_8004B698);
INCLUDE_ASM("code_26840_len_20d0", func_8004B698);
INCLUDE_ASM(code_26840_len_20d0, func_8004B6D8);
INCLUDE_ASM("code_26840_len_20d0", func_8004B6D8);
INCLUDE_ASM(code_26840_len_20d0, func_8004B748);
INCLUDE_ASM("code_26840_len_20d0", func_8004B748);
INCLUDE_ASM(code_26840_len_20d0, func_8004B9E4);
INCLUDE_ASM("code_26840_len_20d0", func_8004B9E4);
INCLUDE_ASM(code_26840_len_20d0, func_8004BA54);
INCLUDE_ASM("code_26840_len_20d0", func_8004BA54);
INCLUDE_ASM(code_26840_len_20d0, func_8004BA74);
INCLUDE_ASM("code_26840_len_20d0", func_8004BA74);
INCLUDE_ASM(code_26840_len_20d0, func_8004C0E4);
INCLUDE_ASM("code_26840_len_20d0", func_8004C0E4);
INCLUDE_ASM(code_26840_len_20d0, func_8004C268);
INCLUDE_ASM("code_26840_len_20d0", func_8004C268);
INCLUDE_ASM(code_26840_len_20d0, func_8004C2A4);
INCLUDE_ASM("code_26840_len_20d0", func_8004C2A4);
INCLUDE_ASM(code_26840_len_20d0, func_8004C300);
INCLUDE_ASM("code_26840_len_20d0", func_8004C300);
INCLUDE_ASM(code_26840_len_20d0, func_8004C358);
INCLUDE_ASM("code_26840_len_20d0", func_8004C358);
INCLUDE_ASM(code_26840_len_20d0, func_8004C3D4);
INCLUDE_ASM("code_26840_len_20d0", func_8004C3D4);
INCLUDE_ASM(code_26840_len_20d0, func_8004C444);
INCLUDE_ASM("code_26840_len_20d0", func_8004C444);
INCLUDE_ASM(code_26840_len_20d0, func_8004C578);
INCLUDE_ASM("code_26840_len_20d0", func_8004C578);
INCLUDE_ASM(code_26840_len_20d0, func_8004C844);
INCLUDE_ASM("code_26840_len_20d0", func_8004C844);
INCLUDE_ASM(code_26840_len_20d0, func_8004C884);
INCLUDE_ASM("code_26840_len_20d0", func_8004C884);
INCLUDE_ASM(code_26840_len_20d0, func_8004CD94);
INCLUDE_ASM("code_26840_len_20d0", func_8004CD94);
INCLUDE_ASM(code_26840_len_20d0, func_8004CE70);
INCLUDE_ASM("code_26840_len_20d0", func_8004CE70);
INCLUDE_ASM(code_26840_len_20d0, func_8004CEA4);
INCLUDE_ASM("code_26840_len_20d0", func_8004CEA4);
INCLUDE_ASM(code_26840_len_20d0, func_8004CEC4);
INCLUDE_ASM("code_26840_len_20d0", func_8004CEC4);
INCLUDE_ASM(code_26840_len_20d0, func_8004CF0C);
INCLUDE_ASM("code_26840_len_20d0", func_8004CF0C);
INCLUDE_ASM(code_26840_len_20d0, func_8004D428);
INCLUDE_ASM("code_26840_len_20d0", func_8004D428);
INCLUDE_ASM(code_26840_len_20d0, func_8004D484);
INCLUDE_ASM("code_26840_len_20d0", func_8004D484);
INCLUDE_ASM(code_26840_len_20d0, func_8004D4BC);
INCLUDE_ASM("code_26840_len_20d0", func_8004D4BC);

View File

@ -1,127 +1,127 @@
#include "common.h"
INCLUDE_ASM(code_28910_len_5090, func_8004D510);
INCLUDE_ASM("code_28910_len_5090", func_8004D510);
INCLUDE_ASM(code_28910_len_5090, func_8004D794);
INCLUDE_ASM("code_28910_len_5090", func_8004D794);
INCLUDE_ASM(code_28910_len_5090, func_8004D7E0);
INCLUDE_ASM("code_28910_len_5090", func_8004D7E0);
INCLUDE_ASM(code_28910_len_5090, func_8004DA0C);
INCLUDE_ASM("code_28910_len_5090", func_8004DA0C);
INCLUDE_ASM(code_28910_len_5090, func_8004DA74);
INCLUDE_ASM("code_28910_len_5090", func_8004DA74);
INCLUDE_ASM(code_28910_len_5090, func_8004DAA8);
INCLUDE_ASM("code_28910_len_5090", func_8004DAA8);
INCLUDE_ASM(code_28910_len_5090, func_8004DAE0);
INCLUDE_ASM("code_28910_len_5090", func_8004DAE0);
INCLUDE_ASM(code_28910_len_5090, func_8004DB28);
INCLUDE_ASM("code_28910_len_5090", func_8004DB28);
INCLUDE_ASM(code_28910_len_5090, func_8004DB4C);
INCLUDE_ASM("code_28910_len_5090", func_8004DB4C);
INCLUDE_ASM(code_28910_len_5090, func_8004DC80);
INCLUDE_ASM("code_28910_len_5090", func_8004DC80);
INCLUDE_ASM(code_28910_len_5090, func_8004DCB8);
INCLUDE_ASM("code_28910_len_5090", func_8004DCB8);
INCLUDE_ASM(code_28910_len_5090, func_8004DE2C);
INCLUDE_ASM("code_28910_len_5090", func_8004DE2C);
INCLUDE_ASM(code_28910_len_5090, func_8004DFD4);
INCLUDE_ASM("code_28910_len_5090", func_8004DFD4);
INCLUDE_ASM(code_28910_len_5090, func_8004E0F4);
INCLUDE_ASM("code_28910_len_5090", func_8004E0F4);
INCLUDE_ASM(code_28910_len_5090, func_8004E158);
INCLUDE_ASM("code_28910_len_5090", func_8004E158);
INCLUDE_ASM(code_28910_len_5090, func_8004E344);
INCLUDE_ASM("code_28910_len_5090", func_8004E344);
INCLUDE_ASM(code_28910_len_5090, func_8004E3A4);
INCLUDE_ASM("code_28910_len_5090", func_8004E3A4);
INCLUDE_ASM(code_28910_len_5090, func_8004E444);
INCLUDE_ASM("code_28910_len_5090", func_8004E444);
INCLUDE_ASM(code_28910_len_5090, func_8004E4B8);
INCLUDE_ASM("code_28910_len_5090", func_8004E4B8);
INCLUDE_ASM(code_28910_len_5090, func_8004E5D8);
INCLUDE_ASM("code_28910_len_5090", func_8004E5D8);
INCLUDE_ASM(code_28910_len_5090, func_8004E844);
INCLUDE_ASM("code_28910_len_5090", func_8004E844);
INCLUDE_ASM(code_28910_len_5090, func_8004E880);
INCLUDE_ASM("code_28910_len_5090", func_8004E880);
INCLUDE_ASM(code_28910_len_5090, func_8004E904);
INCLUDE_ASM("code_28910_len_5090", func_8004E904);
INCLUDE_ASM(code_28910_len_5090, func_8004EA34);
INCLUDE_ASM("code_28910_len_5090", func_8004EA34);
INCLUDE_ASM(code_28910_len_5090, func_8004EAD4);
INCLUDE_ASM("code_28910_len_5090", func_8004EAD4);
INCLUDE_ASM(code_28910_len_5090, func_8004EC04);
INCLUDE_ASM("code_28910_len_5090", func_8004EC04);
INCLUDE_ASM(code_28910_len_5090, func_8004EC68);
INCLUDE_ASM("code_28910_len_5090", func_8004EC68);
INCLUDE_ASM(code_28910_len_5090, func_8004FC08);
INCLUDE_ASM("code_28910_len_5090", func_8004FC08);
INCLUDE_ASM(code_28910_len_5090, func_8004FD38);
INCLUDE_ASM("code_28910_len_5090", func_8004FD38);
INCLUDE_ASM(code_28910_len_5090, func_8004FEB0);
INCLUDE_ASM("code_28910_len_5090", func_8004FEB0);
INCLUDE_ASM(code_28910_len_5090, func_8004FED0);
INCLUDE_ASM("code_28910_len_5090", func_8004FED0);
INCLUDE_ASM(code_28910_len_5090, func_80050568);
INCLUDE_ASM("code_28910_len_5090", func_80050568);
INCLUDE_ASM(code_28910_len_5090, func_800505E4);
INCLUDE_ASM("code_28910_len_5090", func_800505E4);
INCLUDE_ASM(code_28910_len_5090, func_80050654);
INCLUDE_ASM("code_28910_len_5090", func_80050654);
INCLUDE_ASM(code_28910_len_5090, func_8005068C);
INCLUDE_ASM("code_28910_len_5090", func_8005068C);
INCLUDE_ASM(code_28910_len_5090, func_800506C8);
INCLUDE_ASM("code_28910_len_5090", func_800506C8);
INCLUDE_ASM(code_28910_len_5090, func_80050770);
INCLUDE_ASM("code_28910_len_5090", func_80050770);
INCLUDE_ASM(code_28910_len_5090, func_80050818);
INCLUDE_ASM("code_28910_len_5090", func_80050818);
INCLUDE_ASM(code_28910_len_5090, func_8005083C);
INCLUDE_ASM("code_28910_len_5090", func_8005083C);
INCLUDE_ASM(code_28910_len_5090, func_8005087C);
INCLUDE_ASM("code_28910_len_5090", func_8005087C);
INCLUDE_ASM(code_28910_len_5090, func_80050888);
INCLUDE_ASM("code_28910_len_5090", func_80050888);
INCLUDE_ASM(code_28910_len_5090, func_80050900);
INCLUDE_ASM("code_28910_len_5090", func_80050900);
INCLUDE_ASM(code_28910_len_5090, func_80050970);
INCLUDE_ASM("code_28910_len_5090", func_80050970);
INCLUDE_ASM(code_28910_len_5090, func_80050B90);
INCLUDE_ASM("code_28910_len_5090", func_80050B90);
INCLUDE_ASM(code_28910_len_5090, func_80050C30);
INCLUDE_ASM("code_28910_len_5090", func_80050C30);
INCLUDE_ASM(code_28910_len_5090, func_80050C54);
INCLUDE_ASM("code_28910_len_5090", func_80050C54);
INCLUDE_ASM(code_28910_len_5090, func_80050C64);
INCLUDE_ASM("code_28910_len_5090", func_80050C64);
INCLUDE_ASM(code_28910_len_5090, func_80050CA0);
INCLUDE_ASM("code_28910_len_5090", func_80050CA0);
INCLUDE_ASM(code_28910_len_5090, func_80050D50);
INCLUDE_ASM("code_28910_len_5090", func_80050D50);
INCLUDE_ASM(code_28910_len_5090, func_80050E18);
INCLUDE_ASM("code_28910_len_5090", func_80050E18);
INCLUDE_ASM(code_28910_len_5090, func_80050E84);
INCLUDE_ASM("code_28910_len_5090", func_80050E84);
INCLUDE_ASM(code_28910_len_5090, func_80050EF0);
INCLUDE_ASM("code_28910_len_5090", func_80050EF0);
INCLUDE_ASM(code_28910_len_5090, func_80050F64);
INCLUDE_ASM("code_28910_len_5090", func_80050F64);
INCLUDE_ASM(code_28910_len_5090, func_80050FD0);
INCLUDE_ASM("code_28910_len_5090", func_80050FD0);
INCLUDE_ASM(code_28910_len_5090, func_80051050);
INCLUDE_ASM("code_28910_len_5090", func_80051050);
INCLUDE_ASM(code_28910_len_5090, func_800510A4);
INCLUDE_ASM("code_28910_len_5090", func_800510A4);
INCLUDE_ASM(code_28910_len_5090, func_800511BC);
INCLUDE_ASM("code_28910_len_5090", func_800511BC);
INCLUDE_ASM(code_28910_len_5090, func_80051334);
INCLUDE_ASM("code_28910_len_5090", func_80051334);
INCLUDE_ASM(code_28910_len_5090, func_80051434);
INCLUDE_ASM("code_28910_len_5090", func_80051434);
INCLUDE_ASM(code_28910_len_5090, func_800521D0);
INCLUDE_ASM("code_28910_len_5090", func_800521D0);
INCLUDE_ASM(code_28910_len_5090, func_800521E8);
INCLUDE_ASM("code_28910_len_5090", func_800521E8);
INCLUDE_ASM(code_28910_len_5090, func_800522A8);
INCLUDE_ASM("code_28910_len_5090", func_800522A8);
INCLUDE_ASM(code_28910_len_5090, func_8005232C);
INCLUDE_ASM("code_28910_len_5090", func_8005232C);

View File

@ -1,15 +1,15 @@
#include "common.h"
INCLUDE_ASM(code_2d9a0_len_890, func_800525A0);
INCLUDE_ASM("code_2d9a0_len_890", func_800525A0);
INCLUDE_ASM(code_2d9a0_len_890, func_80052614);
INCLUDE_ASM("code_2d9a0_len_890", func_80052614);
INCLUDE_ASM(code_2d9a0_len_890, func_80052660);
INCLUDE_ASM("code_2d9a0_len_890", func_80052660);
INCLUDE_ASM(code_2d9a0_len_890, func_80052B44);
INCLUDE_ASM("code_2d9a0_len_890", func_80052B44);
INCLUDE_ASM(code_2d9a0_len_890, func_80052BC0);
INCLUDE_ASM("code_2d9a0_len_890", func_80052BC0);
INCLUDE_ASM(code_2d9a0_len_890, func_80052BF8);
INCLUDE_ASM("code_2d9a0_len_890", func_80052BF8);
INCLUDE_ASM(code_2d9a0_len_890, func_80052CFC);
INCLUDE_ASM("code_2d9a0_len_890", func_80052CFC);

View File

@ -1,81 +1,81 @@
#include "common.h"
INCLUDE_ASM(code_2e230_len_2190, func_80052E30);
INCLUDE_ASM("code_2e230_len_2190", func_80052E30);
INCLUDE_ASM(code_2e230_len_2190, func_80052E5C);
INCLUDE_ASM("code_2e230_len_2190", func_80052E5C);
INCLUDE_ASM(code_2e230_len_2190, func_800532F4);
INCLUDE_ASM("code_2e230_len_2190", func_800532F4);
INCLUDE_ASM(code_2e230_len_2190, func_80053370);
INCLUDE_ASM("code_2e230_len_2190", func_80053370);
INCLUDE_ASM(code_2e230_len_2190, func_800533A8);
INCLUDE_ASM("code_2e230_len_2190", func_800533A8);
INCLUDE_ASM(code_2e230_len_2190, func_800533D0);
INCLUDE_ASM("code_2e230_len_2190", func_800533D0);
INCLUDE_ASM(code_2e230_len_2190, func_800535C0);
INCLUDE_ASM("code_2e230_len_2190", func_800535C0);
INCLUDE_ASM(code_2e230_len_2190, func_80053654);
INCLUDE_ASM("code_2e230_len_2190", func_80053654);
INCLUDE_ASM(code_2e230_len_2190, func_80053888);
INCLUDE_ASM("code_2e230_len_2190", func_80053888);
INCLUDE_ASM(code_2e230_len_2190, func_800538C4);
INCLUDE_ASM("code_2e230_len_2190", func_800538C4);
INCLUDE_ASM(code_2e230_len_2190, func_800538F8);
INCLUDE_ASM("code_2e230_len_2190", func_800538F8);
INCLUDE_ASM(code_2e230_len_2190, func_80053974);
INCLUDE_ASM("code_2e230_len_2190", func_80053974);
INCLUDE_ASM(code_2e230_len_2190, func_80053A18);
INCLUDE_ASM("code_2e230_len_2190", func_80053A18);
INCLUDE_ASM(code_2e230_len_2190, func_80053A28);
INCLUDE_ASM("code_2e230_len_2190", func_80053A28);
INCLUDE_ASM(code_2e230_len_2190, func_80053A98);
INCLUDE_ASM("code_2e230_len_2190", func_80053A98);
INCLUDE_ASM(code_2e230_len_2190, func_80053AC8);
INCLUDE_ASM("code_2e230_len_2190", func_80053AC8);
INCLUDE_ASM(code_2e230_len_2190, func_80053AEC);
INCLUDE_ASM("code_2e230_len_2190", func_80053AEC);
INCLUDE_ASM(code_2e230_len_2190, func_80053B04);
INCLUDE_ASM("code_2e230_len_2190", func_80053B04);
INCLUDE_ASM(code_2e230_len_2190, func_80053BA8);
INCLUDE_ASM("code_2e230_len_2190", func_80053BA8);
INCLUDE_ASM(code_2e230_len_2190, func_80053BE8);
INCLUDE_ASM("code_2e230_len_2190", func_80053BE8);
INCLUDE_ASM(code_2e230_len_2190, func_80053C58);
INCLUDE_ASM("code_2e230_len_2190", func_80053C58);
INCLUDE_ASM(code_2e230_len_2190, func_80053CF8);
INCLUDE_ASM("code_2e230_len_2190", func_80053CF8);
INCLUDE_ASM(code_2e230_len_2190, func_80053E58);
INCLUDE_ASM("code_2e230_len_2190", func_80053E58);
INCLUDE_ASM(code_2e230_len_2190, func_80053F64);
INCLUDE_ASM("code_2e230_len_2190", func_80053F64);
INCLUDE_ASM(code_2e230_len_2190, func_80053F80);
INCLUDE_ASM("code_2e230_len_2190", func_80053F80);
INCLUDE_ASM(code_2e230_len_2190, func_80054248);
INCLUDE_ASM("code_2e230_len_2190", func_80054248);
INCLUDE_ASM(code_2e230_len_2190, al_LoadINIT);
INCLUDE_ASM("code_2e230_len_2190", al_LoadINIT);
INCLUDE_ASM(code_2e230_len_2190, al_CopyFileTableEntry);
INCLUDE_ASM("code_2e230_len_2190", al_CopyFileTableEntry);
INCLUDE_ASM(code_2e230_len_2190, al_LoadPER);
INCLUDE_ASM("code_2e230_len_2190", al_LoadPER);
INCLUDE_ASM(code_2e230_len_2190, al_LoadPRG);
INCLUDE_ASM("code_2e230_len_2190", al_LoadPRG);
INCLUDE_ASM(code_2e230_len_2190, func_80054744);
INCLUDE_ASM("code_2e230_len_2190", func_80054744);
INCLUDE_ASM(code_2e230_len_2190, al_LoadBank);
INCLUDE_ASM("code_2e230_len_2190", al_LoadBank);
INCLUDE_ASM(code_2e230_len_2190, func_800549F8);
INCLUDE_ASM("code_2e230_len_2190", func_800549F8);
INCLUDE_ASM(code_2e230_len_2190, func_80054C4C);
INCLUDE_ASM("code_2e230_len_2190", func_80054C4C);
INCLUDE_ASM(code_2e230_len_2190, func_80054CE0);
INCLUDE_ASM("code_2e230_len_2190", func_80054CE0);
INCLUDE_ASM(code_2e230_len_2190, func_80054D74);
INCLUDE_ASM("code_2e230_len_2190", func_80054D74);
INCLUDE_ASM(code_2e230_len_2190, func_80054DA8);
INCLUDE_ASM("code_2e230_len_2190", func_80054DA8);
INCLUDE_ASM(code_2e230_len_2190, al_DmaCopy);
INCLUDE_ASM("code_2e230_len_2190", al_DmaCopy);
INCLUDE_ASM(code_2e230_len_2190, func_80054E90);
INCLUDE_ASM("code_2e230_len_2190", func_80054E90);
INCLUDE_ASM(code_2e230_len_2190, al_CopyWords);
INCLUDE_ASM("code_2e230_len_2190", al_CopyWords);

View File

@ -1,149 +1,149 @@
#include "common.h"
INCLUDE_ASM(code_303c0_len_3e10, al_LoadBKHeaders);
INCLUDE_ASM("code_303c0_len_3e10", al_LoadBKHeaders);
INCLUDE_ASM(code_303c0_len_3e10, func_80055050);
INCLUDE_ASM("code_303c0_len_3e10", func_80055050);
INCLUDE_ASM(code_303c0_len_3e10, func_80055110);
INCLUDE_ASM("code_303c0_len_3e10", func_80055110);
INCLUDE_ASM(code_303c0_len_3e10, func_80055240);
INCLUDE_ASM("code_303c0_len_3e10", func_80055240);
INCLUDE_ASM(code_303c0_len_3e10, func_80055330);
INCLUDE_ASM("code_303c0_len_3e10", func_80055330);
INCLUDE_ASM(code_303c0_len_3e10, func_800553C0);
INCLUDE_ASM("code_303c0_len_3e10", func_800553C0);
s32 INCLUDE_ASM(code_303c0_len_3e10, func_80055448, s32 arg0);
s32 INCLUDE_ASM("code_303c0_len_3e10", func_80055448, s32 arg0);
s32 INCLUDE_ASM(code_303c0_len_3e10, func_80055464, s32 arg0, s32 arg1);
s32 INCLUDE_ASM("code_303c0_len_3e10", func_80055464, s32 arg0, s32 arg1);
s32 INCLUDE_ASM(code_303c0_len_3e10, func_800554A4, s32 arg0, s32 arg1);
s32 INCLUDE_ASM("code_303c0_len_3e10", func_800554A4, s32 arg0, s32 arg1);
s32 INCLUDE_ASM(code_303c0_len_3e10, func_800554E8, s32 arg0, s32 arg1);
s32 INCLUDE_ASM("code_303c0_len_3e10", func_800554E8, s32 arg0, s32 arg1);
INCLUDE_ASM(code_303c0_len_3e10, func_8005553C);
INCLUDE_ASM("code_303c0_len_3e10", func_8005553C);
INCLUDE_ASM(code_303c0_len_3e10, func_80055590);
INCLUDE_ASM("code_303c0_len_3e10", func_80055590);
s32 INCLUDE_ASM(code_303c0_len_3e10, func_800555E4, s32 arg0);
s32 INCLUDE_ASM("code_303c0_len_3e10", func_800555E4, s32 arg0);
INCLUDE_ASM(code_303c0_len_3e10, func_800556D0);
INCLUDE_ASM("code_303c0_len_3e10", func_800556D0);
INCLUDE_ASM(code_303c0_len_3e10, func_80055718);
INCLUDE_ASM("code_303c0_len_3e10", func_80055718);
INCLUDE_ASM(code_303c0_len_3e10, func_80055848);
INCLUDE_ASM("code_303c0_len_3e10", func_80055848);
INCLUDE_ASM(code_303c0_len_3e10, func_800558D4);
INCLUDE_ASM("code_303c0_len_3e10", func_800558D4);
INCLUDE_ASM(code_303c0_len_3e10, func_80055970);
INCLUDE_ASM("code_303c0_len_3e10", func_80055970);
INCLUDE_ASM(code_303c0_len_3e10, func_800559C4);
INCLUDE_ASM("code_303c0_len_3e10", func_800559C4);
INCLUDE_ASM(code_303c0_len_3e10, func_800559FC);
INCLUDE_ASM("code_303c0_len_3e10", func_800559FC);
INCLUDE_ASM(code_303c0_len_3e10, func_80055A18);
INCLUDE_ASM("code_303c0_len_3e10", func_80055A18);
INCLUDE_ASM(code_303c0_len_3e10, func_80055ABC);
INCLUDE_ASM("code_303c0_len_3e10", func_80055ABC);
INCLUDE_ASM(code_303c0_len_3e10, func_80055AF0);
INCLUDE_ASM("code_303c0_len_3e10", func_80055AF0);
INCLUDE_ASM(code_303c0_len_3e10, func_80055B28);
INCLUDE_ASM("code_303c0_len_3e10", func_80055B28);
INCLUDE_ASM(code_303c0_len_3e10, func_80055B80);
INCLUDE_ASM("code_303c0_len_3e10", func_80055B80);
INCLUDE_ASM(code_303c0_len_3e10, func_80055BB8);
INCLUDE_ASM("code_303c0_len_3e10", func_80055BB8);
INCLUDE_ASM(code_303c0_len_3e10, func_80055CC4);
INCLUDE_ASM("code_303c0_len_3e10", func_80055CC4);
INCLUDE_ASM(code_303c0_len_3e10, func_80055CE8);
INCLUDE_ASM("code_303c0_len_3e10", func_80055CE8);
INCLUDE_ASM(code_303c0_len_3e10, func_80055DDC);
INCLUDE_ASM("code_303c0_len_3e10", func_80055DDC);
INCLUDE_ASM(code_303c0_len_3e10, func_80055E48);
INCLUDE_ASM("code_303c0_len_3e10", func_80055E48);
INCLUDE_ASM(code_303c0_len_3e10, func_80055EB4);
INCLUDE_ASM("code_303c0_len_3e10", func_80055EB4);
INCLUDE_ASM(code_303c0_len_3e10, func_80055F58);
INCLUDE_ASM("code_303c0_len_3e10", func_80055F58);
INCLUDE_ASM(code_303c0_len_3e10, func_80056028);
INCLUDE_ASM("code_303c0_len_3e10", func_80056028);
INCLUDE_ASM(code_303c0_len_3e10, func_80056044);
INCLUDE_ASM("code_303c0_len_3e10", func_80056044);
INCLUDE_ASM(code_303c0_len_3e10, func_80056068);
INCLUDE_ASM("code_303c0_len_3e10", func_80056068);
INCLUDE_ASM(code_303c0_len_3e10, func_8005608C);
INCLUDE_ASM("code_303c0_len_3e10", func_8005608C);
INCLUDE_ASM(code_303c0_len_3e10, func_800560A8);
INCLUDE_ASM("code_303c0_len_3e10", func_800560A8);
INCLUDE_ASM(code_303c0_len_3e10, func_800560BC);
INCLUDE_ASM("code_303c0_len_3e10", func_800560BC);
INCLUDE_ASM(code_303c0_len_3e10, func_8005610C);
INCLUDE_ASM("code_303c0_len_3e10", func_8005610C);
INCLUDE_ASM(code_303c0_len_3e10, func_8005615C);
INCLUDE_ASM("code_303c0_len_3e10", func_8005615C);
INCLUDE_ASM(code_303c0_len_3e10, func_80056180);
INCLUDE_ASM("code_303c0_len_3e10", func_80056180);
INCLUDE_ASM(code_303c0_len_3e10, func_800561A4);
INCLUDE_ASM("code_303c0_len_3e10", func_800561A4);
INCLUDE_ASM(code_303c0_len_3e10, func_800561E4);
INCLUDE_ASM("code_303c0_len_3e10", func_800561E4);
INCLUDE_ASM(code_303c0_len_3e10, func_80056204);
INCLUDE_ASM("code_303c0_len_3e10", func_80056204);
INCLUDE_ASM(code_303c0_len_3e10, func_80056228);
INCLUDE_ASM("code_303c0_len_3e10", func_80056228);
INCLUDE_ASM(code_303c0_len_3e10, func_80056250);
INCLUDE_ASM("code_303c0_len_3e10", func_80056250);
INCLUDE_API_ASM(code_303c0_len_3e10, alRename4);
INCLUDE_API_ASM("code_303c0_len_3e10", alRename4);
INCLUDE_ASM(code_303c0_len_3e10, func_80056D34);
INCLUDE_ASM("code_303c0_len_3e10", func_80056D34);
INCLUDE_ASM(code_303c0_len_3e10, func_80056D44);
INCLUDE_ASM("code_303c0_len_3e10", func_80056D44);
INCLUDE_ASM(code_303c0_len_3e10, func_80056D50);
INCLUDE_ASM("code_303c0_len_3e10", func_80056D50);
INCLUDE_ASM(code_303c0_len_3e10, func_80056D5C);
INCLUDE_ASM("code_303c0_len_3e10", func_80056D5C);
INCLUDE_ASM(code_303c0_len_3e10, func_80056D78);
INCLUDE_ASM("code_303c0_len_3e10", func_80056D78);
INCLUDE_ASM(code_303c0_len_3e10, func_80056DCC);
INCLUDE_ASM("code_303c0_len_3e10", func_80056DCC);
INCLUDE_ASM(code_303c0_len_3e10, func_80056EC0);
INCLUDE_ASM("code_303c0_len_3e10", func_80056EC0);
INCLUDE_ASM(code_303c0_len_3e10, func_80056EE8);
INCLUDE_ASM("code_303c0_len_3e10", func_80056EE8);
INCLUDE_ASM(code_303c0_len_3e10, func_80056FA4);
INCLUDE_ASM("code_303c0_len_3e10", func_80056FA4);
INCLUDE_ASM(code_303c0_len_3e10, func_80057224);
INCLUDE_ASM("code_303c0_len_3e10", func_80057224);
INCLUDE_ASM(code_303c0_len_3e10, func_80057344);
INCLUDE_ASM("code_303c0_len_3e10", func_80057344);
INCLUDE_ASM(code_303c0_len_3e10, func_8005736C);
INCLUDE_ASM("code_303c0_len_3e10", func_8005736C);
INCLUDE_ASM(code_303c0_len_3e10, func_80057548);
INCLUDE_ASM("code_303c0_len_3e10", func_80057548);
INCLUDE_ASM(code_303c0_len_3e10, func_800576EC);
INCLUDE_ASM("code_303c0_len_3e10", func_800576EC);
INCLUDE_ASM(code_303c0_len_3e10, func_80057874);
INCLUDE_ASM("code_303c0_len_3e10", func_80057874);
INCLUDE_ASM(code_303c0_len_3e10, func_80057DC8);
INCLUDE_ASM("code_303c0_len_3e10", func_80057DC8);
INCLUDE_ASM(code_303c0_len_3e10, func_80057E08);
INCLUDE_ASM("code_303c0_len_3e10", func_80057E08);
INCLUDE_ASM(code_303c0_len_3e10, func_80057E5C);
INCLUDE_ASM("code_303c0_len_3e10", func_80057E5C);
INCLUDE_ASM(code_303c0_len_3e10, func_80057EB0);
INCLUDE_ASM("code_303c0_len_3e10", func_80057EB0);
INCLUDE_ASM(code_303c0_len_3e10, func_80057ED0);
INCLUDE_ASM("code_303c0_len_3e10", func_80057ED0);
INCLUDE_ASM(code_303c0_len_3e10, func_80057F20);
INCLUDE_ASM("code_303c0_len_3e10", func_80057F20);
INCLUDE_API_ASM(code_303c0_len_3e10, alRename3);
INCLUDE_API_ASM("code_303c0_len_3e10", alRename3);
INCLUDE_ASM(code_303c0_len_3e10, func_80057FD8);
INCLUDE_ASM("code_303c0_len_3e10", func_80057FD8);
INCLUDE_ASM(code_303c0_len_3e10, func_80058004);
INCLUDE_ASM("code_303c0_len_3e10", func_80058004);
INCLUDE_ASM(code_303c0_len_3e10, func_80058050);
INCLUDE_ASM("code_303c0_len_3e10", func_80058050);
INCLUDE_ASM(code_303c0_len_3e10, func_80058B20);
INCLUDE_ASM("code_303c0_len_3e10", func_80058B20);
INCLUDE_ASM(code_303c0_len_3e10, func_80058C6C);
INCLUDE_ASM("code_303c0_len_3e10", func_80058C6C);

View File

@ -1,3 +1,3 @@
#include "common.h"
INCLUDE_ASM(code_3169f0, func_80200000);
INCLUDE_ASM("code_3169f0", func_80200000);

View File

@ -1,3 +1,3 @@
#include "common.h"
INCLUDE_ASM(code_316a70, func_80200080);
INCLUDE_ASM("code_316a70", func_80200080);

View File

@ -1,3 +1,3 @@
#include "common.h"
INCLUDE_ASM(code_316d90, func_802AE000);
INCLUDE_ASM("code_316d90", func_802AE000);

View File

@ -1,45 +1,45 @@
#include "common.h"
INCLUDE_ASM(code_341d0_len_20d0, func_80058DD0);
INCLUDE_ASM("code_341d0_len_20d0", func_80058DD0);
INCLUDE_ASM(code_341d0_len_20d0, func_80058E84);
INCLUDE_ASM("code_341d0_len_20d0", func_80058E84);
INCLUDE_ASM(code_341d0_len_20d0, func_80059008);
INCLUDE_ASM("code_341d0_len_20d0", func_80059008);
INCLUDE_ASM(code_341d0_len_20d0, func_8005904C);
INCLUDE_ASM("code_341d0_len_20d0", func_8005904C);
INCLUDE_ASM(code_341d0_len_20d0, func_80059310);
INCLUDE_ASM("code_341d0_len_20d0", func_80059310);
INCLUDE_ASM(code_341d0_len_20d0, func_800598A0);
INCLUDE_ASM("code_341d0_len_20d0", func_800598A0);
INCLUDE_ASM(code_341d0_len_20d0, func_80059AB8);
INCLUDE_ASM("code_341d0_len_20d0", func_80059AB8);
INCLUDE_ASM(code_341d0_len_20d0, func_80059BD4);
INCLUDE_ASM("code_341d0_len_20d0", func_80059BD4);
INCLUDE_ASM(code_341d0_len_20d0, func_80059C9C);
INCLUDE_ASM("code_341d0_len_20d0", func_80059C9C);
INCLUDE_ASM(code_341d0_len_20d0, func_80059D50);
INCLUDE_ASM("code_341d0_len_20d0", func_80059D50);
INCLUDE_ASM(code_341d0_len_20d0, render_effects);
INCLUDE_ASM("code_341d0_len_20d0", render_effects);
INCLUDE_ASM(code_341d0_len_20d0, func_80059F94);
INCLUDE_ASM("code_341d0_len_20d0", func_80059F94);
INCLUDE_ASM(code_341d0_len_20d0, remove_effect);
INCLUDE_ASM("code_341d0_len_20d0", remove_effect);
INCLUDE_ASM(code_341d0_len_20d0, remove_all_effects);
INCLUDE_ASM("code_341d0_len_20d0", remove_all_effects);
INCLUDE_ASM(code_341d0_len_20d0, play_effect);
INCLUDE_ASM("code_341d0_len_20d0", play_effect);
INCLUDE_ASM(code_341d0_len_20d0, load_map_script_lib);
INCLUDE_ASM("code_341d0_len_20d0", load_map_script_lib);
INCLUDE_ASM(code_341d0_len_20d0, load_map_by_IDs);
INCLUDE_ASM("code_341d0_len_20d0", load_map_by_IDs);
INCLUDE_ASM(code_341d0_len_20d0, get_current_map_config);
INCLUDE_ASM("code_341d0_len_20d0", get_current_map_config);
INCLUDE_ASM(code_341d0_len_20d0, get_current_map_header);
INCLUDE_ASM("code_341d0_len_20d0", get_current_map_header);
INCLUDE_ASM(code_341d0_len_20d0, get_map_IDs_by_name);
INCLUDE_ASM("code_341d0_len_20d0", get_map_IDs_by_name);
INCLUDE_ASM(code_341d0_len_20d0, load_asset_by_name);
void* INCLUDE_ASM("code_341d0_len_20d0", load_asset_by_name, char* name, s32* decompressedSize);
INCLUDE_ASM(code_341d0_len_20d0, get_asset_offset);
INCLUDE_ASM("code_341d0_len_20d0", get_asset_offset);

View File

@ -1,43 +1,43 @@
#include "common.h"
INCLUDE_ASM(code_362a0_len_2f70, allocate_hit_tables);
INCLUDE_ASM("code_362a0_len_2f70", allocate_hit_tables);
INCLUDE_ASM(code_362a0_len_2f70, func_8005AF84);
INCLUDE_ASM("code_362a0_len_2f70", func_8005AF84);
INCLUDE_ASM(code_362a0_len_2f70, initialize_collision);
INCLUDE_ASM("code_362a0_len_2f70", initialize_collision);
INCLUDE_ASM(code_362a0_len_2f70, load_hit_asset);
INCLUDE_ASM("code_362a0_len_2f70", load_hit_asset);
INCLUDE_ASM(code_362a0_len_2f70, load_collision);
INCLUDE_ASM("code_362a0_len_2f70", load_collision);
INCLUDE_ASM(code_362a0_len_2f70, load_stage_collision);
INCLUDE_ASM("code_362a0_len_2f70", load_stage_collision);
INCLUDE_ASM(code_362a0_len_2f70, load_hit_data);
INCLUDE_ASM("code_362a0_len_2f70", load_hit_data);
INCLUDE_ASM(code_362a0_len_2f70, parent_collider_to_model);
INCLUDE_ASM("code_362a0_len_2f70", parent_collider_to_model);
INCLUDE_ASM(code_362a0_len_2f70, _add_hit_vert_to_buffer);
INCLUDE_ASM("code_362a0_len_2f70", _add_hit_vert_to_buffer);
INCLUDE_ASM(code_362a0_len_2f70, _get_hit_vert_index_from_buffer);
INCLUDE_ASM("code_362a0_len_2f70", _get_hit_vert_index_from_buffer);
void INCLUDE_ASM(code_362a0_len_2f70, update_collider_transform, s16 colliderID);
void INCLUDE_ASM("code_362a0_len_2f70", update_collider_transform, s16 colliderID);
INCLUDE_ASM(code_362a0_len_2f70, get_collider_type_by_id);
INCLUDE_ASM("code_362a0_len_2f70", get_collider_type_by_id);
INCLUDE_ASM(code_362a0_len_2f70, func_8005BDD8);
INCLUDE_ASM("code_362a0_len_2f70", func_8005BDD8);
INCLUDE_ASM(code_362a0_len_2f70, get_collider_center);
INCLUDE_ASM("code_362a0_len_2f70", get_collider_center);
INCLUDE_ASM(code_362a0_len_2f70, test_ray_triangle_general);
INCLUDE_ASM("code_362a0_len_2f70", test_ray_triangle_general);
INCLUDE_ASM(code_362a0_len_2f70, test_down_ray_triangle);
INCLUDE_ASM("code_362a0_len_2f70", test_down_ray_triangle);
INCLUDE_ASM(code_362a0_len_2f70, test_up_ray_triangle);
INCLUDE_ASM("code_362a0_len_2f70", test_up_ray_triangle);
INCLUDE_ASM(code_362a0_len_2f70, test_ray_colliders);
INCLUDE_ASM("code_362a0_len_2f70", test_ray_colliders);
INCLUDE_ASM(code_362a0_len_2f70, test_ray_zones);
INCLUDE_ASM("code_362a0_len_2f70", test_ray_zones);
INCLUDE_ASM(code_362a0_len_2f70, test_up_ray_collider);
INCLUDE_ASM("code_362a0_len_2f70", test_up_ray_collider);
INCLUDE_ASM(code_362a0_len_2f70, test_ray_entities);
INCLUDE_ASM("code_362a0_len_2f70", test_ray_entities);

View File

@ -1,3 +1,3 @@
#include "common.h"
INCLUDE_ASM(code_39210_len_aa0, get_npc_pos);
INCLUDE_ASM("code_39210_len_aa0", get_npc_pos);

View File

@ -1,7 +1,7 @@
#include "common.h"
INCLUDE_ASM(code_3bf0_len_6f0, func_800287F0);
INCLUDE_ASM("code_3bf0_len_6f0", func_800287F0);
INCLUDE_ASM(code_3bf0_len_6f0, func_80028838);
INCLUDE_ASM("code_3bf0_len_6f0", func_80028838);
INCLUDE_ASM(code_3bf0_len_6f0, update_input);
INCLUDE_ASM("code_3bf0_len_6f0", update_input);

View File

@ -1,111 +1,111 @@
#include "common.h"
INCLUDE_ASM(code_415D90, func_802A1000);
INCLUDE_ASM("code_415D90", func_802A1000);
INCLUDE_ASM(code_415D90, func_802A1030);
INCLUDE_ASM("code_415D90", func_802A1030);
INCLUDE_ASM(code_415D90, func_802A1050);
INCLUDE_ASM("code_415D90", func_802A1050);
INCLUDE_ASM(code_415D90, func_802A1078);
INCLUDE_ASM("code_415D90", func_802A1078);
INCLUDE_ASM(code_415D90, func_802A1098);
INCLUDE_ASM("code_415D90", func_802A1098);
INCLUDE_ASM(code_415D90, func_802A10B8);
INCLUDE_ASM("code_415D90", func_802A10B8);
INCLUDE_ASM(code_415D90, func_802A11B0);
INCLUDE_ASM("code_415D90", func_802A11B0);
INCLUDE_ASM(code_415D90, func_802A1C54);
INCLUDE_ASM("code_415D90", func_802A1C54);
INCLUDE_ASM(code_415D90, func_802A2684);
INCLUDE_ASM("code_415D90", func_802A2684);
INCLUDE_ASM(code_415D90, func_802A27D0);
INCLUDE_ASM("code_415D90", func_802A27D0);
INCLUDE_ASM(code_415D90, func_802A27E4);
INCLUDE_ASM("code_415D90", func_802A27E4);
INCLUDE_ASM(code_415D90, func_802A2910);
INCLUDE_ASM("code_415D90", func_802A2910);
INCLUDE_ASM(code_415D90, func_802A2AB8);
INCLUDE_ASM("code_415D90", func_802A2AB8);
INCLUDE_ASM(code_415D90, func_802A2C58);
INCLUDE_ASM("code_415D90", func_802A2C58);
INCLUDE_ASM(code_415D90, func_802A2C84);
INCLUDE_ASM("code_415D90", func_802A2C84);
INCLUDE_ASM(code_415D90, func_802A45D8);
INCLUDE_ASM("code_415D90", func_802A45D8);
INCLUDE_ASM(code_415D90, func_802A4718);
INCLUDE_ASM("code_415D90", func_802A4718);
INCLUDE_ASM(code_415D90, func_802A472C);
INCLUDE_ASM("code_415D90", func_802A472C);
INCLUDE_ASM(code_415D90, func_802A47E0);
INCLUDE_ASM("code_415D90", func_802A47E0);
INCLUDE_ASM(code_415D90, func_802A48FC);
INCLUDE_ASM("code_415D90", func_802A48FC);
INCLUDE_ASM(code_415D90, func_802A4A10);
INCLUDE_ASM("code_415D90", func_802A4A10);
INCLUDE_ASM(code_415D90, func_802A4A54);
INCLUDE_ASM("code_415D90", func_802A4A54);
INCLUDE_ASM(code_415D90, can_switch_to_player);
INCLUDE_ASM("code_415D90", can_switch_to_player);
INCLUDE_ASM(code_415D90, func_802A58D0);
INCLUDE_ASM("code_415D90", func_802A58D0);
INCLUDE_ASM(code_415D90, update_player_menu);
INCLUDE_ASM("code_415D90", update_player_menu);
INCLUDE_ASM(code_415D90, func_802A8180);
INCLUDE_ASM("code_415D90", func_802A8180);
INCLUDE_ASM(code_415D90, update_partner_menu);
INCLUDE_ASM("code_415D90", update_partner_menu);
INCLUDE_ASM(code_415D90, func_802A97AC);
INCLUDE_ASM("code_415D90", func_802A97AC);
INCLUDE_ASM(code_415D90, func_802A97BC);
INCLUDE_ASM("code_415D90", func_802A97BC);
INCLUDE_ASM(code_415D90, func_802A97CC);
INCLUDE_ASM("code_415D90", func_802A97CC);
INCLUDE_ASM(code_415D90, func_802A97F8);
INCLUDE_ASM("code_415D90", func_802A97F8);
INCLUDE_ASM(code_415D90, func_802A97FC);
INCLUDE_ASM("code_415D90", func_802A97FC);
INCLUDE_ASM(code_415D90, func_802A9810);
INCLUDE_ASM("code_415D90", func_802A9810);
INCLUDE_ASM(code_415D90, func_802A981C);
INCLUDE_ASM("code_415D90", func_802A981C);
INCLUDE_ASM(code_415D90, func_802A9834);
INCLUDE_ASM("code_415D90", func_802A9834);
INCLUDE_ASM(code_415D90, func_802A984C);
INCLUDE_ASM("code_415D90", func_802A984C);
INCLUDE_ASM(code_415D90, func_802A9894);
INCLUDE_ASM("code_415D90", func_802A9894);
INCLUDE_ASM(code_415D90, func_802A9898);
INCLUDE_ASM("code_415D90", func_802A9898);
INCLUDE_ASM(code_415D90, func_802A98B0);
INCLUDE_ASM("code_415D90", func_802A98B0);
INCLUDE_ASM(code_415D90, func_802A98D0);
INCLUDE_ASM("code_415D90", func_802A98D0);
INCLUDE_ASM(code_415D90, func_802A98DC);
INCLUDE_ASM("code_415D90", func_802A98DC);
INCLUDE_ASM(code_415D90, func_802A98E0);
INCLUDE_ASM("code_415D90", func_802A98E0);
INCLUDE_ASM(code_415D90, func_802A9914);
INCLUDE_ASM("code_415D90", func_802A9914);
INCLUDE_ASM(code_415D90, func_802A992C);
INCLUDE_ASM("code_415D90", func_802A992C);
INCLUDE_ASM(code_415D90, func_802A9AE8);
INCLUDE_ASM("code_415D90", func_802A9AE8);
INCLUDE_ASM(code_415D90, func_802A9B30);
INCLUDE_ASM("code_415D90", func_802A9B30);
INCLUDE_ASM(code_415D90, func_802A9B44);
INCLUDE_ASM("code_415D90", func_802A9B44);
INCLUDE_ASM(code_415D90, func_802AA014);
INCLUDE_ASM("code_415D90", func_802AA014);
INCLUDE_ASM(code_415D90, func_802AA05C);
INCLUDE_ASM("code_415D90", func_802AA05C);
INCLUDE_ASM(code_415D90, func_802AA0A4);
INCLUDE_ASM("code_415D90", func_802AA0A4);
INCLUDE_ASM(code_415D90, func_802AA0B8);
INCLUDE_ASM("code_415D90", func_802AA0B8);
INCLUDE_ASM(code_415D90, func_802AA0D8);
INCLUDE_ASM("code_415D90", func_802AA0D8);
INCLUDE_ASM(code_415D90, func_802AA640);
INCLUDE_ASM("code_415D90", func_802AA640);
INCLUDE_ASM(code_415D90, update_targeting_enemies);
INCLUDE_ASM("code_415D90", update_targeting_enemies);
INCLUDE_ASM(code_415D90, func_802AACD8);
INCLUDE_ASM("code_415D90", func_802AACD8);

View File

@ -1,87 +1,87 @@
#include "common.h"
INCLUDE_ASM(code_42e0_len_1f60, poll_rumble);
INCLUDE_ASM("code_42e0_len_1f60", poll_rumble);
INCLUDE_ASM(code_42e0_len_1f60, start_rumble);
INCLUDE_ASM("code_42e0_len_1f60", start_rumble);
INCLUDE_ASM(code_42e0_len_1f60, func_80028F8C);
INCLUDE_ASM("code_42e0_len_1f60", func_80028F8C);
INCLUDE_ASM(code_42e0_len_1f60, func_80028FE0);
INCLUDE_ASM("code_42e0_len_1f60", func_80028FE0);
INCLUDE_API_ASM(code_42e0_len_1f60, length2D);
INCLUDE_API_ASM("code_42e0_len_1f60", length2D);
INCLUDE_ASM(code_42e0_len_1f60, _heap_create);
INCLUDE_ASM("code_42e0_len_1f60", _heap_create);
INCLUDE_ASM(code_42e0_len_1f60, _heap_malloc);
INCLUDE_ASM("code_42e0_len_1f60", _heap_malloc);
INCLUDE_ASM(code_42e0_len_1f60, _heap_malloc_tail);
INCLUDE_ASM("code_42e0_len_1f60", _heap_malloc_tail);
INCLUDE_ASM(code_42e0_len_1f60, _heap_free);
INCLUDE_ASM("code_42e0_len_1f60", _heap_free);
INCLUDE_ASM(code_42e0_len_1f60, _heap_realloc);
INCLUDE_ASM("code_42e0_len_1f60", _heap_realloc);
INCLUDE_API_ASM(code_42e0_len_1f60, cosine);
INCLUDE_API_ASM("code_42e0_len_1f60", cosine);
INCLUDE_API_ASM(code_42e0_len_1f60, sign);
INCLUDE_API_ASM("code_42e0_len_1f60", sign);
INCLUDE_ASM(code_42e0_len_1f60, int_to_string);
INCLUDE_ASM("code_42e0_len_1f60", int_to_string);
INCLUDE_ASM(code_42e0_len_1f60, mem_clear);
INCLUDE_ASM("code_42e0_len_1f60", mem_clear);
INCLUDE_ASM(code_42e0_len_1f60, transform_point);
INCLUDE_ASM("code_42e0_len_1f60", transform_point);
INCLUDE_ASM(code_42e0_len_1f60, copy_matrix);
INCLUDE_ASM("code_42e0_len_1f60", copy_matrix);
INCLUDE_ASM(code_42e0_len_1f60, dma_copy);
INCLUDE_ASM("code_42e0_len_1f60", dma_copy);
INCLUDE_ASM(code_42e0_len_1f60, func_80029860);
INCLUDE_ASM("code_42e0_len_1f60", func_80029860);
INCLUDE_ASM(code_42e0_len_1f60, _advance_rng);
INCLUDE_ASM("code_42e0_len_1f60", _advance_rng);
INCLUDE_ASM(code_42e0_len_1f60, func_80029934);
INCLUDE_ASM("code_42e0_len_1f60", func_80029934);
INCLUDE_ASM(code_42e0_len_1f60, func_80029994);
INCLUDE_ASM("code_42e0_len_1f60", func_80029994);
s32 INCLUDE_ASM(code_42e0_len_1f60, rand_int, s32 arg0);
s32 INCLUDE_ASM("code_42e0_len_1f60", rand_int, s32 arg0);
INCLUDE_API_ASM(code_42e0_len_1f60, signF);
INCLUDE_API_ASM("code_42e0_len_1f60", signF);
INCLUDE_API_ASM(code_42e0_len_1f60, round);
INCLUDE_API_ASM("code_42e0_len_1f60", round);
f32 INCLUDE_ASM(code_42e0_len_1f60, clamp_angle, f32 theta);
f32 INCLUDE_ASM("code_42e0_len_1f60", clamp_angle, f32 theta);
INCLUDE_ASM(code_42e0_len_1f60, get_clamped_angle_diff);
INCLUDE_ASM("code_42e0_len_1f60", get_clamped_angle_diff);
f32 INCLUDE_ASM(code_42e0_len_1f60, atan2, f32 startX, f32 startZ, f32 endX, f32 endZ);
f32 INCLUDE_ASM("code_42e0_len_1f60", atan2, f32 startX, f32 startZ, f32 endX, f32 endZ);
INCLUDE_ASM(code_42e0_len_1f60, get_player_normal_yaw);
INCLUDE_ASM("code_42e0_len_1f60", get_player_normal_yaw);
INCLUDE_ASM(code_42e0_len_1f60, get_player_normal_pitch);
INCLUDE_ASM("code_42e0_len_1f60", get_player_normal_pitch);
f32 INCLUDE_ASM(code_42e0_len_1f60, dist2D, f32 ax, f32 ay, f32 bx, f32 by);
f32 INCLUDE_ASM("code_42e0_len_1f60", dist2D, f32 ax, f32 ay, f32 bx, f32 by);
f32 INCLUDE_ASM(code_42e0_len_1f60, dist3D, f32 ax, f32 ay, f32 az, f32 bx, f32 by, f32 bz);
f32 INCLUDE_ASM("code_42e0_len_1f60", dist3D, f32 ax, f32 ay, f32 az, f32 bx, f32 by, f32 bz);
void INCLUDE_ASM(code_42e0_len_1f60, add_vec2D_polar, f32* x, f32* y, f32 r, f32 theta);
void INCLUDE_ASM("code_42e0_len_1f60", add_vec2D_polar, f32* x, f32* y, f32 r, f32 theta);
INCLUDE_ASM(code_42e0_len_1f60, _wrap_trig_lookup_value);
INCLUDE_ASM("code_42e0_len_1f60", _wrap_trig_lookup_value);
INCLUDE_ASM(code_42e0_len_1f60, sin_cos_rad);
INCLUDE_ASM("code_42e0_len_1f60", sin_cos_rad);
INCLUDE_ASM(code_42e0_len_1f60, sin_rad);
INCLUDE_ASM("code_42e0_len_1f60", sin_rad);
INCLUDE_ASM(code_42e0_len_1f60, cos_rad);
INCLUDE_ASM("code_42e0_len_1f60", cos_rad);
INCLUDE_ASM(code_42e0_len_1f60, sin_cos_deg);
INCLUDE_ASM("code_42e0_len_1f60", sin_cos_deg);
f32 INCLUDE_ASM(code_42e0_len_1f60, sin_deg, f32 x);
f32 INCLUDE_ASM("code_42e0_len_1f60", sin_deg, f32 x);
f32 INCLUDE_ASM(code_42e0_len_1f60, cos_deg, f32 x);
f32 INCLUDE_ASM("code_42e0_len_1f60", cos_deg, f32 x);
f32 INCLUDE_ASM(code_42e0_len_1f60, update_lerp, Easing easing, f32 start, f32 end, s32 elapsed, s32 duration);
f32 INCLUDE_ASM("code_42e0_len_1f60", update_lerp, Easing easing, f32 start, f32 end, s32 elapsed, s32 duration);
INCLUDE_ASM(code_42e0_len_1f60, func_8002A904);
INCLUDE_ASM("code_42e0_len_1f60", func_8002A904);
INCLUDE_ASM(code_42e0_len_1f60, func_8002AAC4);
INCLUDE_ASM("code_42e0_len_1f60", func_8002AAC4);
INCLUDE_ASM(code_42e0_len_1f60, func_8002AB5C);
INCLUDE_ASM("code_42e0_len_1f60", func_8002AB5C);

View File

@ -50,9 +50,9 @@ s32 heap_free(s32 size) {
}
}
INCLUDE_ASM(code_6000, collision_heap_create);
INCLUDE_ASM("code_6000", collision_heap_create);
INCLUDE_ASM(code_6000, collision_heap_malloc);
INCLUDE_ASM("code_6000", collision_heap_malloc);
#ifdef NON_MATCHING
s32 collision_heap_free(s32 size) {
@ -61,5 +61,5 @@ s32 collision_heap_free(s32 size) {
return _heap_free((isBattle == 0) ? (&D_80268000) : (&D_803DA800), size);
}
#else
INCLUDE_ASM(code_6000, collision_heap_free);
INCLUDE_ASM("code_6000", collision_heap_free);
#endif

View File

@ -1,35 +1,35 @@
#include "common.h"
INCLUDE_ASM(code_6240_len_c00, get_spirits_rescued);
INCLUDE_ASM("code_6240_len_c00", get_spirits_rescued);
INCLUDE_ASM(code_6240_len_c00, fio_calc_header_checksum);
INCLUDE_ASM("code_6240_len_c00", fio_calc_header_checksum);
INCLUDE_ASM(code_6240_len_c00, fio_validate_header_checksums);
INCLUDE_ASM("code_6240_len_c00", fio_validate_header_checksums);
INCLUDE_ASM(code_6240_len_c00, fio_has_valid_backup);
INCLUDE_ASM("code_6240_len_c00", fio_has_valid_backup);
INCLUDE_ASM(code_6240_len_c00, fio_flush_backups);
INCLUDE_ASM("code_6240_len_c00", fio_flush_backups);
INCLUDE_ASM(code_6240_len_c00, fio_calc_file_checksum);
INCLUDE_ASM("code_6240_len_c00", fio_calc_file_checksum);
INCLUDE_ASM(code_6240_len_c00, fio_validate_file_checksum);
INCLUDE_ASM("code_6240_len_c00", fio_validate_file_checksum);
INCLUDE_ASM(code_6240_len_c00, fio_fetch_saved_file_info);
INCLUDE_ASM("code_6240_len_c00", fio_fetch_saved_file_info);
INCLUDE_ASM(code_6240_len_c00, fio_load_game);
INCLUDE_ASM("code_6240_len_c00", fio_load_game);
INCLUDE_ASM(code_6240_len_c00, fio_save_game);
INCLUDE_ASM("code_6240_len_c00", fio_save_game);
INCLUDE_ASM(code_6240_len_c00, fio_erase_game);
INCLUDE_ASM("code_6240_len_c00", fio_erase_game);
INCLUDE_ASM(code_6240_len_c00, fio_deserialize_state);
INCLUDE_ASM("code_6240_len_c00", fio_deserialize_state);
INCLUDE_ASM(code_6240_len_c00, fio_serialize_state);
INCLUDE_ASM("code_6240_len_c00", fio_serialize_state);
INCLUDE_ASM(code_6240_len_c00, fio_init_flash);
INCLUDE_ASM("code_6240_len_c00", fio_init_flash);
INCLUDE_ASM(code_6240_len_c00, fio_read_flash);
INCLUDE_ASM("code_6240_len_c00", fio_read_flash);
INCLUDE_ASM(code_6240_len_c00, fio_write_flash);
INCLUDE_ASM("code_6240_len_c00", fio_write_flash);
INCLUDE_ASM(code_6240_len_c00, fio_erase_flash);
INCLUDE_ASM("code_6240_len_c00", fio_erase_flash);

View File

@ -1,17 +1,17 @@
#include "common.h"
INCLUDE_ASM(code_6e40_len_500, func_8002BA40);
INCLUDE_ASM("code_6e40_len_500", func_8002BA40);
INCLUDE_ASM(code_6e40_len_500, func_8002BA78);
INCLUDE_ASM("code_6e40_len_500", func_8002BA78);
INCLUDE_ASM(code_6e40_len_500, func_8002BA80);
INCLUDE_ASM("code_6e40_len_500", func_8002BA80);
INCLUDE_ASM(code_6e40_len_500, func_8002BEDC);
INCLUDE_ASM("code_6e40_len_500", func_8002BEDC);
INCLUDE_ASM(code_6e40_len_500, func_8002BEEC);
INCLUDE_ASM("code_6e40_len_500", func_8002BEEC);
INCLUDE_ASM(code_6e40_len_500, func_8002BF04);
INCLUDE_ASM("code_6e40_len_500", func_8002BF04);
INCLUDE_ASM(code_6e40_len_500, func_8002BF14);
INCLUDE_ASM("code_6e40_len_500", func_8002BF14);
INCLUDE_ASM(code_6e40_len_500, func_8002BF24);
INCLUDE_ASM("code_6e40_len_500", func_8002BF24);

View File

@ -1,23 +1,23 @@
#include "common.h"
INCLUDE_ASM(code_7340_len_b00, crash_delay_msec);
INCLUDE_ASM("code_7340_len_b00", crash_delay_msec);
INCLUDE_ASM(code_7340_len_b00, func_8002BFB0);
INCLUDE_ASM("code_7340_len_b00", func_8002BFB0);
INCLUDE_ASM(code_7340_len_b00, func_8002C054);
INCLUDE_ASM("code_7340_len_b00", func_8002C054);
INCLUDE_ASM(code_7340_len_b00, crash_printf_string);
INCLUDE_ASM("code_7340_len_b00", crash_printf_string);
INCLUDE_ASM(code_7340_len_b00, crash_print_fpr);
INCLUDE_ASM("code_7340_len_b00", crash_print_fpr);
INCLUDE_ASM(code_7340_len_b00, func_8002C324);
INCLUDE_ASM("code_7340_len_b00", func_8002C324);
INCLUDE_ASM(code_7340_len_b00, crash_show_handler);
INCLUDE_ASM("code_7340_len_b00", crash_show_handler);
INCLUDE_ASM(code_7340_len_b00, func_8002C7B0);
INCLUDE_ASM("code_7340_len_b00", func_8002C7B0);
INCLUDE_ASM(code_7340_len_b00, crash_monitor_thread);
INCLUDE_ASM("code_7340_len_b00", crash_monitor_thread);
INCLUDE_ASM(code_7340_len_b00, func_8002C890);
INCLUDE_ASM("code_7340_len_b00", func_8002C890);
INCLUDE_ASM(code_7340_len_b00, crash_create_monitor);
INCLUDE_ASM("code_7340_len_b00", crash_create_monitor);

View File

@ -1,139 +1,139 @@
#include "common.h"
INCLUDE_ASM(code_759b0_len_61b0, func_800DC500);
INCLUDE_ASM("code_759b0_len_61b0", func_800DC500);
INCLUDE_ASM(code_759b0_len_61b0, func_800DC778);
INCLUDE_ASM("code_759b0_len_61b0", func_800DC778);
INCLUDE_ASM(code_759b0_len_61b0, func_800DCB7C);
INCLUDE_ASM("code_759b0_len_61b0", func_800DCB7C);
INCLUDE_ASM(code_759b0_len_61b0, func_800DCE70);
INCLUDE_ASM("code_759b0_len_61b0", func_800DCE70);
INCLUDE_ASM(code_759b0_len_61b0, func_800DD04C);
INCLUDE_ASM("code_759b0_len_61b0", func_800DD04C);
INCLUDE_ASM(code_759b0_len_61b0, func_800DD44C);
INCLUDE_ASM("code_759b0_len_61b0", func_800DD44C);
INCLUDE_ASM(code_759b0_len_61b0, func_800DD5B4);
INCLUDE_ASM("code_759b0_len_61b0", func_800DD5B4);
INCLUDE_ASM(code_759b0_len_61b0, func_800DD618);
INCLUDE_ASM("code_759b0_len_61b0", func_800DD618);
INCLUDE_ASM(code_759b0_len_61b0, func_800DD8FC);
INCLUDE_ASM("code_759b0_len_61b0", func_800DD8FC);
INCLUDE_ASM(code_759b0_len_61b0, func_800DDAE4);
INCLUDE_ASM("code_759b0_len_61b0", func_800DDAE4);
INCLUDE_ASM(code_759b0_len_61b0, func_800DDC44);
INCLUDE_ASM("code_759b0_len_61b0", func_800DDC44);
INCLUDE_ASM(code_759b0_len_61b0, func_800DDD94);
INCLUDE_ASM("code_759b0_len_61b0", func_800DDD94);
INCLUDE_ASM(code_759b0_len_61b0, test_below_player);
INCLUDE_ASM("code_759b0_len_61b0", test_below_player);
INCLUDE_ASM(code_759b0_len_61b0, func_800DE46C);
INCLUDE_ASM("code_759b0_len_61b0", func_800DE46C);
INCLUDE_ASM(code_759b0_len_61b0, trace_below_player);
INCLUDE_ASM("code_759b0_len_61b0", trace_below_player);
INCLUDE_ASM(code_759b0_len_61b0, func_800DE7E4);
INCLUDE_ASM("code_759b0_len_61b0", func_800DE7E4);
INCLUDE_ASM(code_759b0_len_61b0, trace_above_player);
INCLUDE_ASM("code_759b0_len_61b0", trace_above_player);
INCLUDE_ASM(code_759b0_len_61b0, func_800DEC04);
INCLUDE_ASM("code_759b0_len_61b0", func_800DEC04);
INCLUDE_ASM(code_759b0_len_61b0, func_800DEE5C);
INCLUDE_ASM("code_759b0_len_61b0", func_800DEE5C);
INCLUDE_ASM(code_759b0_len_61b0, func_800DF15C);
INCLUDE_ASM("code_759b0_len_61b0", func_800DF15C);
INCLUDE_ASM(code_759b0_len_61b0, func_800DF3FC);
INCLUDE_ASM("code_759b0_len_61b0", func_800DF3FC);
INCLUDE_ASM(code_759b0_len_61b0, test_player_lateral);
INCLUDE_ASM("code_759b0_len_61b0", test_player_lateral);
INCLUDE_ASM(code_759b0_len_61b0, func_800DF740);
INCLUDE_ASM("code_759b0_len_61b0", func_800DF740);
INCLUDE_ASM(code_759b0_len_61b0, check_input_use_partner);
INCLUDE_ASM("code_759b0_len_61b0", check_input_use_partner);
INCLUDE_ASM(code_759b0_len_61b0, func_800DFAAC);
INCLUDE_ASM("code_759b0_len_61b0", func_800DFAAC);
INCLUDE_ASM(code_759b0_len_61b0, func_800DFBE8);
INCLUDE_ASM("code_759b0_len_61b0", func_800DFBE8);
INCLUDE_ASM(code_759b0_len_61b0, clear_player_status);
INCLUDE_ASM("code_759b0_len_61b0", clear_player_status);
INCLUDE_ASM(code_759b0_len_61b0, func_800DFC74);
INCLUDE_ASM("code_759b0_len_61b0", func_800DFC74);
INCLUDE_ASM(code_759b0_len_61b0, func_800DFCF4);
INCLUDE_ASM("code_759b0_len_61b0", func_800DFCF4);
INCLUDE_ASM(code_759b0_len_61b0, func_800DFD48);
INCLUDE_ASM("code_759b0_len_61b0", func_800DFD48);
INCLUDE_ASM(code_759b0_len_61b0, func_800DFEFC);
INCLUDE_ASM("code_759b0_len_61b0", func_800DFEFC);
INCLUDE_ASM(code_759b0_len_61b0, func_800DFF78);
INCLUDE_ASM("code_759b0_len_61b0", func_800DFF78);
INCLUDE_ASM(code_759b0_len_61b0, func_800DFFCC);
INCLUDE_ASM("code_759b0_len_61b0", func_800DFFCC);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0088);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0088);
INCLUDE_ASM(code_759b0_len_61b0, enable_player_shadow);
INCLUDE_ASM("code_759b0_len_61b0", enable_player_shadow);
INCLUDE_ASM(code_759b0_len_61b0, disable_player_shadow);
INCLUDE_ASM("code_759b0_len_61b0", disable_player_shadow);
INCLUDE_ASM(code_759b0_len_61b0, enable_player_physics);
INCLUDE_ASM("code_759b0_len_61b0", enable_player_physics);
INCLUDE_ASM(code_759b0_len_61b0, disable_player_physics);
INCLUDE_ASM("code_759b0_len_61b0", disable_player_physics);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0178);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0178);
INCLUDE_ASM(code_759b0_len_61b0, func_800E01A4);
INCLUDE_ASM("code_759b0_len_61b0", func_800E01A4);
INCLUDE_ASM(code_759b0_len_61b0, func_800E01DC);
INCLUDE_ASM("code_759b0_len_61b0", func_800E01DC);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0208);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0208);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0260);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0260);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0294);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0294);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0330);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0330);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0374);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0374);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0398);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0398);
INCLUDE_ASM(code_759b0_len_61b0, func_800E04D0);
INCLUDE_ASM("code_759b0_len_61b0", func_800E04D0);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0514);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0514);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0538);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0538);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0580);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0580);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0658);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0658);
INCLUDE_ASM(code_759b0_len_61b0, func_800E069C);
INCLUDE_ASM("code_759b0_len_61b0", func_800E069C);
INCLUDE_ASM(code_759b0_len_61b0, func_800E06C0);
INCLUDE_ASM("code_759b0_len_61b0", func_800E06C0);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0818);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0818);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0AD0);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0AD0);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0B14);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0B14);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0B38);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0B38);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0B90);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0B90);
INCLUDE_ASM(code_759b0_len_61b0, func_800E0FEC);
INCLUDE_ASM("code_759b0_len_61b0", func_800E0FEC);
INCLUDE_ASM(code_759b0_len_61b0, render_player);
INCLUDE_ASM("code_759b0_len_61b0", render_player);
INCLUDE_ASM(code_759b0_len_61b0, render_player_model);
INCLUDE_ASM("code_759b0_len_61b0", render_player_model);
INCLUDE_ASM(code_759b0_len_61b0, make_player_display_list);
INCLUDE_ASM("code_759b0_len_61b0", make_player_display_list);
INCLUDE_ASM(code_759b0_len_61b0, make_spinning_player_display_list);
INCLUDE_ASM("code_759b0_len_61b0", make_spinning_player_display_list);
INCLUDE_ASM(code_759b0_len_61b0, update_below_player);
INCLUDE_ASM("code_759b0_len_61b0", update_below_player);
INCLUDE_ASM(code_759b0_len_61b0, func_800E1F90);
INCLUDE_ASM("code_759b0_len_61b0", func_800E1F90);
INCLUDE_ASM(code_759b0_len_61b0, func_800E205C);
INCLUDE_ASM("code_759b0_len_61b0", func_800E205C);
INCLUDE_ASM(code_759b0_len_61b0, func_800E2304);
INCLUDE_ASM("code_759b0_len_61b0", func_800E2304);
INCLUDE_ASM(code_759b0_len_61b0, func_800E24F8);
INCLUDE_ASM("code_759b0_len_61b0", func_800E24F8);

View File

@ -1,5 +1,5 @@
#include "common.h"
INCLUDE_ASM(code_7E2AA0, func_80281C20);
INCLUDE_ASM("code_7E2AA0", func_80281C20);
INCLUDE_API_ASM(code_7E2AA0, MakeDoorAdvanced);
INCLUDE_API_ASM("code_7E2AA0", MakeDoorAdvanced);

View File

@ -1,15 +1,15 @@
#include "common.h"
INCLUDE_ASM(code_7E3700, func_80282880);
INCLUDE_ASM("code_7E3700", func_80282880);
INCLUDE_API_ASM(code_7E3700, CheckActionState);
INCLUDE_API_ASM("code_7E3700", CheckActionState);
INCLUDE_API_ASM(code_7E3700, CreatePushBlockGrid);
INCLUDE_API_ASM("code_7E3700", CreatePushBlockGrid);
INCLUDE_API_ASM(code_7E3700, SetPushBlock);
INCLUDE_API_ASM("code_7E3700", SetPushBlock);
INCLUDE_API_ASM(code_7E3700, GetPushBlock);
INCLUDE_API_ASM("code_7E3700", GetPushBlock);
INCLUDE_API_ASM(code_7E3700, GetGridIndexFromPos);
INCLUDE_API_ASM("code_7E3700", GetGridIndexFromPos);
INCLUDE_API_ASM(code_7E3700, SetPushBlockFallEffect);
INCLUDE_API_ASM("code_7E3700", SetPushBlockFallEffect);

View File

@ -1,95 +1,95 @@
#include "common.h"
INCLUDE_ASM(code_7bb60_len_41b0, func_800E26B0);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E26B0);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E26C4);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E26C4);
INCLUDE_ASM(code_7bb60_len_41b0, move_player);
INCLUDE_ASM("code_7bb60_len_41b0", move_player);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E27E0);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E27E0);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E29C8);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E29C8);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E2BB0);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E2BB0);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E2D18);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E2D18);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E306C);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E306C);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E3100);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E3100);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E315C);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E315C);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E3278);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E3278);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E3448);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E3448);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E34D8);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E34D8);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E3514);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E3514);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E363C);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E363C);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E4308);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E4308);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E4404);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E4404);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E4508);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E4508);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E45E0);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E45E0);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E4744);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E4744);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E4BB8);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E4BB8);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E4F10);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E4F10);
INCLUDE_ASM(code_7bb60_len_41b0, check_input_midair_jump);
INCLUDE_ASM("code_7bb60_len_41b0", check_input_midair_jump);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E5088);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E5088);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E5174);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E5174);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E52F8);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E52F8);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E5348);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E5348);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E546C);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E546C);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E54E0);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E54E0);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E5520);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E5520);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E5530);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E5530);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E5938);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E5938);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E59A0);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E59A0);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E5A2C);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E5A2C);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E5C78);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E5C78);
INCLUDE_ASM(code_7bb60_len_41b0, set_action_state);
INCLUDE_ASM("code_7bb60_len_41b0", set_action_state);
INCLUDE_ASM(code_7bb60_len_41b0, update_locomotion_state);
INCLUDE_ASM("code_7bb60_len_41b0", update_locomotion_state);
INCLUDE_ASM(code_7bb60_len_41b0, start_falling);
INCLUDE_ASM("code_7bb60_len_41b0", start_falling);
INCLUDE_ASM(code_7bb60_len_41b0, start_bounce_a);
INCLUDE_ASM("code_7bb60_len_41b0", start_bounce_a);
INCLUDE_ASM(code_7bb60_len_41b0, start_bounce_b);
INCLUDE_ASM("code_7bb60_len_41b0", start_bounce_b);
INCLUDE_ASM(code_7bb60_len_41b0, check_input_hammer);
INCLUDE_ASM("code_7bb60_len_41b0", check_input_hammer);
INCLUDE_ASM(code_7bb60_len_41b0, check_input_jump);
INCLUDE_ASM("code_7bb60_len_41b0", check_input_jump);
INCLUDE_ASM(code_7bb60_len_41b0, check_input_spin);
INCLUDE_ASM("code_7bb60_len_41b0", check_input_spin);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E636C);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E636C);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E6428);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E6428);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E6500);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E6500);
INCLUDE_ASM(code_7bb60_len_41b0, func_800E657C);
INCLUDE_ASM("code_7bb60_len_41b0", func_800E657C);

View File

@ -1,57 +1,57 @@
#include "common.h"
INCLUDE_ASM(code_7e0e80, func_80280000);
INCLUDE_ASM("code_7e0e80", func_80280000);
INCLUDE_ASM(code_7e0e80, func_80280088);
INCLUDE_ASM("code_7e0e80", func_80280088);
INCLUDE_ASM(code_7e0e80, func_8028017C);
INCLUDE_ASM("code_7e0e80", func_8028017C);
INCLUDE_ASM(code_7e0e80, func_80280208);
INCLUDE_ASM("code_7e0e80", func_80280208);
INCLUDE_ASM(code_7e0e80, func_802802D0);
INCLUDE_ASM("code_7e0e80", func_802802D0);
INCLUDE_ASM(code_7e0e80, func_8028035C);
INCLUDE_ASM("code_7e0e80", func_8028035C);
INCLUDE_ASM(code_7e0e80, func_80280954);
INCLUDE_ASM("code_7e0e80", func_80280954);
INCLUDE_ASM(code_7e0e80, func_80280AC4);
INCLUDE_ASM("code_7e0e80", func_80280AC4);
INCLUDE_ASM(code_7e0e80, func_80280B44);
INCLUDE_ASM("code_7e0e80", func_80280B44);
INCLUDE_API_ASM(code_7e0e80, BtlBringPartnerOut);
INCLUDE_API_ASM("code_7e0e80", BtlBringPartnerOut);
INCLUDE_ASM(code_7e0e80, func_80280B78);
INCLUDE_ASM("code_7e0e80", func_80280B78);
INCLUDE_API_ASM(code_7e0e80, CamPreset_B);
INCLUDE_API_ASM("code_7e0e80", CamPreset_B);
INCLUDE_API_ASM(code_7e0e80, CamPreset_F);
INCLUDE_API_ASM("code_7e0e80", CamPreset_F);
INCLUDE_API_ASM(code_7e0e80, CamPreset_M);
INCLUDE_API_ASM("code_7e0e80", CamPreset_M);
INCLUDE_API_ASM(code_7e0e80, CamPreset_G);
INCLUDE_API_ASM("code_7e0e80", CamPreset_G);
INCLUDE_API_ASM(code_7e0e80, CamPreset_I);
INCLUDE_API_ASM("code_7e0e80", CamPreset_I);
INCLUDE_API_ASM(code_7e0e80, CamPreset_H);
INCLUDE_API_ASM("code_7e0e80", CamPreset_H);
INCLUDE_API_ASM(code_7e0e80, CamPreset_N);
INCLUDE_API_ASM("code_7e0e80", CamPreset_N);
INCLUDE_API_ASM(code_7e0e80, CamPreset_C);
INCLUDE_API_ASM("code_7e0e80", CamPreset_C);
INCLUDE_API_ASM(code_7e0e80, CamPreset_D);
INCLUDE_API_ASM("code_7e0e80", CamPreset_D);
INCLUDE_API_ASM(code_7e0e80, CamPreset_E);
INCLUDE_API_ASM("code_7e0e80", CamPreset_E);
INCLUDE_API_ASM(code_7e0e80, CamPreset_J);
INCLUDE_API_ASM("code_7e0e80", CamPreset_J);
INCLUDE_API_ASM(code_7e0e80, CamPreset_K);
INCLUDE_API_ASM("code_7e0e80", CamPreset_K);
INCLUDE_API_ASM(code_7e0e80, CamPreset_L);
INCLUDE_API_ASM("code_7e0e80", CamPreset_L);
INCLUDE_API_ASM(code_7e0e80, CamPreset_A);
INCLUDE_API_ASM("code_7e0e80", CamPreset_A);
INCLUDE_ASM(code_7e0e80, draw_shop_items);
INCLUDE_ASM("code_7e0e80", draw_shop_items);
INCLUDE_API_ASM(code_7e0e80, MakeShop);
INCLUDE_API_ASM("code_7e0e80", MakeShop);
INCLUDE_API_ASM(code_7e0e80, MakeShopOwner);
INCLUDE_API_ASM("code_7e0e80", MakeShopOwner);

View File

@ -1,17 +1,17 @@
#include "common.h"
INCLUDE_ASM(code_7fd10_len_b40, func_800E6860);
INCLUDE_ASM("code_7fd10_len_b40", func_800E6860);
INCLUDE_ASM(code_7fd10_len_b40, func_800E6904);
INCLUDE_ASM("code_7fd10_len_b40", func_800E6904);
INCLUDE_ASM(code_7fd10_len_b40, func_800E69DC);
INCLUDE_ASM("code_7fd10_len_b40", func_800E69DC);
INCLUDE_ASM(code_7fd10_len_b40, func_800E6B68);
INCLUDE_ASM("code_7fd10_len_b40", func_800E6B68);
INCLUDE_ASM(code_7fd10_len_b40, func_800E6B78);
INCLUDE_ASM("code_7fd10_len_b40", func_800E6B78);
INCLUDE_ASM(code_7fd10_len_b40, func_800E6C44);
INCLUDE_ASM("code_7fd10_len_b40", func_800E6C44);
INCLUDE_ASM(code_7fd10_len_b40, func_800E6CE4);
INCLUDE_ASM("code_7fd10_len_b40", func_800E6CE4);
INCLUDE_ASM(code_7fd10_len_b40, check_input_status_menu);
INCLUDE_ASM("code_7fd10_len_b40", check_input_status_menu);

View File

@ -185,7 +185,6 @@ void sort_items(void) {
}
}
}
return;
}
s32 add_badge(s32 itemID) {
@ -269,13 +268,13 @@ void enforce_hpfp_limits(void) {
}
}
INCLUDE_ASM(code_80850_len_3060, initialize_status_menu);
INCLUDE_ASM("code_80850_len_3060", initialize_status_menu);
INCLUDE_ASM(code_80850_len_3060, status_menu_draw_number);
INCLUDE_ASM("code_80850_len_3060", status_menu_draw_number);
INCLUDE_ASM(code_80850_len_3060, status_menu_draw_stat);
INCLUDE_ASM("code_80850_len_3060", status_menu_draw_stat);
INCLUDE_ASM(code_80850_len_3060, update_status_menu);
INCLUDE_ASM("code_80850_len_3060", update_status_menu);
void coin_counter_draw_content(UNK_TYPE arg0, s32 posX, s32 posY) {
UiStatus* uiStatus = &gUIStatus;
@ -300,7 +299,7 @@ void update_coin_counter(void) {
UiStatus* uiStatus = &gUIStatus;
PlayerData* playerData = &gPlayerData;
do {} while(0); // Needed to match
do {} while (0); // Needed to match
if (uiStatus->unk_6C[1] != 0) {
uiStatus->unk_6C[1] -= 1;
@ -354,7 +353,7 @@ void show_coin_counter(void) {
D_8010CD12 = 0;
}
if (uiStatus->unk_6C[0]== 0) {
if (uiStatus->unk_6C[0] == 0) {
func_80147CC8(0x14, 0x20, 0xa4, 0x40, 0x14, 0x15, &D_800E92D8, 0, -1);
func_80147E7C(0x14, &D_80147474);
index = create_icon(&D_80109270);
@ -374,13 +373,12 @@ void show_coin_counter(void) {
uiStatus->ignoreChanges = 1;
D_8010CD10 = 1;
}
return;
}
void hide_coin_counter(void) {
UiStatus* uiStatus = &gUIStatus;
if ((D_8010CD10 != 0) && (uiStatus->unk_6C[0]== 0)) {
if ((D_8010CD10 != 0) && (uiStatus->unk_6C[0] == 0)) {
uiStatus->unk_6C[0] = 60;
}
}
@ -388,8 +386,8 @@ void hide_coin_counter(void) {
void func_800E96C8(void) {
UiStatus* uiStatus = &gUIStatus;
if ((D_8010CD10 != 0) && (uiStatus->unk_6C[0]== 0)) {
uiStatus->unk_6C[0]= 1;
if ((D_8010CD10 != 0) && (uiStatus->unk_6C[0] == 0)) {
uiStatus->unk_6C[0] = 1;
}
}
@ -967,7 +965,7 @@ s32 is_ability_active(s32 arg0) {
}
}
#else
s32 INCLUDE_ASM(code_80850_len_3060, is_ability_active, s32 arg0);
s32 INCLUDE_ASM("code_80850_len_3060", is_ability_active, s32 arg0);
#endif
s32 is_partner_ability_active(void) {

Some files were not shown because too many files have changed in this diff Show More