Merge pull request #26 from nanaian/clang-format

add astyle, clang-tidy
This commit is contained in:
Ethan Roseman 2020-08-19 22:17:27 -04:00 committed by GitHub
commit 8cb8c07189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
229 changed files with 3178 additions and 3141 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

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

@ -22,8 +22,8 @@ ifdef PM_HEADER_REBUILD
H_FILES := $(foreach dir,$(INCLUDE_DIRS),$(wildcard $(dir)/*.h))
endif
DATA_FILES := $(foreach dir,$(DATA_DIRS),$(wildcard $(dir)/*.bin))
COMPRESSED_FILES := $(foreach dir,$(COMPRESSED_DIRS),$(wildcard $(dir)/*.yay0))
MAP_FILES := $(foreach dir,$(MAP_DIRS),$(wildcard $(dir)/*.FS))
COMPRESSED_FILES := $(foreach dir,$(COMPRESSED_DIRS),$(wildcard $(dir)/*.yay0))
MAP_FILES := $(foreach dir,$(MAP_DIRS),$(wildcard $(dir)/*.FS))
BGM_FILES := $(foreach dir,$(BGM_DIRS),$(wildcard $(dir)/*.bgm))
# Object files
@ -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 #############################

View File

@ -94,6 +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.
#### Formatting and linting
Once your function is matching, you'll want to make a pull request. Before you do that, run the following script to reformat your code. (You can also format specific files with `./format.sh path/to/file.c`.)
```sh
$ ./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
* If you received the following error when running `make`:

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

@ -250,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 */
@ -524,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;
@ -1270,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

@ -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

@ -1,40 +1,40 @@
/**************************************************************************
* *
* Copyright (C) 1994, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
*************************************************************************/
/**************************************************************************
*
* $Revision: 1.10 $
* $Date: 1997/02/11 08:37:33 $
* $Source: /hosts/gate3/exdisk2/cvs/N64OS/Master/cvsmdev2/PR/include/ultra64.h,v $
*
**************************************************************************/
#ifndef _ULTRA64_H_
#define _ULTRA64_H_
#include <PR/ultratypes.h>
#include <PR/rcp.h>
#include <PR/os.h>
#include <PR/region.h>
#include <PR/rmon.h>
#include <PR/sptask.h>
#include <PR/mbi.h>
#include <PR/libaudio.h>
#include <PR/gu.h>
#include <PR/ramrom.h>
#include <PR/sp.h>
#include <PR/ucode.h>
#include <PR/ultraerror.h>
#include <PR/ultralog.h>
#endif
/**************************************************************************
* *
* Copyright (C) 1994, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
*************************************************************************/
/**************************************************************************
*
* $Revision: 1.10 $
* $Date: 1997/02/11 08:37:33 $
* $Source: /hosts/gate3/exdisk2/cvs/N64OS/Master/cvsmdev2/PR/include/ultra64.h,v $
*
**************************************************************************/
#ifndef _ULTRA64_H_
#define _ULTRA64_H_
#include <PR/ultratypes.h>
#include <PR/rcp.h>
#include <PR/os.h>
#include <PR/region.h>
#include <PR/rmon.h>
#include <PR/sptask.h>
#include <PR/mbi.h>
#include <PR/libaudio.h>
#include <PR/gu.h>
#include <PR/ramrom.h>
#include <PR/sp.h>
#include <PR/ucode.h>
#include <PR/ultraerror.h>
#include <PR/ultralog.h>
#endif

View File

@ -48,7 +48,7 @@ extern s16 D_8010CD10;
extern s16 D_8010CD12;
extern s32 D_801595A0;
extern char gCloudyFlowerFieldsBg[]; // "fla_bg"
extern char gSunnyFlowerFieldsBg[]; // "flb_bg"
extern char gSunnyFlowerFieldsBg[]; // "flb_bg"
extern BackgroundHeader gBackgroundImage;
extern s8 D_8014F12F;
@ -56,10 +56,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 +76,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

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);
void INCLUDE_ASM(code_13870_len_6980, set_npc_yaw, Npc* npcPtr, f32 angle);
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,11 +50,11 @@ 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);
INCLUDE_ASM(code_6000, collision_heap_free);
INCLUDE_ASM("code_6000", collision_heap_free);
/*s32 collision_heap_free(s32 size) {
s32 isBattle = (*gGameStatusPtr)->isBattle;

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;
}
}
@ -717,7 +715,7 @@ void reset_status_menu(void) {
}
// uses a jumptable, which we need .rodata support for.
s32 INCLUDE_ASM(code_80850_len_3060, is_ability_active, s32 arg0);
s32 INCLUDE_ASM("code_80850_len_3060", is_ability_active, s32 arg0);
// Somewhat close. Needs work.
/*s32 is_ability_active(s32 arg0) {
s32 iVar2;

View File

@ -1,29 +1,29 @@
#include "common.h"
INCLUDE_API_ASM(code_8230_len_1ae0, nuSiMgrInit);
INCLUDE_API_ASM("code_8230_len_1ae0", nuSiMgrInit);
INCLUDE_API_ASM(code_8230_len_1ae0, nuSiSendMesg);
INCLUDE_API_ASM("code_8230_len_1ae0", nuSiSendMesg);
INCLUDE_API_ASM(code_8230_len_1ae0, nuSiMgrStop);
INCLUDE_API_ASM("code_8230_len_1ae0", nuSiMgrStop);
INCLUDE_API_ASM(code_8230_len_1ae0, nuSiMgrRestart);
INCLUDE_API_ASM("code_8230_len_1ae0", nuSiMgrRestart);
INCLUDE_API_ASM(code_8230_len_1ae0, nuSiMgrThread);
INCLUDE_API_ASM("code_8230_len_1ae0", nuSiMgrThread);
INCLUDE_ASM(code_8230_len_1ae0, func_8002D160);
INCLUDE_ASM("code_8230_len_1ae0", func_8002D160);
INCLUDE_ASM(code_8230_len_1ae0, update_cameras);
INCLUDE_ASM("code_8230_len_1ae0", update_cameras);
INCLUDE_ASM(code_8230_len_1ae0, render_frame);
INCLUDE_ASM("code_8230_len_1ae0", render_frame);
INCLUDE_ASM(code_8230_len_1ae0, create_cameras_a);
INCLUDE_ASM("code_8230_len_1ae0", create_cameras_a);
INCLUDE_ASM(code_8230_len_1ae0, create_cameras_b);
INCLUDE_ASM("code_8230_len_1ae0", create_cameras_b);
INCLUDE_ASM(code_8230_len_1ae0, initialize_next_camera);
INCLUDE_ASM("code_8230_len_1ae0", initialize_next_camera);
INCLUDE_ASM(code_8230_len_1ae0, set_cam_viewport);
INCLUDE_ASM("code_8230_len_1ae0", set_cam_viewport);
INCLUDE_ASM(code_8230_len_1ae0, get_cam_viewport);
INCLUDE_ASM("code_8230_len_1ae0", get_cam_viewport);
INCLUDE_ASM(code_8230_len_1ae0, get_screen_coords);
INCLUDE_ASM("code_8230_len_1ae0", get_screen_coords);

View File

@ -1,79 +1,79 @@
#include "common.h"
INCLUDE_ASM(code_838b0_len_5900, use_consumable);
INCLUDE_ASM("code_838b0_len_5900", use_consumable);
INCLUDE_ASM(code_838b0_len_5900, remove_consumable);
INCLUDE_ASM("code_838b0_len_5900", remove_consumable);
INCLUDE_ASM(code_838b0_len_5900, func_800EA4B0);
INCLUDE_ASM("code_838b0_len_5900", func_800EA4B0);
INCLUDE_ASM(code_838b0_len_5900, func_800EA5A4);
INCLUDE_ASM("code_838b0_len_5900", func_800EA5A4);
INCLUDE_ASM(code_838b0_len_5900, func_800EA5B8);
INCLUDE_ASM("code_838b0_len_5900", func_800EA5B8);
INCLUDE_ASM(code_838b0_len_5900, func_800EA5D0);
INCLUDE_ASM("code_838b0_len_5900", func_800EA5D0);
INCLUDE_ASM(code_838b0_len_5900, func_800EA6A8);
INCLUDE_ASM("code_838b0_len_5900", func_800EA6A8);
INCLUDE_ASM(code_838b0_len_5900, func_800EA6CC);
INCLUDE_ASM("code_838b0_len_5900", func_800EA6CC);
INCLUDE_ASM(code_838b0_len_5900, func_800EB168);
INCLUDE_ASM("code_838b0_len_5900", func_800EB168);
INCLUDE_ASM(code_838b0_len_5900, func_800EB200);
INCLUDE_ASM("code_838b0_len_5900", func_800EB200);
INCLUDE_ASM(code_838b0_len_5900, use_partner_ability);
INCLUDE_ASM("code_838b0_len_5900", use_partner_ability);
INCLUDE_ASM(code_838b0_len_5900, func_800EB3E0);
INCLUDE_ASM("code_838b0_len_5900", func_800EB3E0);
INCLUDE_ASM(code_838b0_len_5900, func_800EB42C);
INCLUDE_ASM("code_838b0_len_5900", func_800EB42C);
INCLUDE_ASM(code_838b0_len_5900, func_800EB474);
INCLUDE_ASM("code_838b0_len_5900", func_800EB474);
INCLUDE_ASM(code_838b0_len_5900, func_800EB580);
INCLUDE_ASM("code_838b0_len_5900", func_800EB580);
INCLUDE_ASM(code_838b0_len_5900, func_800EB5E4);
INCLUDE_ASM("code_838b0_len_5900", func_800EB5E4);
INCLUDE_ASM(code_838b0_len_5900, func_800EB638);
INCLUDE_ASM("code_838b0_len_5900", func_800EB638);
INCLUDE_ASM(code_838b0_len_5900, func_800EB658);
INCLUDE_ASM("code_838b0_len_5900", func_800EB658);
INCLUDE_ASM(code_838b0_len_5900, func_800EB6C4);
INCLUDE_ASM("code_838b0_len_5900", func_800EB6C4);
INCLUDE_ASM(code_838b0_len_5900, enable_partner_walking);
INCLUDE_ASM("code_838b0_len_5900", enable_partner_walking);
INCLUDE_ASM(code_838b0_len_5900, func_800EBC74);
INCLUDE_ASM("code_838b0_len_5900", func_800EBC74);
INCLUDE_ASM(code_838b0_len_5900, enable_partner_flying);
INCLUDE_ASM("code_838b0_len_5900", enable_partner_flying);
INCLUDE_ASM(code_838b0_len_5900, update_player_move_history);
INCLUDE_ASM("code_838b0_len_5900", update_player_move_history);
INCLUDE_ASM(code_838b0_len_5900, func_800ED9F8);
INCLUDE_ASM("code_838b0_len_5900", func_800ED9F8);
INCLUDE_ASM(code_838b0_len_5900, func_800EF300);
INCLUDE_ASM("code_838b0_len_5900", func_800EF300);
INCLUDE_ASM(code_838b0_len_5900, func_800EF314);
INCLUDE_ASM("code_838b0_len_5900", func_800EF314);
INCLUDE_ASM(code_838b0_len_5900, enable_partner_ai);
INCLUDE_ASM("code_838b0_len_5900", enable_partner_ai);
INCLUDE_ASM(code_838b0_len_5900, func_800EF394);
INCLUDE_ASM("code_838b0_len_5900", func_800EF394);
INCLUDE_ASM(code_838b0_len_5900, func_800EF3A4);
INCLUDE_ASM("code_838b0_len_5900", func_800EF3A4);
INCLUDE_ASM(code_838b0_len_5900, func_800EF3C0);
INCLUDE_ASM("code_838b0_len_5900", func_800EF3C0);
INCLUDE_ASM(code_838b0_len_5900, func_800EF3D4);
INCLUDE_ASM("code_838b0_len_5900", func_800EF3D4);
INCLUDE_ASM(code_838b0_len_5900, func_800EF3E4);
INCLUDE_ASM("code_838b0_len_5900", func_800EF3E4);
INCLUDE_ASM(code_838b0_len_5900, func_800EF414);
INCLUDE_ASM("code_838b0_len_5900", func_800EF414);
INCLUDE_ASM(code_838b0_len_5900, func_800EF43C);
INCLUDE_ASM("code_838b0_len_5900", func_800EF43C);
INCLUDE_ASM(code_838b0_len_5900, clear_partner_move_history);
INCLUDE_ASM("code_838b0_len_5900", clear_partner_move_history);
INCLUDE_ASM(code_838b0_len_5900, func_800EF600);
INCLUDE_ASM("code_838b0_len_5900", func_800EF600);
INCLUDE_ASM(code_838b0_len_5900, func_800EF628);
INCLUDE_ASM("code_838b0_len_5900", func_800EF628);
INCLUDE_ASM(code_838b0_len_5900, func_800EF640);
INCLUDE_ASM("code_838b0_len_5900", func_800EF640);
INCLUDE_ASM(code_838b0_len_5900, func_800EF82C);
INCLUDE_ASM("code_838b0_len_5900", func_800EF82C);

View File

@ -1,19 +1,19 @@
#include "common.h"
INCLUDE_ASM(code_891b0_len_fb0, func_800EFD00);
INCLUDE_ASM("code_891b0_len_fb0", func_800EFD00);
INCLUDE_ASM(code_891b0_len_fb0, func_800EFD08);
INCLUDE_ASM("code_891b0_len_fb0", func_800EFD08);
INCLUDE_ASM(code_891b0_len_fb0, func_800EFE2C);
INCLUDE_ASM("code_891b0_len_fb0", func_800EFE2C);
INCLUDE_ASM(code_891b0_len_fb0, func_800F0248);
INCLUDE_ASM("code_891b0_len_fb0", func_800F0248);
INCLUDE_ASM(code_891b0_len_fb0, func_800F0490);
INCLUDE_ASM("code_891b0_len_fb0", func_800F0490);
INCLUDE_ASM(code_891b0_len_fb0, func_800F0864);
INCLUDE_ASM("code_891b0_len_fb0", func_800F0864);
INCLUDE_ASM(code_891b0_len_fb0, func_800F09EC);
INCLUDE_ASM("code_891b0_len_fb0", func_800F09EC);
INCLUDE_ASM(code_891b0_len_fb0, func_800F0B3C);
INCLUDE_ASM("code_891b0_len_fb0", func_800F0B3C);
INCLUDE_ASM(code_891b0_len_fb0, func_800F0C9C);
INCLUDE_ASM("code_891b0_len_fb0", func_800F0C9C);

View File

@ -18,7 +18,7 @@ typedef struct {
extern struct_func_800F0CB0 D_8010D000[];
INCLUDE_ASM(code_8a160_len_700, func_800F0CB0);
INCLUDE_ASM("code_8a160_len_700", func_800F0CB0);
// void func_800F0CB0(s32 arg0, f32 arg1, f32 arg2, f32 arg3)
//{
// sub_struct_func_800F0CB0 *temp_a1 = &D_8010D000[arg0].unk00[0];
@ -49,7 +49,7 @@ void func_800F0D5C(void) {
}
}
INCLUDE_ASM(code_8a160_len_700, func_800F0D80);
INCLUDE_ASM("code_8a160_len_700", func_800F0D80);
/*extern u16 D_800741F0;
extern Gfx *D_8009A66C;
@ -58,7 +58,7 @@ extern void *D_801096B0;
extern Gfx D_80109710[];
extern Gfx D_801097D8[];*/
INCLUDE_ASM(code_8a160_len_700, func_800F102C);
INCLUDE_ASM("code_8a160_len_700", func_800F102C);
/*void func_800F102C(void) {
s32 temp_s2;
s32 temp_s7;

View File

@ -1,20 +1,20 @@
#include "common.h"
INCLUDE_ASM(code_8a860_len_3f30, func_800F13B0);
INCLUDE_ASM("code_8a860_len_3f30", func_800F13B0);
INCLUDE_ASM(code_8a860_len_3f30, func_800F1538);
INCLUDE_ASM("code_8a860_len_3f30", func_800F1538);
INCLUDE_ASM(code_8a860_len_3f30, func_800F16CC);
INCLUDE_ASM("code_8a860_len_3f30", func_800F16CC);
INCLUDE_ASM(code_8a860_len_3f30, func_800F1A10);
INCLUDE_ASM("code_8a860_len_3f30", func_800F1A10);
INCLUDE_ASM(code_8a860_len_3f30, draw_submenu_title);
INCLUDE_ASM("code_8a860_len_3f30", draw_submenu_title);
INCLUDE_ASM(code_8a860_len_3f30, func_800F4E40);
INCLUDE_ASM("code_8a860_len_3f30", func_800F4E40);
INCLUDE_ASM(code_8a860_len_3f30, func_800F4FC4);
INCLUDE_ASM("code_8a860_len_3f30", func_800F4FC4);
INCLUDE_ASM(code_8a860_len_3f30, func_800F513C);
INCLUDE_ASM("code_8a860_len_3f30", func_800F513C);
void func_800F52BC(void) {
func_800F1A10();

View File

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

View File

@ -1,9 +1,9 @@
#include "common.h"
INCLUDE_ASM(code_9d10_len_1080, do_camera_type_4);
INCLUDE_ASM("code_9d10_len_1080", do_camera_type_4);
INCLUDE_ASM(code_9d10_len_1080, do_camera_type_2);
INCLUDE_ASM("code_9d10_len_1080", do_camera_type_2);
INCLUDE_ASM(code_9d10_len_1080, do_camera_type_1);
INCLUDE_ASM("code_9d10_len_1080", do_camera_type_1);
INCLUDE_ASM(code_9d10_len_1080, do_camera_type_0);
INCLUDE_ASM("code_9d10_len_1080", do_camera_type_0);

View File

@ -1,315 +1,315 @@
#include "common.h"
INCLUDE_ASM(code_a5dd0_len_114e0, update_entities);
INCLUDE_ASM("code_a5dd0_len_114e0", update_entities);
INCLUDE_ASM(code_a5dd0_len_114e0, update_shadows);
INCLUDE_ASM("code_a5dd0_len_114e0", update_shadows);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8010FBC0);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8010FBC0);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8010FBD8);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8010FBD8);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8010FD68);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8010FD68);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8010FD98);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8010FD98);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8010FEB4);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8010FEB4);
INCLUDE_ASM(code_a5dd0_len_114e0, func_801100CC);
INCLUDE_ASM("code_a5dd0_len_114e0", func_801100CC);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011022C);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011022C);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80110374);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80110374);
INCLUDE_ASM(code_a5dd0_len_114e0, func_801104A4);
INCLUDE_ASM("code_a5dd0_len_114e0", func_801104A4);
INCLUDE_ASM(code_a5dd0_len_114e0, get_entity_by_index);
INCLUDE_ASM("code_a5dd0_len_114e0", get_entity_by_index);
INCLUDE_ASM(code_a5dd0_len_114e0, get_shadow_by_index);
INCLUDE_ASM("code_a5dd0_len_114e0", get_shadow_by_index);
INCLUDE_ASM(code_a5dd0_len_114e0, get_entity_list);
INCLUDE_ASM("code_a5dd0_len_114e0", get_entity_list);
INCLUDE_ASM(code_a5dd0_len_114e0, get_shadow_list);
INCLUDE_ASM("code_a5dd0_len_114e0", get_shadow_list);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80110678);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80110678);
INCLUDE_ASM(code_a5dd0_len_114e0, func_801106A4);
INCLUDE_ASM("code_a5dd0_len_114e0", func_801106A4);
INCLUDE_ASM(code_a5dd0_len_114e0, func_801106D0);
INCLUDE_ASM("code_a5dd0_len_114e0", func_801106D0);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80110790);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80110790);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011085C);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011085C);
INCLUDE_ASM(code_a5dd0_len_114e0, func_801108B8);
INCLUDE_ASM("code_a5dd0_len_114e0", func_801108B8);
INCLUDE_ASM(code_a5dd0_len_114e0, test_player_entity_aabb);
INCLUDE_ASM("code_a5dd0_len_114e0", test_player_entity_aabb);
INCLUDE_ASM(code_a5dd0_len_114e0, is_player_action_state);
INCLUDE_ASM("code_a5dd0_len_114e0", is_player_action_state);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80110BCC);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80110BCC);
INCLUDE_ASM(code_a5dd0_len_114e0, load_entity_data);
INCLUDE_ASM("code_a5dd0_len_114e0", load_entity_data);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80110CB8);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80110CB8);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80110E58);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80110E58);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80110F10);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80110F10);
INCLUDE_ASM(code_a5dd0_len_114e0, func_801110B4);
INCLUDE_ASM("code_a5dd0_len_114e0", func_801110B4);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011115C);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011115C);
INCLUDE_ASM(code_a5dd0_len_114e0, func_801112A4);
INCLUDE_ASM("code_a5dd0_len_114e0", func_801112A4);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80111408);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80111408);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80111790);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80111790);
INCLUDE_ASM(code_a5dd0_len_114e0, func_801117DC);
INCLUDE_ASM("code_a5dd0_len_114e0", func_801117DC);
INCLUDE_ASM(code_a5dd0_len_114e0, create_entity);
INCLUDE_ASM("code_a5dd0_len_114e0", create_entity);
INCLUDE_ASM(code_a5dd0_len_114e0, create_shadow_from_data);
INCLUDE_ASM("code_a5dd0_len_114e0", create_shadow_from_data);
INCLUDE_API_ASM(code_a5dd0_len_114e0, MakeEntity);
INCLUDE_API_ASM("code_a5dd0_len_114e0", MakeEntity);
INCLUDE_API_ASM(code_a5dd0_len_114e0, AssignScript);
INCLUDE_API_ASM("code_a5dd0_len_114e0", AssignScript);
INCLUDE_API_ASM(code_a5dd0_len_114e0, AssignAreaFlag);
INCLUDE_API_ASM("code_a5dd0_len_114e0", AssignAreaFlag);
INCLUDE_API_ASM(code_a5dd0_len_114e0, AssignBlockFlag);
INCLUDE_API_ASM("code_a5dd0_len_114e0", AssignBlockFlag);
INCLUDE_API_ASM(code_a5dd0_len_114e0, AssignFlag);
INCLUDE_API_ASM("code_a5dd0_len_114e0", AssignFlag);
INCLUDE_API_ASM(code_a5dd0_len_114e0, AssignPanelFlag);
INCLUDE_API_ASM("code_a5dd0_len_114e0", AssignPanelFlag);
INCLUDE_API_ASM(code_a5dd0_len_114e0, AssignCrateFlag);
INCLUDE_API_ASM("code_a5dd0_len_114e0", AssignCrateFlag);
INCLUDE_ASM(code_a5dd0_len_114e0, create_entity_shadow);
INCLUDE_ASM("code_a5dd0_len_114e0", create_entity_shadow);
INCLUDE_ASM(code_a5dd0_len_114e0, create_shadow_type);
INCLUDE_ASM("code_a5dd0_len_114e0", create_shadow_type);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80112328);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80112328);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80112344);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80112344);
INCLUDE_ASM(code_a5dd0_len_114e0, func_801125E8);
INCLUDE_ASM("code_a5dd0_len_114e0", func_801125E8);
INCLUDE_ASM(code_a5dd0_len_114e0, set_standard_shadow_scale);
INCLUDE_ASM("code_a5dd0_len_114e0", set_standard_shadow_scale);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80112900);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80112900);
INCLUDE_ASM(code_a5dd0_len_114e0, set_shadow_scale_peach);
INCLUDE_ASM("code_a5dd0_len_114e0", set_shadow_scale_peach);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80112B20);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80112B20);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80112B98);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80112B98);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80112CA8);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80112CA8);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80112D84);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80112D84);
INCLUDE_ASM(code_a5dd0_len_114e0, step_current_game_mode);
INCLUDE_ASM("code_a5dd0_len_114e0", step_current_game_mode);
INCLUDE_ASM(code_a5dd0_len_114e0, render_ui);
INCLUDE_ASM("code_a5dd0_len_114e0", render_ui);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80112FC4);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80112FC4);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80113090);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80113090);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80114B58);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80114B58);
INCLUDE_ASM(code_a5dd0_len_114e0, load_tile_header);
INCLUDE_ASM("code_a5dd0_len_114e0", load_tile_header);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80115498);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80115498);
INCLUDE_ASM(code_a5dd0_len_114e0, get_model_property);
INCLUDE_ASM("code_a5dd0_len_114e0", get_model_property);
INCLUDE_ASM(code_a5dd0_len_114e0, _load_model_textures);
INCLUDE_ASM("code_a5dd0_len_114e0", _load_model_textures);
INCLUDE_ASM(code_a5dd0_len_114e0, load_model_textures);
INCLUDE_ASM("code_a5dd0_len_114e0", load_model_textures);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80115CA8);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80115CA8);
INCLUDE_ASM(code_a5dd0_len_114e0, clear_model_data);
INCLUDE_ASM("code_a5dd0_len_114e0", clear_model_data);
INCLUDE_ASM(code_a5dd0_len_114e0, init_model_data);
INCLUDE_ASM("code_a5dd0_len_114e0", init_model_data);
INCLUDE_ASM(code_a5dd0_len_114e0, calculate_model_sizes);
INCLUDE_ASM("code_a5dd0_len_114e0", calculate_model_sizes);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011620C);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011620C);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80116674);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80116674);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80116698);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80116698);
INCLUDE_ASM(code_a5dd0_len_114e0, render_models);
INCLUDE_ASM("code_a5dd0_len_114e0", render_models);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80117C94);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80117C94);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80117D00);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80117D00);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80117E74);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80117E74);
INCLUDE_ASM(code_a5dd0_len_114e0, func_801180E8);
INCLUDE_ASM("code_a5dd0_len_114e0", func_801180E8);
INCLUDE_ASM(code_a5dd0_len_114e0, get_model_from_list_index);
INCLUDE_ASM("code_a5dd0_len_114e0", get_model_from_list_index);
INCLUDE_ASM(code_a5dd0_len_114e0, load_data_for_models);
INCLUDE_ASM("code_a5dd0_len_114e0", load_data_for_models);
INCLUDE_ASM(code_a5dd0_len_114e0, load_model_transforms);
INCLUDE_ASM("code_a5dd0_len_114e0", load_model_transforms);
INCLUDE_ASM(code_a5dd0_len_114e0, get_model_list_index_from_tree_index);
INCLUDE_ASM("code_a5dd0_len_114e0", get_model_list_index_from_tree_index);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011B090);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011B090);
INCLUDE_ASM(code_a5dd0_len_114e0, get_model_center_and_size);
INCLUDE_ASM("code_a5dd0_len_114e0", get_model_center_and_size);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011B1C0);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011B1C0);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011B1D8);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011B1D8);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011B37C);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011B37C);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011B5D0);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011B5D0);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011B660);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011B660);
void INCLUDE_ASM(code_a5dd0_len_114e0, clone_model, u16 srcModelID, u16 newModelID);
void INCLUDE_ASM("code_a5dd0_len_114e0", clone_model, u16 srcModelID, u16 newModelID);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011B7C0);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011B7C0);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011B950);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011B950);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011BAE8);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011BAE8);
INCLUDE_ASM(code_a5dd0_len_114e0, set_fog_color);
INCLUDE_ASM("code_a5dd0_len_114e0", set_fog_color);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011BBA4);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011BBA4);
INCLUDE_ASM(code_a5dd0_len_114e0, get_fog_color);
INCLUDE_ASM("code_a5dd0_len_114e0", get_fog_color);
INCLUDE_ASM(code_a5dd0_len_114e0, set_tex_panner);
INCLUDE_ASM("code_a5dd0_len_114e0", set_tex_panner);
INCLUDE_ASM(code_a5dd0_len_114e0, set_main_pan_u);
INCLUDE_ASM("code_a5dd0_len_114e0", set_main_pan_u);
INCLUDE_ASM(code_a5dd0_len_114e0, set_main_pan_v);
INCLUDE_ASM("code_a5dd0_len_114e0", set_main_pan_v);
INCLUDE_ASM(code_a5dd0_len_114e0, set_aux_pan_u);
INCLUDE_ASM("code_a5dd0_len_114e0", set_aux_pan_u);
INCLUDE_ASM(code_a5dd0_len_114e0, set_aux_pan_v);
INCLUDE_ASM("code_a5dd0_len_114e0", set_aux_pan_v);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011BC7C);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011BC7C);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011BCB4);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011BCB4);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011BCD0);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011BCD0);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011BCEC);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011BCEC);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011BE14);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011BE14);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011BE5C);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011BE5C);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011BE80);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011BE80);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011BFD4);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011BFD4);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011C028);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011C028);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011C0DC);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011C0DC);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011C130);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011C130);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011C164);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011C164);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011C32C);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011C32C);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011D72C);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011D72C);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011D7E4);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011D7E4);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011D82C);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011D82C);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011D890);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011D890);
INCLUDE_ASM(code_a5dd0_len_114e0, queue_render_task);
INCLUDE_ASM("code_a5dd0_len_114e0", queue_render_task);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011D9B8);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011D9B8);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011DE80);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011DE80);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011DFD0);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011DFD0);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E014);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E014);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E058);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E058);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E09C);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E09C);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E0DC);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E0DC);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E150);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E150);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E1C4);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E1C4);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E224);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E224);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E310);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E310);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E398);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E398);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E400);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E400);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E438);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E438);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E4B8);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E4B8);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E5E0);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E5E0);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E718);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E718);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011E8BC);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011E8BC);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011EA54);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011EA54);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011EBF0);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011EBF0);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011F058);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011F058);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011F118);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011F118);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011F304);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011F304);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011F3E8);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011F3E8);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011FA54);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011FA54);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011FF74);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011FF74);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011FF98);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011FF98);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011FFB4);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011FFB4);
INCLUDE_ASM(code_a5dd0_len_114e0, func_8011FFE0);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011FFE0);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80120000);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80120000);
INCLUDE_ASM(code_a5dd0_len_114e0, play_model_animation);
INCLUDE_ASM("code_a5dd0_len_114e0", play_model_animation);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80120198);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80120198);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80120234);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80120234);
INCLUDE_ASM(code_a5dd0_len_114e0, func_801203AC);
INCLUDE_ASM("code_a5dd0_len_114e0", func_801203AC);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80120420);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80120420);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80120474);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80120474);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80120530);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80120530);
INCLUDE_ASM(code_a5dd0_len_114e0, func_80120678);
INCLUDE_ASM("code_a5dd0_len_114e0", func_80120678);
INCLUDE_ASM(code_a5dd0_len_114e0, func_801206F8);
INCLUDE_ASM("code_a5dd0_len_114e0", func_801206F8);

View File

@ -1,19 +1,19 @@
#include "common.h"
INCLUDE_ASM(code_ad90_len_2880, do_camera_type_6);
INCLUDE_ASM("code_ad90_len_2880", do_camera_type_6);
INCLUDE_ASM(code_ad90_len_2880, do_camera_type_unused);
INCLUDE_ASM("code_ad90_len_2880", do_camera_type_unused);
INCLUDE_ASM(code_ad90_len_2880, do_camera_type_5);
INCLUDE_ASM("code_ad90_len_2880", do_camera_type_5);
INCLUDE_ASM(code_ad90_len_2880, func_80030210);
INCLUDE_ASM("code_ad90_len_2880", func_80030210);
INCLUDE_ASM(code_ad90_len_2880, func_8003034C);
INCLUDE_ASM("code_ad90_len_2880", func_8003034C);
INCLUDE_ASM(code_ad90_len_2880, func_80030450);
INCLUDE_ASM("code_ad90_len_2880", func_80030450);
INCLUDE_ASM(code_ad90_len_2880, test_ray_zone_aabb);
INCLUDE_ASM("code_ad90_len_2880", test_ray_zone_aabb);
INCLUDE_ASM(code_ad90_len_2880, func_800304FC);
INCLUDE_ASM("code_ad90_len_2880", func_800304FC);
INCLUDE_ASM(code_ad90_len_2880, do_camera_type_3);
INCLUDE_ASM("code_ad90_len_2880", do_camera_type_3);

View File

@ -1,219 +1,219 @@
#include "common.h"
INCLUDE_ASM(code_b72b0_len_15ed0, func_80120BB0);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80120BB0);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80120C58);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80120C58);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80120CE0);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80120CE0);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80120DE4);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80120DE4);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80120F04);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80120F04);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80120FB8);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80120FB8);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80121140);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80121140);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80121CE8);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80121CE8);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80121EB8);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80121EB8);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80122288);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80122288);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80122D7C);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80122D7C);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80122DDC);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80122DDC);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80122DFC);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80122DFC);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80122E94);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80122E94);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80122EE8);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80122EE8);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80122F24);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80122F24);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80122F64);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80122F64);
INCLUDE_ASM(code_b72b0_len_15ed0, stub_item_entity_nodraw);
INCLUDE_ASM("code_b72b0_len_15ed0", stub_item_entity_nodraw);
INCLUDE_ASM(code_b72b0_len_15ed0, func_801230B8);
INCLUDE_ASM("code_b72b0_len_15ed0", func_801230B8);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80123114);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80123114);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80123158);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80123158);
INCLUDE_ASM(code_b72b0_len_15ed0, func_8012323C);
INCLUDE_ASM("code_b72b0_len_15ed0", func_8012323C);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80123320);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80123320);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80123404);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80123404);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80123470);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80123470);
INCLUDE_ASM(code_b72b0_len_15ed0, func_801234E0);
INCLUDE_ASM("code_b72b0_len_15ed0", func_801234E0);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80123550);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80123550);
INCLUDE_ASM(code_b72b0_len_15ed0, func_801235C0);
INCLUDE_ASM("code_b72b0_len_15ed0", func_801235C0);
INCLUDE_ASM(code_b72b0_len_15ed0, func_8012363C);
INCLUDE_ASM("code_b72b0_len_15ed0", func_8012363C);
INCLUDE_ASM(code_b72b0_len_15ed0, clear_character_set);
INCLUDE_ASM("code_b72b0_len_15ed0", clear_character_set);
INCLUDE_ASM(code_b72b0_len_15ed0, clear_printers);
INCLUDE_ASM("code_b72b0_len_15ed0", clear_printers);
INCLUDE_ASM(code_b72b0_len_15ed0, load_font_data);
INCLUDE_ASM("code_b72b0_len_15ed0", load_font_data);
INCLUDE_ASM(code_b72b0_len_15ed0, load_font);
INCLUDE_ASM("code_b72b0_len_15ed0", load_font);
INCLUDE_ASM(code_b72b0_len_15ed0, update_messages);
INCLUDE_ASM("code_b72b0_len_15ed0", update_messages);
INCLUDE_ASM(code_b72b0_len_15ed0, _update_message);
INCLUDE_ASM("code_b72b0_len_15ed0", _update_message);
INCLUDE_ASM(code_b72b0_len_15ed0, render_messages);
INCLUDE_ASM("code_b72b0_len_15ed0", render_messages);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80124434);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80124434);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80124570);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80124570);
INCLUDE_ASM(code_b72b0_len_15ed0, initialize_printer);
INCLUDE_ASM("code_b72b0_len_15ed0", initialize_printer);
INCLUDE_ASM(code_b72b0_len_15ed0, dma_load_string);
INCLUDE_ASM("code_b72b0_len_15ed0", dma_load_string);
INCLUDE_ASM(code_b72b0_len_15ed0, load_message_to_buffer);
INCLUDE_ASM("code_b72b0_len_15ed0", load_message_to_buffer);
INCLUDE_ASM(code_b72b0_len_15ed0, load_string);
INCLUDE_ASM("code_b72b0_len_15ed0", load_string);
INCLUDE_ASM(code_b72b0_len_15ed0, _load_string);
INCLUDE_ASM("code_b72b0_len_15ed0", _load_string);
INCLUDE_ASM(code_b72b0_len_15ed0, load_message_to_printer);
INCLUDE_ASM("code_b72b0_len_15ed0", load_message_to_printer);
INCLUDE_ASM(code_b72b0_len_15ed0, clamp_printer_coords);
INCLUDE_ASM("code_b72b0_len_15ed0", clamp_printer_coords);
INCLUDE_ASM(code_b72b0_len_15ed0, cancel_message);
INCLUDE_ASM("code_b72b0_len_15ed0", cancel_message);
INCLUDE_ASM(code_b72b0_len_15ed0, set_message_images);
INCLUDE_ASM("code_b72b0_len_15ed0", set_message_images);
INCLUDE_ASM(code_b72b0_len_15ed0, set_message_string);
INCLUDE_ASM("code_b72b0_len_15ed0", set_message_string);
INCLUDE_ASM(code_b72b0_len_15ed0, set_message_value);
INCLUDE_ASM("code_b72b0_len_15ed0", set_message_value);
INCLUDE_ASM(code_b72b0_len_15ed0, close_message);
INCLUDE_ASM("code_b72b0_len_15ed0", close_message);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80125C84);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80125C84);
INCLUDE_ASM(code_b72b0_len_15ed0, get_char_width);
INCLUDE_ASM("code_b72b0_len_15ed0", get_char_width);
INCLUDE_ASM(code_b72b0_len_15ed0, get_string_properties);
INCLUDE_ASM("code_b72b0_len_15ed0", get_string_properties);
INCLUDE_ASM(code_b72b0_len_15ed0, get_string_width);
INCLUDE_ASM("code_b72b0_len_15ed0", get_string_width);
INCLUDE_ASM(code_b72b0_len_15ed0, func_801264B0);
INCLUDE_ASM("code_b72b0_len_15ed0", func_801264B0);
INCLUDE_ASM(code_b72b0_len_15ed0, draw_string);
INCLUDE_ASM("code_b72b0_len_15ed0", draw_string);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80126790);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80126790);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80126EAC);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80126EAC);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80126F78);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80126F78);
INCLUDE_ASM(code_b72b0_len_15ed0, func_801274C0);
INCLUDE_ASM("code_b72b0_len_15ed0", func_801274C0);
INCLUDE_ASM(code_b72b0_len_15ed0, draw_number);
INCLUDE_ASM("code_b72b0_len_15ed0", draw_number);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80127BA4);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80127BA4);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80127D90);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80127D90);
INCLUDE_ASM(code_b72b0_len_15ed0, func_8012C2E0);
INCLUDE_ASM("code_b72b0_len_15ed0", func_8012C2E0);
INCLUDE_ASM(code_b72b0_len_15ed0, func_8012C324);
INCLUDE_ASM("code_b72b0_len_15ed0", func_8012C324);
INCLUDE_ASM(code_b72b0_len_15ed0, func_8012C9A8);
INCLUDE_ASM("code_b72b0_len_15ed0", func_8012C9A8);
INCLUDE_ASM(code_b72b0_len_15ed0, func_8012CA08);
INCLUDE_ASM("code_b72b0_len_15ed0", func_8012CA08);
INCLUDE_ASM(code_b72b0_len_15ed0, _draw_message_box);
INCLUDE_ASM("code_b72b0_len_15ed0", _draw_message_box);
INCLUDE_ASM(code_b72b0_len_15ed0, func_8012D3DC);
INCLUDE_ASM("code_b72b0_len_15ed0", func_8012D3DC);
INCLUDE_ASM(code_b72b0_len_15ed0, func_8012DB58);
INCLUDE_ASM("code_b72b0_len_15ed0", func_8012DB58);
INCLUDE_ASM(code_b72b0_len_15ed0, func_8012E9A0);
INCLUDE_ASM("code_b72b0_len_15ed0", func_8012E9A0);
INCLUDE_ASM(code_b72b0_len_15ed0, func_8012EC94);
INCLUDE_ASM("code_b72b0_len_15ed0", func_8012EC94);
INCLUDE_ASM(code_b72b0_len_15ed0, func_8012FE10);
INCLUDE_ASM("code_b72b0_len_15ed0", func_8012FE10);
INCLUDE_ASM(code_b72b0_len_15ed0, func_801309F0);
INCLUDE_ASM("code_b72b0_len_15ed0", func_801309F0);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80130A04);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80130A04);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80130ACC);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80130ACC);
INCLUDE_ASM(code_b72b0_len_15ed0, draw_coin_sparkles);
INCLUDE_ASM("code_b72b0_len_15ed0", draw_coin_sparkles);
INCLUDE_ASM(code_b72b0_len_15ed0, get_item_entity);
INCLUDE_ASM("code_b72b0_len_15ed0", get_item_entity);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80130F70);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80130F70);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80130FAC);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80130FAC);
INCLUDE_ASM(code_b72b0_len_15ed0, clear_item_entity_data);
INCLUDE_ASM("code_b72b0_len_15ed0", clear_item_entity_data);
INCLUDE_ASM(code_b72b0_len_15ed0, init_item_entity_list);
INCLUDE_ASM("code_b72b0_len_15ed0", init_item_entity_list);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80131128);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80131128);
INCLUDE_ASM(code_b72b0_len_15ed0, make_item_entity);
INCLUDE_ASM("code_b72b0_len_15ed0", make_item_entity);
INCLUDE_ASM(code_b72b0_len_15ed0, make_item_entity_nodelay);
INCLUDE_ASM("code_b72b0_len_15ed0", make_item_entity_nodelay);
INCLUDE_ASM(code_b72b0_len_15ed0, make_item_entity_delayed);
INCLUDE_ASM("code_b72b0_len_15ed0", make_item_entity_delayed);
INCLUDE_ASM(code_b72b0_len_15ed0, init_got_item);
INCLUDE_ASM("code_b72b0_len_15ed0", init_got_item);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80131DD4);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80131DD4);
INCLUDE_ASM(code_b72b0_len_15ed0, update_item_entities);
INCLUDE_ASM("code_b72b0_len_15ed0", update_item_entities);
INCLUDE_ASM(code_b72b0_len_15ed0, draw_item_entity);
INCLUDE_ASM("code_b72b0_len_15ed0", draw_item_entity);
INCLUDE_ASM(code_b72b0_len_15ed0, draw_item_entities);
INCLUDE_ASM("code_b72b0_len_15ed0", draw_item_entities);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80132E54);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80132E54);
INCLUDE_ASM(code_b72b0_len_15ed0, remove_item_entity_by_reference);
INCLUDE_ASM("code_b72b0_len_15ed0", remove_item_entity_by_reference);
INCLUDE_ASM(code_b72b0_len_15ed0, remove_item_entity_by_index);
INCLUDE_ASM("code_b72b0_len_15ed0", remove_item_entity_by_index);
INCLUDE_ASM(code_b72b0_len_15ed0, test_item_player_collision);
INCLUDE_ASM("code_b72b0_len_15ed0", test_item_player_collision);
INCLUDE_ASM(code_b72b0_len_15ed0, set_item_entity_flags);
INCLUDE_ASM("code_b72b0_len_15ed0", set_item_entity_flags);
INCLUDE_ASM(code_b72b0_len_15ed0, clear_item_entity_flags);
INCLUDE_ASM("code_b72b0_len_15ed0", clear_item_entity_flags);
INCLUDE_ASM(code_b72b0_len_15ed0, func_801341E8);
INCLUDE_ASM("code_b72b0_len_15ed0", func_801341E8);
INCLUDE_ASM(code_b72b0_len_15ed0, set_item_entity_position);
INCLUDE_ASM("code_b72b0_len_15ed0", set_item_entity_position);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80134230);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80134230);
INCLUDE_ASM(code_b72b0_len_15ed0, func_80134240);
INCLUDE_ASM("code_b72b0_len_15ed0", func_80134240);
INCLUDE_ASM(code_b72b0_len_15ed0, update_item_entity_collectable);
INCLUDE_ASM("code_b72b0_len_15ed0", update_item_entity_collectable);
INCLUDE_ASM(code_b72b0_len_15ed0, func_8013559C);
INCLUDE_ASM("code_b72b0_len_15ed0", func_8013559C);
INCLUDE_ASM(code_b72b0_len_15ed0, update_item_entity_static);
INCLUDE_ASM("code_b72b0_len_15ed0", update_item_entity_static);
INCLUDE_ASM(code_b72b0_len_15ed0, func_801356C4);
INCLUDE_ASM("code_b72b0_len_15ed0", func_801356C4);
INCLUDE_ASM(code_b72b0_len_15ed0, func_801356CC);
INCLUDE_ASM("code_b72b0_len_15ed0", func_801356CC);
INCLUDE_ASM(code_b72b0_len_15ed0, func_801356D4);
INCLUDE_ASM("code_b72b0_len_15ed0", func_801356D4);
INCLUDE_ASM(code_b72b0_len_15ed0, update_item_entity_temp);
INCLUDE_ASM("code_b72b0_len_15ed0", update_item_entity_temp);
INCLUDE_ASM(code_b72b0_len_15ed0, func_801363A0);
INCLUDE_ASM("code_b72b0_len_15ed0", func_801363A0);

View File

@ -1,39 +1,39 @@
#include "common.h"
INCLUDE_ASM(code_cd180_len_38f0, func_80136A80);
INCLUDE_ASM("code_cd180_len_38f0", func_80136A80);
void INCLUDE_ASM(code_cd180_len_38f0, func_80137D88, s32 arg0, f32 arg1);
void INCLUDE_ASM("code_cd180_len_38f0", func_80137D88, s32 arg0, f32 arg1);
void INCLUDE_ASM(code_cd180_len_38f0, func_80137DA4, s32 arg0, f32 arg1);
void INCLUDE_ASM("code_cd180_len_38f0", func_80137DA4, s32 arg0, f32 arg1);
INCLUDE_ASM(code_cd180_len_38f0, func_80137DC0);
INCLUDE_ASM("code_cd180_len_38f0", func_80137DC0);
void INCLUDE_ASM(code_cd180_len_38f0, func_80137E10, s32 arg0, u8 arg1, u8 arg2, u8 arg3);
void INCLUDE_ASM("code_cd180_len_38f0", func_80137E10, s32 arg0, u8 arg1, u8 arg2, u8 arg3);
void INCLUDE_ASM(code_cd180_len_38f0, func_80137E4C, s32 arg0, s32 arg1, s32 arg2, s32 arg3);
void INCLUDE_ASM("code_cd180_len_38f0", func_80137E4C, s32 arg0, s32 arg1, s32 arg2, s32 arg3);
INCLUDE_ASM(code_cd180_len_38f0, func_801380D4);
INCLUDE_ASM("code_cd180_len_38f0", func_801380D4);
INCLUDE_ASM(code_cd180_len_38f0, func_80138108);
INCLUDE_ASM("code_cd180_len_38f0", func_80138108);
INCLUDE_ASM(code_cd180_len_38f0, func_80138188);
INCLUDE_ASM("code_cd180_len_38f0", func_80138188);
INCLUDE_ASM(code_cd180_len_38f0, func_80138198);
INCLUDE_ASM("code_cd180_len_38f0", func_80138198);
INCLUDE_ASM(code_cd180_len_38f0, func_801381A0);
INCLUDE_ASM("code_cd180_len_38f0", func_801381A0);
INCLUDE_ASM(code_cd180_len_38f0, func_80138220);
INCLUDE_ASM("code_cd180_len_38f0", func_80138220);
INCLUDE_ASM(code_cd180_len_38f0, set_map_transition_effect);
INCLUDE_ASM("code_cd180_len_38f0", set_map_transition_effect);
INCLUDE_ASM(code_cd180_len_38f0, func_801382AC);
INCLUDE_ASM("code_cd180_len_38f0", func_801382AC);
INCLUDE_ASM(code_cd180_len_38f0, func_801385D4);
INCLUDE_ASM("code_cd180_len_38f0", func_801385D4);
INCLUDE_ASM(code_cd180_len_38f0, func_80138740);
INCLUDE_ASM("code_cd180_len_38f0", func_80138740);
INCLUDE_ASM(code_cd180_len_38f0, func_80138D88);
INCLUDE_ASM("code_cd180_len_38f0", func_80138D88);
INCLUDE_ASM(code_cd180_len_38f0, func_80138E54);
INCLUDE_ASM("code_cd180_len_38f0", func_80138E54);
INCLUDE_ASM(code_cd180_len_38f0, func_80139F10);
INCLUDE_ASM("code_cd180_len_38f0", func_80139F10);

View File

@ -1,53 +1,53 @@
#include "common.h"
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013A370);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013A370);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013A37C);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013A37C);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013A4D0);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013A4D0);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013A610);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013A610);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013A650);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013A650);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013A6E8);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013A6E8);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013A704);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013A704);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013A854);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013A854);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013A93C);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013A93C);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013A9C8);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013A9C8);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013A9E8);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013A9E8);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013AA9C);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013AA9C);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013AF70);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013AF70);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013B0EC);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013B0EC);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013B1B0);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013B1B0);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013BC88);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013BC88);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013C048);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013C048);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013C220);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013C220);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013C3F0);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013C3F0);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013CFA8);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013CFA8);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013DAB4);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013DAB4);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013E2F0);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013E2F0);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013E904);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013E904);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013EE48);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013EE48);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013EE68);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013EE68);
INCLUDE_ASM(code_d0a70_len_4fe0, func_8013F1F8);
INCLUDE_ASM("code_d0a70_len_4fe0", func_8013F1F8);

View File

@ -1,83 +1,83 @@
#include "common.h"
INCLUDE_ASM(code_d5a50_len_5fd0, func_8013F350);
INCLUDE_ASM("code_d5a50_len_5fd0", func_8013F350);
INCLUDE_ASM(code_d5a50_len_5fd0, func_8013F704);
INCLUDE_ASM("code_d5a50_len_5fd0", func_8013F704);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80141100);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80141100);
INCLUDE_ASM(code_d5a50_len_5fd0, init_menu_icon_list);
INCLUDE_ASM("code_d5a50_len_5fd0", init_menu_icon_list);
INCLUDE_ASM(code_d5a50_len_5fd0, func_801413F8);
INCLUDE_ASM("code_d5a50_len_5fd0", func_801413F8);
INCLUDE_ASM(code_d5a50_len_5fd0, create_icon);
INCLUDE_ASM("code_d5a50_len_5fd0", create_icon);
INCLUDE_ASM(code_d5a50_len_5fd0, update_menu_icons);
INCLUDE_ASM("code_d5a50_len_5fd0", update_menu_icons);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80141704);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80141704);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80142210);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80142210);
INCLUDE_ASM(code_d5a50_len_5fd0, func_8014271C);
INCLUDE_ASM("code_d5a50_len_5fd0", func_8014271C);
INCLUDE_ASM(code_d5a50_len_5fd0, render_menu_icon);
INCLUDE_ASM("code_d5a50_len_5fd0", render_menu_icon);
INCLUDE_ASM(code_d5a50_len_5fd0, render_menu_icons);
INCLUDE_ASM("code_d5a50_len_5fd0", render_menu_icons);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80143C48);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80143C48);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80144218);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80144218);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80144238);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80144238);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80144258);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80144258);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80144278);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80144278);
INCLUDE_ASM(code_d5a50_len_5fd0, draw_menu_icon);
INCLUDE_ASM("code_d5a50_len_5fd0", draw_menu_icon);
INCLUDE_ASM(code_d5a50_len_5fd0, draw_icon_0);
INCLUDE_ASM("code_d5a50_len_5fd0", draw_icon_0);
INCLUDE_ASM(code_d5a50_len_5fd0, draw_icon_1);
INCLUDE_ASM("code_d5a50_len_5fd0", draw_icon_1);
INCLUDE_ASM(code_d5a50_len_5fd0, func_801447E0);
INCLUDE_ASM("code_d5a50_len_5fd0", func_801447E0);
INCLUDE_ASM(code_d5a50_len_5fd0, set_menu_icon_script);
INCLUDE_ASM("code_d5a50_len_5fd0", set_menu_icon_script);
INCLUDE_ASM(code_d5a50_len_5fd0, get_menu_icon_script);
INCLUDE_ASM("code_d5a50_len_5fd0", get_menu_icon_script);
INCLUDE_ASM(code_d5a50_len_5fd0, get_menu_icon);
INCLUDE_ASM("code_d5a50_len_5fd0", get_menu_icon);
INCLUDE_ASM(code_d5a50_len_5fd0, free_icon);
INCLUDE_ASM("code_d5a50_len_5fd0", free_icon);
INCLUDE_ASM(code_d5a50_len_5fd0, set_icon_render_pos);
INCLUDE_ASM("code_d5a50_len_5fd0", set_icon_render_pos);
INCLUDE_ASM(code_d5a50_len_5fd0, get_icon_render_pos);
INCLUDE_ASM("code_d5a50_len_5fd0", get_icon_render_pos);
INCLUDE_ASM(code_d5a50_len_5fd0, func_801449DC);
INCLUDE_ASM("code_d5a50_len_5fd0", func_801449DC);
INCLUDE_ASM(code_d5a50_len_5fd0, set_icon_flags);
INCLUDE_ASM("code_d5a50_len_5fd0", set_icon_flags);
INCLUDE_ASM(code_d5a50_len_5fd0, clear_icon_flags);
INCLUDE_ASM("code_d5a50_len_5fd0", clear_icon_flags);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80144C20);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80144C20);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80144EB0);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80144EB0);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80144EFC);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80144EFC);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80144FD8);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80144FD8);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80145108);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80145108);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80145184);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80145184);
INCLUDE_ASM(code_d5a50_len_5fd0, func_801451D4);
INCLUDE_ASM("code_d5a50_len_5fd0", func_801451D4);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80145224);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80145224);
INCLUDE_ASM(code_d5a50_len_5fd0, func_80145274);
INCLUDE_ASM("code_d5a50_len_5fd0", func_80145274);
INCLUDE_ASM(code_d5a50_len_5fd0, func_801452B4);
INCLUDE_ASM("code_d5a50_len_5fd0", func_801452B4);
INCLUDE_ASM(code_d5a50_len_5fd0, func_801452E8);
INCLUDE_ASM("code_d5a50_len_5fd0", func_801452E8);

View File

@ -1,19 +1,19 @@
#include "common.h"
INCLUDE_ASM(code_d610_len_1330, func_80032210);
INCLUDE_ASM("code_d610_len_1330", func_80032210);
INCLUDE_ASM(code_d610_len_1330, func_800322DC);
INCLUDE_ASM("code_d610_len_1330", func_800322DC);
INCLUDE_ASM(code_d610_len_1330, func_800325E4);
INCLUDE_ASM("code_d610_len_1330", func_800325E4);
INCLUDE_ASM(code_d610_len_1330, func_800328A4);
INCLUDE_ASM("code_d610_len_1330", func_800328A4);
INCLUDE_ASM(code_d610_len_1330, func_80032970);
INCLUDE_ASM("code_d610_len_1330", func_80032970);
INCLUDE_ASM(code_d610_len_1330, func_80032C64);
INCLUDE_ASM("code_d610_len_1330", func_80032C64);
INCLUDE_ASM(code_d610_len_1330, func_80033394);
INCLUDE_ASM("code_d610_len_1330", func_80033394);
INCLUDE_ASM(code_d610_len_1330, set_game_mode);
INCLUDE_ASM("code_d610_len_1330", set_game_mode);
INCLUDE_ASM(code_d610_len_1330, get_game_mode);
INCLUDE_ASM("code_d610_len_1330", get_game_mode);

View File

@ -1,25 +1,25 @@
#include "common.h"
INCLUDE_ASM(code_dba20_len_350, clear_saved_variables);
INCLUDE_ASM("code_dba20_len_350", clear_saved_variables);
INCLUDE_ASM(code_dba20_len_350, clear_area_flags);
INCLUDE_ASM("code_dba20_len_350", clear_area_flags);
INCLUDE_ASM(code_dba20_len_350, clear_global_flag);
INCLUDE_ASM("code_dba20_len_350", clear_global_flag);
INCLUDE_ASM(code_dba20_len_350, set_global_flag);
INCLUDE_ASM("code_dba20_len_350", set_global_flag);
INCLUDE_ASM(code_dba20_len_350, get_global_flag);
INCLUDE_ASM("code_dba20_len_350", get_global_flag);
INCLUDE_ASM(code_dba20_len_350, set_global_byte);
INCLUDE_ASM("code_dba20_len_350", set_global_byte);
INCLUDE_ASM(code_dba20_len_350, get_global_byte);
INCLUDE_ASM("code_dba20_len_350", get_global_byte);
INCLUDE_ASM(code_dba20_len_350, clear_area_flag);
INCLUDE_ASM("code_dba20_len_350", clear_area_flag);
INCLUDE_ASM(code_dba20_len_350, set_area_flag);
INCLUDE_ASM("code_dba20_len_350", set_area_flag);
INCLUDE_ASM(code_dba20_len_350, get_area_flag);
INCLUDE_ASM("code_dba20_len_350", get_area_flag);
INCLUDE_ASM(code_dba20_len_350, set_area_byte);
INCLUDE_ASM("code_dba20_len_350", set_area_byte);
INCLUDE_ASM(code_dba20_len_350, get_area_byte);
INCLUDE_ASM("code_dba20_len_350", get_area_byte);

View File

@ -5,9 +5,8 @@ void default_trigger_function_handler(s32* arg0) {
arg0[0] |= 2;
}
INCLUDE_ASM(code_dbd70_len_700, clear_trigger_data);
INCLUDE_ASM("code_dbd70_len_700", clear_trigger_data);
//INCLUDE_ASM(code_dbd70_len_700, init_trigger_list);
void init_trigger_list(void) {
if ((*gGameStatusPtr)->isBattle == 0) {
*gCurrentTriggerListPtr = gTriggerList1;
@ -18,9 +17,9 @@ void init_trigger_list(void) {
gTriggerCount = 0;
}
INCLUDE_ASM(code_dbd70_len_700, create_trigger);
INCLUDE_ASM("code_dbd70_len_700", create_trigger);
INCLUDE_ASM(code_dbd70_len_700, update_triggers);
INCLUDE_ASM("code_dbd70_len_700", update_triggers);
void delete_trigger(Trigger* toDelete) {
@ -38,14 +37,13 @@ void delete_trigger(Trigger* toDelete) {
}
}
INCLUDE_ASM(code_dbd70_len_700, is_trigger_bound);
INCLUDE_ASM("code_dbd70_len_700", is_trigger_bound);
//INCLUDE_ASM(code_dbd70_len_700, get_trigger_by_id);
Trigger* get_trigger_by_id(s32 triggerID) {
return (*gCurrentTriggerListPtr)[triggerID];
}
INCLUDE_ASM(code_dbd70_len_700, func_80145CE8);
INCLUDE_ASM("code_dbd70_len_700", func_80145CE8);
/*s32 func_80145CE8(s32 arg0) {
s32 i;
s32 ret;

View File

@ -31,7 +31,7 @@ void func_80145DF8(void) {
gameStatus->enableBackground &= 0xF0;
}
void read_background_size(BackgroundHeader *bg) {
void read_background_size(BackgroundHeader* bg) {
GameStatus* gameStatus = *gGameStatusPtr;
gameStatus->backgroundMaxW = bg->width;
@ -64,4 +64,4 @@ u16 func_80145E98(s32 arg0, s32 arg1, s32 arg2) {
return temp_lo;
}
INCLUDE_ASM(code_dc470_len_14c0, func_80145EC0);
INCLUDE_ASM("code_dc470_len_14c0", func_80145EC0);

View File

@ -1,21 +1,21 @@
#include "common.h"
INCLUDE_ASM(code_ddaf0_len_c50, func_801473F0);
INCLUDE_ASM("code_ddaf0_len_c50", func_801473F0);
INCLUDE_ASM(code_ddaf0_len_c50, func_80147414);
INCLUDE_ASM("code_ddaf0_len_c50", func_80147414);
INCLUDE_ASM(code_ddaf0_len_c50, func_80147698);
INCLUDE_ASM("code_ddaf0_len_c50", func_80147698);
INCLUDE_ASM(code_ddaf0_len_c50, func_80147AC4);
INCLUDE_ASM("code_ddaf0_len_c50", func_80147AC4);
INCLUDE_ASM(code_ddaf0_len_c50, func_80147CC8);
INCLUDE_ASM("code_ddaf0_len_c50", func_80147CC8);
INCLUDE_ASM(code_ddaf0_len_c50, func_80147D70);
INCLUDE_ASM("code_ddaf0_len_c50", func_80147D70);
INCLUDE_ASM(code_ddaf0_len_c50, func_80147E48);
INCLUDE_ASM("code_ddaf0_len_c50", func_80147E48);
INCLUDE_ASM(code_ddaf0_len_c50, func_80147E7C);
INCLUDE_ASM("code_ddaf0_len_c50", func_80147E7C);
INCLUDE_ASM(code_ddaf0_len_c50, func_80147EC4);
INCLUDE_ASM("code_ddaf0_len_c50", func_80147EC4);
INCLUDE_ASM(code_ddaf0_len_c50, func_80147F30);
INCLUDE_ASM("code_ddaf0_len_c50", func_80147F30);

View File

@ -1,53 +1,53 @@
#include "common.h"
INCLUDE_ASM(code_de740_len_23f0, func_80148040);
INCLUDE_ASM("code_de740_len_23f0", func_80148040);
INCLUDE_ASM(code_de740_len_23f0, func_801480F0);
INCLUDE_ASM("code_de740_len_23f0", func_801480F0);
INCLUDE_ASM(code_de740_len_23f0, func_801481C4);
INCLUDE_ASM("code_de740_len_23f0", func_801481C4);
INCLUDE_ASM(code_de740_len_23f0, func_801489B8);
INCLUDE_ASM("code_de740_len_23f0", func_801489B8);
INCLUDE_ASM(code_de740_len_23f0, func_801491E4);
INCLUDE_ASM("code_de740_len_23f0", func_801491E4);
INCLUDE_ASM(code_de740_len_23f0, func_80149250);
INCLUDE_ASM("code_de740_len_23f0", func_80149250);
INCLUDE_ASM(code_de740_len_23f0, func_80149600);
INCLUDE_ASM("code_de740_len_23f0", func_80149600);
INCLUDE_ASM(code_de740_len_23f0, func_80149618);
INCLUDE_ASM("code_de740_len_23f0", func_80149618);
INCLUDE_ASM(code_de740_len_23f0, func_80149670);
INCLUDE_ASM("code_de740_len_23f0", func_80149670);
INCLUDE_ASM(code_de740_len_23f0, func_80149734);
INCLUDE_ASM("code_de740_len_23f0", func_80149734);
INCLUDE_ASM(code_de740_len_23f0, func_801497FC);
INCLUDE_ASM("code_de740_len_23f0", func_801497FC);
INCLUDE_ASM(code_de740_len_23f0, func_80149828);
INCLUDE_ASM("code_de740_len_23f0", func_80149828);
INCLUDE_ASM(code_de740_len_23f0, func_80149838);
INCLUDE_ASM("code_de740_len_23f0", func_80149838);
INCLUDE_ASM(code_de740_len_23f0, func_801498C4);
INCLUDE_ASM("code_de740_len_23f0", func_801498C4);
INCLUDE_ASM(code_de740_len_23f0, func_80149908);
INCLUDE_ASM("code_de740_len_23f0", func_80149908);
INCLUDE_ASM(code_de740_len_23f0, func_80149974);
INCLUDE_ASM("code_de740_len_23f0", func_80149974);
INCLUDE_ASM(code_de740_len_23f0, func_80149A6C);
INCLUDE_ASM("code_de740_len_23f0", func_80149A6C);
INCLUDE_ASM(code_de740_len_23f0, _play_sound);
INCLUDE_ASM("code_de740_len_23f0", _play_sound);
INCLUDE_ASM(code_de740_len_23f0, stop_sound);
INCLUDE_ASM("code_de740_len_23f0", stop_sound);
INCLUDE_ASM(code_de740_len_23f0, play_sound);
INCLUDE_ASM("code_de740_len_23f0", play_sound);
INCLUDE_ASM(code_de740_len_23f0, play_sound_at_player);
INCLUDE_ASM("code_de740_len_23f0", play_sound_at_player);
INCLUDE_ASM(code_de740_len_23f0, play_sound_at_npc);
INCLUDE_ASM("code_de740_len_23f0", play_sound_at_npc);
s32 INCLUDE_ASM(code_de740_len_23f0, play_sound_at_position, s32 soundID, s32 value2, f32 posX, f32 posY, f32 posZ);
s32 INCLUDE_ASM("code_de740_len_23f0", play_sound_at_position, s32 soundID, s32 value2, f32 posX, f32 posY, f32 posZ);
INCLUDE_ASM(code_de740_len_23f0, func_80149E04);
INCLUDE_ASM("code_de740_len_23f0", func_80149E04);
INCLUDE_ASM(code_de740_len_23f0, func_80149F58);
INCLUDE_ASM("code_de740_len_23f0", func_80149F58);
INCLUDE_ASM(code_de740_len_23f0, func_8014A1B4);
INCLUDE_ASM("code_de740_len_23f0", func_8014A1B4);

View File

@ -1,39 +1,39 @@
#include "common.h"
INCLUDE_ASM(code_e0b30_len_b80, get_default_variation_for_song);
INCLUDE_ASM("code_e0b30_len_b80", get_default_variation_for_song);
INCLUDE_ASM(code_e0b30_len_b80, func_8014A498);
INCLUDE_ASM("code_e0b30_len_b80", func_8014A498);
INCLUDE_ASM(code_e0b30_len_b80, func_8014A52C);
INCLUDE_ASM("code_e0b30_len_b80", func_8014A52C);
INCLUDE_ASM(code_e0b30_len_b80, func_8014A548);
INCLUDE_ASM("code_e0b30_len_b80", func_8014A548);
INCLUDE_ASM(code_e0b30_len_b80, _set_music_track);
INCLUDE_ASM("code_e0b30_len_b80", _set_music_track);
s32 INCLUDE_ASM(code_e0b30_len_b80, set_music_track, s32 musicPlayer, s32 songID, s32 variation, s32 unk, s32 volume);
s32 INCLUDE_ASM("code_e0b30_len_b80", set_music_track, s32 musicPlayer, s32 songID, s32 variation, s32 unk, s32 volume);
INCLUDE_ASM(code_e0b30_len_b80, func_8014A964);
INCLUDE_ASM("code_e0b30_len_b80", func_8014A964);
INCLUDE_ASM(code_e0b30_len_b80, func_8014AA54);
INCLUDE_ASM("code_e0b30_len_b80", func_8014AA54);
INCLUDE_ASM(code_e0b30_len_b80, func_8014AB0C);
INCLUDE_ASM("code_e0b30_len_b80", func_8014AB0C);
INCLUDE_ASM(code_e0b30_len_b80, func_8014AC08);
INCLUDE_ASM("code_e0b30_len_b80", func_8014AC08);
INCLUDE_ASM(code_e0b30_len_b80, func_8014AC5C);
INCLUDE_ASM("code_e0b30_len_b80", func_8014AC5C);
INCLUDE_ASM(code_e0b30_len_b80, func_8014AC70);
INCLUDE_ASM("code_e0b30_len_b80", func_8014AC70);
INCLUDE_ASM(code_e0b30_len_b80, func_8014AC84);
INCLUDE_ASM("code_e0b30_len_b80", func_8014AC84);
INCLUDE_ASM(code_e0b30_len_b80, func_8014AC94);
INCLUDE_ASM("code_e0b30_len_b80", func_8014AC94);
INCLUDE_ASM(code_e0b30_len_b80, func_8014ADA4);
INCLUDE_ASM("code_e0b30_len_b80", func_8014ADA4);
INCLUDE_ASM(code_e0b30_len_b80, func_8014ADF8);
INCLUDE_ASM("code_e0b30_len_b80", func_8014ADF8);
INCLUDE_ASM(code_e0b30_len_b80, func_8014AE6C);
INCLUDE_ASM("code_e0b30_len_b80", func_8014AE6C);
INCLUDE_ASM(code_e0b30_len_b80, func_8014AEF8);
INCLUDE_ASM("code_e0b30_len_b80", func_8014AEF8);
INCLUDE_ASM(code_e0b30_len_b80, func_8014AF8C);
INCLUDE_ASM("code_e0b30_len_b80", func_8014AF8C);

View File

@ -1,9 +1,9 @@
#include "common.h"
INCLUDE_ASM(code_e20eb0, func_802B7000);
INCLUDE_ASM("code_e20eb0", func_802B7000);
INCLUDE_ASM(code_e20eb0, func_802B70B4);
INCLUDE_ASM("code_e20eb0", func_802B70B4);
INCLUDE_ASM(code_e20eb0, func_802B71C8);
INCLUDE_ASM("code_e20eb0", func_802B71C8);
INCLUDE_ASM(code_e20eb0, func_802B742C);
INCLUDE_ASM("code_e20eb0", func_802B742C);

View File

@ -1,24 +1,24 @@
#include "common.h"
INCLUDE_ASM(code_e79b0_len_1920, sort_scripts);
INCLUDE_ASM("code_e79b0_len_1920", sort_scripts);
INCLUDE_ASM(code_e79b0_len_1920, find_script_labels);
INCLUDE_ASM("code_e79b0_len_1920", find_script_labels);
INCLUDE_ASM(code_e79b0_len_1920, clear_script_list);
INCLUDE_ASM("code_e79b0_len_1920", clear_script_list);
INCLUDE_ASM(code_e79b0_len_1920, init_script_list);
INCLUDE_ASM("code_e79b0_len_1920", init_script_list);
INCLUDE_ASM(code_e79b0_len_1920, func_802C3390);
INCLUDE_ASM("code_e79b0_len_1920", func_802C3390);
INCLUDE_ASM(code_e79b0_len_1920, start_script);
INCLUDE_ASM("code_e79b0_len_1920", start_script);
INCLUDE_ASM(code_e79b0_len_1920, start_script_in_group);
INCLUDE_ASM("code_e79b0_len_1920", start_script_in_group);
INCLUDE_ASM(code_e79b0_len_1920, start_child_script);
INCLUDE_ASM("code_e79b0_len_1920", start_child_script);
INCLUDE_ASM(code_e79b0_len_1920, func_802C39F8);
INCLUDE_ASM("code_e79b0_len_1920", func_802C39F8);
INCLUDE_ASM(code_e79b0_len_1920, restart_script);
INCLUDE_ASM("code_e79b0_len_1920", restart_script);
/*
ScriptInstance* restart_script(ScriptInstance* script) {
script->loopDepth = -1;
@ -41,13 +41,13 @@ ScriptInstance* restart_script(ScriptInstance* script) {
}
*/
INCLUDE_ASM(code_e79b0_len_1920, update_scripts);
INCLUDE_ASM("code_e79b0_len_1920", update_scripts);
INCLUDE_ASM(code_e79b0_len_1920, func_802C3EE4);
INCLUDE_ASM("code_e79b0_len_1920", func_802C3EE4);
INCLUDE_ASM(code_e79b0_len_1920, kill_script);
INCLUDE_ASM("code_e79b0_len_1920", kill_script);
void* kill_script_by_ID(s32 id) {
void kill_script_by_ID(s32 id) {
s32 i;
ScriptInstance* scriptContextPtr;
@ -59,24 +59,23 @@ void* kill_script_by_ID(s32 id) {
}
}
s32 kill_all_scripts(void) {
void kill_all_scripts(void) {
s32 i;
ScriptInstance* scriptContextPtr;
for(i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
for (i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
scriptContextPtr = (*gCurrentScriptListPtr)[i];
if (scriptContextPtr != NULL) {
kill_script(scriptContextPtr);
}
}
return;
}
s32 does_script_exist(s32 id) {
s32 i;
ScriptInstance* scriptContextPtr;
for(i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
for (i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
scriptContextPtr = (*gCurrentScriptListPtr)[i];
if (scriptContextPtr != NULL && scriptContextPtr->uniqueID == id) {
return 1;
@ -88,8 +87,8 @@ s32 does_script_exist(s32 id) {
s32 does_script_exist_by_ref(ScriptInstance* script) {
s32 i;
for(i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
if(script == (*gCurrentScriptListPtr)[i]) {
for (i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
if (script == (*gCurrentScriptListPtr)[i]) {
return 1;
}
}
@ -104,7 +103,7 @@ void set_script_timescale(ScriptInstance* script, f32 timeScale) {
script->timeScale = timeScale * gGlobalTimeSpace;
}
INCLUDE_ASM(code_e79b0_len_1920, set_global_timespace);
INCLUDE_ASM("code_e79b0_len_1920", set_global_timespace);
/*
// TODO: figure out why compiler/assembler isn't putting SWC1 in delay slot
void set_global_timespace(f32 timeScale) {
@ -113,7 +112,7 @@ void set_global_timespace(f32 timeScale) {
*/
INCLUDE_ASM(code_e79b0_len_1920, get_global_timespace);
INCLUDE_ASM("code_e79b0_len_1920", get_global_timespace);
/*
// TODO: figure out why compiler/assembler isn't putting LWC1 in delay slot
f32 get_global_timespace(void) {
@ -125,9 +124,9 @@ void set_script_group(ScriptInstance* script, s8 groupFlags) {
script->groupFlags = groupFlags;
}
INCLUDE_ASM(code_e79b0_len_1920, bind_trigger);
INCLUDE_ASM("code_e79b0_len_1920", bind_trigger);
INCLUDE_ASM(code_e79b0_len_1920, bind_trigger_1);
INCLUDE_ASM("code_e79b0_len_1920", bind_trigger_1);
void suspend_group_script(ScriptInstance* script, s32 groupFlags) {
int i;
@ -138,7 +137,7 @@ void suspend_group_script(ScriptInstance* script, s32 groupFlags) {
suspend_group_script(childScript, groupFlags);
}
for(i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
for (i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
scriptContextPtr = (*gCurrentScriptListPtr)[i];
if (scriptContextPtr != NULL && scriptContextPtr->parentScript == script) {
suspend_group_script(scriptContextPtr, groupFlags);
@ -159,7 +158,7 @@ void resume_group_script(ScriptInstance* script, s32 groupFlags) {
resume_group_script(childScript, groupFlags);
}
for(i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
for (i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
scriptContextPtr = (*gCurrentScriptListPtr)[i];
if (scriptContextPtr != NULL && scriptContextPtr->parentScript == script) {
suspend_group_script(scriptContextPtr, groupFlags);
@ -243,8 +242,7 @@ s32 resume_all_group(s32 groupFlags) {
}
}
void suspend_group_others(s32 script, s32 groupFlags) {
void suspend_group_others(ScriptInstance* script, s32 groupFlags) {
s32 i;
ScriptInstance* scriptContextPtr;
@ -256,7 +254,7 @@ void suspend_group_others(s32 script, s32 groupFlags) {
}
}
void resume_group_others(s32 script, s32 groupFlags) {
void resume_group_others(ScriptInstance* script, s32 groupFlags) {
s32 i;
ScriptInstance* scriptContextPtr;
@ -297,7 +295,7 @@ void set_script_flags(ScriptInstance* script, s32 flags) {
set_script_flags(childScript, flags);
}
for(i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
for (i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) {
scriptContextPtr = (*gCurrentScriptListPtr)[i];
if (scriptContextPtr != NULL && scriptContextPtr->parentScript == script) {
set_script_flags(script->parentScript, flags);
@ -305,7 +303,7 @@ void set_script_flags(ScriptInstance* script, s32 flags) {
}
}
INCLUDE_ASM(code_e79b0_len_1920, clear_script_flags);
INCLUDE_ASM("code_e79b0_len_1920", clear_script_flags);
/*
// TODO: Really close but some weirdness is going on
void clear_script_flags(ScriptInstance* script, s32 flags) {

View File

@ -38,7 +38,7 @@ ApiStatus si_handle_Loop(ScriptInstance* script) {
return ApiStatus_DONE2;
}
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_end_loop);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_end_loop);
ApiStatus si_handle_break_loop(ScriptInstance* script) {
ASSERT(script->loopDepth >= 0);
@ -47,21 +47,21 @@ ApiStatus si_handle_break_loop(ScriptInstance* script) {
return ApiStatus_DONE2;
}
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_wait);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_wait);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_wait_seconds);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_wait_seconds);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_if_equal);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_if_equal);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_if_not_equal);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_if_not_equal);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_if_less);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_if_less);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_if_greater);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_if_greater);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_if_less_equal);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_if_less_equal);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_if_greater_equal);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_if_greater_equal);
ApiStatus si_handle_if_AND(ScriptInstance* script) {
Bytecode* thisPos = script->ptrReadPos;
@ -118,29 +118,29 @@ ApiStatus si_handle_switch_const(ScriptInstance* script) {
return ApiStatus_DONE2;
}
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_case_equal);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_case_equal);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_case_not_equal);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_case_not_equal);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_case_less);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_case_less);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_case_less_equal);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_case_less_equal);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_case_greater);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_case_greater);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_case_greater_equal);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_case_greater_equal);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_case_range);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_case_range);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_case_default);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_case_default);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_case_AND);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_case_AND);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_case_equal_OR);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_case_equal_OR);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_case_equal_AND);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_case_equal_AND);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_end_case_group);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_end_case_group);
ApiStatus si_handle_break_case(ScriptInstance* script) {
ASSERT(script->switchDepth >= 0);
@ -180,23 +180,23 @@ ApiStatus si_handle_set_float(ScriptInstance* script) {
return ApiStatus_DONE2;
}
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_add);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_add);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_subtract);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_subtract);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_multiply);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_multiply);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_divide);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_divide);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_mod);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_mod);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_addF);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_addF);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_subtractF);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_subtractF);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_multiplyF);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_multiplyF);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_divideF);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_divideF);
ApiStatus si_handle_set_int_buffer_ptr(ScriptInstance* script) {
script->buffer = get_variable(script, *script->ptrReadPos);
@ -278,7 +278,7 @@ ApiStatus si_handle_get_Nth_word(ScriptInstance* script) {
var = *thisPos++;
set_variable(script, var, script->buffer[get_variable(script, *thisPos)]);
return ApiStatus_DONE2;
}
@ -357,52 +357,52 @@ ApiStatus si_handle_get_Nth_float(ScriptInstance* script) {
}
ApiStatus si_handle_set_array(ScriptInstance* script) {
script->array = get_variable(script, *script->ptrReadPos);
script->array = (s32*)get_variable(script, *script->ptrReadPos);
return ApiStatus_DONE2;
}
ApiStatus si_handle_set_flag_array(ScriptInstance* script) {
script->flagArray = get_variable(script, *script->ptrReadPos);
script->flagArray = (s32*)get_variable(script, *script->ptrReadPos);
return ApiStatus_DONE2;
}
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_allocate_array);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_allocate_array);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_AND);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_AND);
//INCLUDE_ASM(code_e92d0_len_5da0, si_handle_AND_const);
//INCLUDE_ASM("code_e92d0_len_5da0", si_handle_AND_const);
ApiStatus si_handle_AND_const(ScriptInstance* script) {
Bytecode* ptrReadPos = script->ptrReadPos;
// todo ???
s32 temp_s0 = ptrReadPos[0];
s32 temp_s2 = ptrReadPos[0];
temp_s0 = ptrReadPos[1];
// end todo
set_variable(script, temp_s2, temp_s0 & get_variable(script, temp_s2));
s32 constant = ptrReadPos[0]; // NOLINT
s32 var = ptrReadPos[0];
constant = ptrReadPos[1];
set_variable(script, var, constant & get_variable(script, var));
return ApiStatus_DONE2;
}
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_OR);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_OR);
//INCLUDE_ASM(code_e92d0_len_5da0, si_handle_OR_const);
//INCLUDE_ASM("code_e92d0_len_5da0", si_handle_OR_const);
ApiStatus si_handle_OR_const(ScriptInstance* script) {
Bytecode* ptrReadPos = script->ptrReadPos;
// todo ???
s32 temp_s0 = ptrReadPos[0];
s32 temp_s2 = ptrReadPos[0];
temp_s0 = ptrReadPos[1];
// end todo
set_variable(script, temp_s2, temp_s0 | get_variable(script, temp_s2));
s32 constant = ptrReadPos[0]; // NOLINT
s32 var = ptrReadPos[0];
constant = ptrReadPos[1];
set_variable(script, var, constant | get_variable(script, var));
return ApiStatus_DONE2;
}
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_call);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_call);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_exec1);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_exec1);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_exec2);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_exec2);
ApiStatus si_handle_exec_wait(ScriptInstance* script) {
start_child_script(script, get_variable(script, *script->ptrReadPos), 0);
@ -411,14 +411,14 @@ ApiStatus si_handle_exec_wait(ScriptInstance* script) {
}
ApiStatus si_handle_jump(ScriptInstance* script) {
script->ptrFirstLine = get_variable(script, *script->ptrReadPos);
script->ptrFirstLine = (Bytecode*)get_variable(script, *script->ptrReadPos);
restart_script(script);
return ApiStatus_DONE2;
}
INCLUDE_ASM(code_e92d0_len_5da0, _bound_script_trigger_handler);
INCLUDE_ASM("code_e92d0_len_5da0", _bound_script_trigger_handler);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_bind);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_bind);
ApiStatus DeleteTrigger(ScriptInstance* script, s32 isInitialCall) {
delete_trigger(get_variable(script, *script->ptrReadPos));
@ -480,18 +480,18 @@ ApiStatus si_handle_resume(ScriptInstance* script) {
return ApiStatus_DONE2;
}
ApiStatus INCLUDE_ASM(code_e92d0_len_5da0, si_handle_does_script_exist);
ApiStatus INCLUDE_ASM("code_e92d0_len_5da0", si_handle_does_script_exist);
ApiStatus INCLUDE_ASM(code_e92d0_len_5da0, si_handle_bind_lock);
ApiStatus INCLUDE_ASM("code_e92d0_len_5da0", si_handle_bind_lock);
ApiStatus INCLUDE_ASM(code_e92d0_len_5da0, si_handle_thread);
ApiStatus INCLUDE_ASM("code_e92d0_len_5da0", si_handle_thread);
ApiStatus si_handle_end_thread(ScriptInstance* script) {
kill_script(script);
return ApiStatus_FINISH;
}
ApiStatus INCLUDE_ASM(code_e92d0_len_5da0, si_handle_child_thread);
ApiStatus INCLUDE_ASM("code_e92d0_len_5da0", si_handle_child_thread);
ApiStatus si_handle_end_child_thread(ScriptInstance* script) {
kill_script(script);
@ -502,10 +502,10 @@ ApiStatus func_802C6E14(ScriptInstance* script) {
return ApiStatus_DONE2;
}
ApiStatus INCLUDE_ASM(code_e92d0_len_5da0, si_handle_print_debug_var);
ApiStatus INCLUDE_ASM("code_e92d0_len_5da0", si_handle_print_debug_var);
ApiStatus func_802C739C(ScriptInstance* script) {
script->ptrSavedPosition = *script->ptrReadPos;
script->ptrSavedPosition = (Bytecode*)*script->ptrReadPos;
return ApiStatus_DONE2;
}
@ -525,41 +525,41 @@ s32 func_802C73B8(ScriptInstance* script) {
return 1;
}
INCLUDE_ASM(code_e92d0_len_5da0, si_execute_next_command);
INCLUDE_ASM("code_e92d0_len_5da0", si_execute_next_command);
INCLUDE_ASM(code_e92d0_len_5da0, si_handle_end);
INCLUDE_ASM("code_e92d0_len_5da0", si_handle_end);
s32 INCLUDE_ASM(code_e92d0_len_5da0, get_variable, ScriptInstance* script, Bytecode var);
s32 INCLUDE_ASM("code_e92d0_len_5da0", get_variable, ScriptInstance* script, Bytecode var);
INCLUDE_ASM(code_e92d0_len_5da0, get_variable_index);
INCLUDE_ASM("code_e92d0_len_5da0", get_variable_index);
INCLUDE_ASM(code_e92d0_len_5da0, get_variable_index_alt);
INCLUDE_ASM("code_e92d0_len_5da0", get_variable_index_alt);
s32 INCLUDE_ASM(code_e92d0_len_5da0, set_variable, ScriptInstance* script, Bytecode var, s32 value);
s32 INCLUDE_ASM("code_e92d0_len_5da0", set_variable, ScriptInstance* script, Bytecode var, s32 value);
f32 INCLUDE_ASM(code_e92d0_len_5da0, get_float_variable, ScriptInstance* script, Bytecode var);
f32 INCLUDE_ASM("code_e92d0_len_5da0", get_float_variable, ScriptInstance* script, Bytecode var);
f32 INCLUDE_ASM(code_e92d0_len_5da0, set_float_variable, ScriptInstance* script, Bytecode var, f32 value);
f32 INCLUDE_ASM("code_e92d0_len_5da0", set_float_variable, ScriptInstance* script, Bytecode var, f32 value);
INCLUDE_ASM(code_e92d0_len_5da0, si_goto_label);
INCLUDE_ASM("code_e92d0_len_5da0", si_goto_label);
INCLUDE_ASM(code_e92d0_len_5da0, si_skip_if);
INCLUDE_ASM("code_e92d0_len_5da0", si_skip_if);
INCLUDE_ASM(code_e92d0_len_5da0, si_skip_else);
INCLUDE_ASM("code_e92d0_len_5da0", si_skip_else);
INCLUDE_ASM(code_e92d0_len_5da0, si_goto_end_case);
INCLUDE_ASM("code_e92d0_len_5da0", si_goto_end_case);
INCLUDE_ASM(code_e92d0_len_5da0, si_goto_next_case);
INCLUDE_ASM("code_e92d0_len_5da0", si_goto_next_case);
INCLUDE_ASM(code_e92d0_len_5da0, si_goto_end_loop);
INCLUDE_ASM("code_e92d0_len_5da0", si_goto_end_loop);
INCLUDE_API_ASM(code_e92d0_len_5da0, TranslateModel);
INCLUDE_API_ASM("code_e92d0_len_5da0", TranslateModel);
INCLUDE_API_ASM(code_e92d0_len_5da0, RotateModel);
INCLUDE_API_ASM("code_e92d0_len_5da0", RotateModel);
INCLUDE_API_ASM(code_e92d0_len_5da0, ScaleModel);
INCLUDE_API_ASM("code_e92d0_len_5da0", ScaleModel);
INCLUDE_API_ASM(code_e92d0_len_5da0, GetModelIndex);
INCLUDE_API_ASM("code_e92d0_len_5da0", GetModelIndex);
ApiStatus CloneModel(ScriptInstance* script, s32 isInitialCall) {
Bytecode* thisPos = script->ptrReadPos;
@ -570,50 +570,50 @@ ApiStatus CloneModel(ScriptInstance* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_e92d0_len_5da0, GetModelCenter);
INCLUDE_API_ASM("code_e92d0_len_5da0", GetModelCenter);
INCLUDE_API_ASM(code_e92d0_len_5da0, SetTexPanner);
INCLUDE_API_ASM("code_e92d0_len_5da0", SetTexPanner);
INCLUDE_API_ASM(code_e92d0_len_5da0, SetModelFlag10);
INCLUDE_API_ASM("code_e92d0_len_5da0", SetModelFlag10);
INCLUDE_API_ASM(code_e92d0_len_5da0, EnableTexPanning);
INCLUDE_API_ASM("code_e92d0_len_5da0", EnableTexPanning);
INCLUDE_API_ASM(code_e92d0_len_5da0, EnableModel);
INCLUDE_API_ASM("code_e92d0_len_5da0", EnableModel);
INCLUDE_API_ASM(code_e92d0_len_5da0, SetGroupEnabled);
INCLUDE_API_ASM("code_e92d0_len_5da0", SetGroupEnabled);
INCLUDE_API_ASM(code_e92d0_len_5da0, SetTexPanOffset);
INCLUDE_API_ASM("code_e92d0_len_5da0", SetTexPanOffset);
INCLUDE_API_ASM(code_e92d0_len_5da0, SetModelFlags);
INCLUDE_API_ASM("code_e92d0_len_5da0", SetModelFlags);
INCLUDE_ASM(code_e92d0_len_5da0, func_802C95A0);
INCLUDE_ASM("code_e92d0_len_5da0", func_802C95A0);
INCLUDE_API_ASM(code_e92d0_len_5da0, TranslateGroup);
INCLUDE_API_ASM("code_e92d0_len_5da0", TranslateGroup);
INCLUDE_API_ASM(code_e92d0_len_5da0, RotateGroup);
INCLUDE_API_ASM("code_e92d0_len_5da0", RotateGroup);
INCLUDE_API_ASM(code_e92d0_len_5da0, ScaleGroup);
INCLUDE_API_ASM("code_e92d0_len_5da0", ScaleGroup);
INCLUDE_API_ASM(code_e92d0_len_5da0, EnableGroup);
INCLUDE_API_ASM("code_e92d0_len_5da0", EnableGroup);
INCLUDE_ASM(code_e92d0_len_5da0, modify_collider_family_flags);
INCLUDE_ASM("code_e92d0_len_5da0", modify_collider_family_flags);
INCLUDE_API_ASM(code_e92d0_len_5da0, ModifyColliderFlags);
INCLUDE_API_ASM("code_e92d0_len_5da0", ModifyColliderFlags);
INCLUDE_API_ASM(code_e92d0_len_5da0, ResetFromLava);
INCLUDE_API_ASM("code_e92d0_len_5da0", ResetFromLava);
INCLUDE_API_ASM(code_e92d0_len_5da0, GetColliderCenter);
INCLUDE_API_ASM("code_e92d0_len_5da0", GetColliderCenter);
INCLUDE_API_ASM(code_e92d0_len_5da0, ParentColliderToModel);
INCLUDE_API_ASM("code_e92d0_len_5da0", ParentColliderToModel);
ApiStatus UpdateColliderTransform(ScriptInstance* script, s32 isInitialCall) {
update_collider_transform(get_variable(script, *script->ptrReadPos));
return ApiStatus_DONE2;
}
INCLUDE_ASM(code_e92d0_len_5da0, func_802CA1B8);
INCLUDE_ASM("code_e92d0_len_5da0", func_802CA1B8);
INCLUDE_ASM(code_e92d0_len_5da0, goto_map);
INCLUDE_ASM("code_e92d0_len_5da0", goto_map);
ApiStatus GotoMap(ScriptInstance* script, s32 isInitialCall) {
goto_map(script, 0);
@ -645,8 +645,8 @@ ApiStatus GetLoadType(ScriptInstance* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_e92d0_len_5da0, SetRenderMode);
INCLUDE_API_ASM("code_e92d0_len_5da0", SetRenderMode);
INCLUDE_API_ASM(code_e92d0_len_5da0, PlaySoundAtModel);
INCLUDE_API_ASM("code_e92d0_len_5da0", PlaySoundAtModel);
INCLUDE_API_ASM(code_e92d0_len_5da0, PlaySoundAtCollider);
INCLUDE_API_ASM("code_e92d0_len_5da0", PlaySoundAtCollider);

View File

@ -5,7 +5,7 @@ void func_80033540(void) {
(*gGameStatusPtr)->loadMenuState = 3;
}
INCLUDE_ASM(code_e940_len_290, func_80033568);
INCLUDE_ASM("code_e940_len_290", func_80033568);
void func_80033788(void) {
func_8002AB5C(0, 0, 0x13F, 0xEF, 0, 0, 0, 0xFF);

View File

@ -42,7 +42,6 @@ s16 func_80033830(add_val) {
return 0;
}
void func_80033874(void) {
func_80137D88(0, (*gGameStatusPtr)->bootAlpha);
func_80137E10(0, (*gGameStatusPtr)->bootBlue, (*gGameStatusPtr)->bootGreen, (*gGameStatusPtr)->bootRed);
@ -52,7 +51,7 @@ void start_battle_countdown(void) {
D_800A0900 = 5;
}
INCLUDE_ASM(code_ebd0_len_6a0, step_battle);
INCLUDE_ASM("code_ebd0_len_6a0", step_battle);
void func_80033B54(void) {
func_8003E5B0();
@ -67,7 +66,7 @@ void func_80033B88(void) {
D_800A0900 = 5;
}
INCLUDE_ASM(code_ebd0_len_6a0, func_80033BC0);
INCLUDE_ASM("code_ebd0_len_6a0", func_80033BC0);
void func_80033E64(void) {
}

View File

@ -1,87 +1,87 @@
#include "common.h"
INCLUDE_API_ASM(code_ef070_len_3400, SetCamEnabled);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamEnabled);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamFlag80);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamFlag80);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamPerspective);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamPerspective);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamViewport);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamViewport);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamBGColor);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamBGColor);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamTarget);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamTarget);
INCLUDE_API_ASM(code_ef070_len_3400, ShakeCam);
INCLUDE_API_ASM("code_ef070_len_3400", ShakeCam);
INCLUDE_ASM(code_ef070_len_3400, exec_ShakeCam1);
INCLUDE_ASM("code_ef070_len_3400", exec_ShakeCam1);
INCLUDE_ASM(code_ef070_len_3400, exec_ShakeCamX);
INCLUDE_ASM("code_ef070_len_3400", exec_ShakeCamX);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamLeadPlayer);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamLeadPlayer);
INCLUDE_API_ASM(code_ef070_len_3400, PanToTarget);
INCLUDE_API_ASM("code_ef070_len_3400", PanToTarget);
INCLUDE_API_ASM(code_ef070_len_3400, UseSettingsFrom);
INCLUDE_API_ASM("code_ef070_len_3400", UseSettingsFrom);
INCLUDE_API_ASM(code_ef070_len_3400, LoadSettings);
INCLUDE_API_ASM("code_ef070_len_3400", LoadSettings);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamType);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamType);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamPitch);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamPitch);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamDistance);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamDistance);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamPosA);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamPosA);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamPosB);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamPosB);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamPosC);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamPosC);
INCLUDE_API_ASM(code_ef070_len_3400, SetPanTarget);
INCLUDE_API_ASM("code_ef070_len_3400", SetPanTarget);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamSpeed);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamSpeed);
INCLUDE_API_ASM(code_ef070_len_3400, GetCamType);
INCLUDE_API_ASM("code_ef070_len_3400", GetCamType);
INCLUDE_API_ASM(code_ef070_len_3400, GetCamPitch);
INCLUDE_API_ASM("code_ef070_len_3400", GetCamPitch);
INCLUDE_API_ASM(code_ef070_len_3400, GetCamDistance);
INCLUDE_API_ASM("code_ef070_len_3400", GetCamDistance);
INCLUDE_API_ASM(code_ef070_len_3400, GetCamPosA);
INCLUDE_API_ASM("code_ef070_len_3400", GetCamPosA);
INCLUDE_API_ASM(code_ef070_len_3400, GetCamPosB);
INCLUDE_API_ASM("code_ef070_len_3400", GetCamPosB);
INCLUDE_API_ASM(code_ef070_len_3400, GetCamPosC);
INCLUDE_API_ASM("code_ef070_len_3400", GetCamPosC);
INCLUDE_API_ASM(code_ef070_len_3400, GetCamPosition);
INCLUDE_API_ASM("code_ef070_len_3400", GetCamPosition);
INCLUDE_API_ASM(code_ef070_len_3400, WaitForCam);
INCLUDE_API_ASM("code_ef070_len_3400", WaitForCam);
INCLUDE_API_ASM(code_ef070_len_3400, SetCamProperties);
INCLUDE_API_ASM("code_ef070_len_3400", SetCamProperties);
INCLUDE_API_ASM(code_ef070_len_3400, AdjustCam);
INCLUDE_API_ASM("code_ef070_len_3400", AdjustCam);
INCLUDE_API_ASM(code_ef070_len_3400, ResetCam);
INCLUDE_API_ASM("code_ef070_len_3400", ResetCam);
INCLUDE_ASM(code_ef070_len_3400, draw_anim_models);
INCLUDE_ASM("code_ef070_len_3400", draw_anim_models);
INCLUDE_API_ASM(code_ef070_len_3400, LoadModelAnimation);
INCLUDE_API_ASM("code_ef070_len_3400", LoadModelAnimation);
INCLUDE_API_ASM(code_ef070_len_3400, PlayModelAnimation);
INCLUDE_API_ASM("code_ef070_len_3400", PlayModelAnimation);
INCLUDE_API_ASM(code_ef070_len_3400, ChangeModelAnimation);
INCLUDE_API_ASM("code_ef070_len_3400", ChangeModelAnimation);
INCLUDE_API_ASM(code_ef070_len_3400, SetAnimModelPosition);
INCLUDE_API_ASM("code_ef070_len_3400", SetAnimModelPosition);
INCLUDE_API_ASM(code_ef070_len_3400, GetAnimModelPosition);
INCLUDE_API_ASM("code_ef070_len_3400", GetAnimModelPosition);
INCLUDE_API_ASM(code_ef070_len_3400, AddAnimModelPosition);
INCLUDE_API_ASM("code_ef070_len_3400", AddAnimModelPosition);
INCLUDE_API_ASM(code_ef070_len_3400, SetAnimModelRotation);
INCLUDE_API_ASM("code_ef070_len_3400", SetAnimModelRotation);
INCLUDE_API_ASM(code_ef070_len_3400, SetAnimModelScale);
INCLUDE_API_ASM("code_ef070_len_3400", SetAnimModelScale);
INCLUDE_ASM(code_ef070_len_3400, func_802CD4B4);
INCLUDE_ASM("code_ef070_len_3400", func_802CD4B4);
INCLUDE_ASM(code_ef070_len_3400, func_802CD57C);
INCLUDE_ASM("code_ef070_len_3400", func_802CD57C);

View File

@ -10,7 +10,7 @@ Npc* resolve_npc(ScriptInstance* script, NpcId npcIdOrPtr) {
}
}
INCLUDE_ASM(code_f2470_len_27f0, set_npc_animation);
INCLUDE_ASM("code_f2470_len_27f0", set_npc_animation);
ApiStatus DeleteNpc(ScriptInstance* script, s32 isInitialCall) {
Bytecode* ptrReadPos = script->ptrReadPos;
@ -28,13 +28,13 @@ ApiStatus GetNpcPointer(ScriptInstance* script, s32 isInitialCall) {
NpcId npcID = get_variable(script, *ptrReadPos++);
Bytecode varNPC = *ptrReadPos++;
set_variable(script, varNPC, get_npc_safe(npcID));
set_variable(script, varNPC, (s32)get_npc_safe(npcID));
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_f2470_len_27f0, SetNpcPos);
INCLUDE_API_ASM("code_f2470_len_27f0", SetNpcPos);
INCLUDE_API_ASM(code_f2470_len_27f0, SetNpcRotation);
INCLUDE_API_ASM("code_f2470_len_27f0", SetNpcRotation);
ApiStatus SetNpcScale(ScriptInstance* script, s32 isInitialCall) {
Bytecode* ptrReadPos = script->ptrReadPos;
@ -80,7 +80,7 @@ ApiStatus SetNpcSpeed(ScriptInstance* script, s32 isInitialCall) {
f32 speed = get_float_variable(script, *ptrReadPos);
Npc* npcPtr = resolve_npc(script, npcID);
if(npcPtr != NULL) {
if (npcPtr != NULL) {
npcPtr->moveSpeed = speed;
return ApiStatus_DONE2;
}
@ -93,7 +93,7 @@ ApiStatus SetNpcJumpscale(ScriptInstance* script, s32 isInitialCall) {
f32 jumpScale = get_float_variable(script, *ptrReadPos);
Npc* npcPtr = resolve_npc(script, npcID);
if(npcPtr != NULL) {
if (npcPtr != NULL) {
npcPtr->jumpScale = jumpScale;
return ApiStatus_DONE2;
}
@ -139,9 +139,9 @@ ApiStatus SetNpcAnimationSpeed(ScriptInstance* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_f2470_len_27f0, NpcMoveTo);
INCLUDE_API_ASM("code_f2470_len_27f0", NpcMoveTo);
INCLUDE_ASM(code_f2470_len_27f0, _npc_jump_to);
INCLUDE_ASM("code_f2470_len_27f0", _npc_jump_to);
void NpcJump0(ScriptInstance* script, s32 isInitialCall) {
_npc_jump_to(script, isInitialCall, 0);
@ -151,7 +151,7 @@ void NpcJump1(ScriptInstance* script, s32 isInitialCall) {
_npc_jump_to(script, isInitialCall, 1);
}
INCLUDE_API_ASM(code_f2470_len_27f0, NpcFlyTo);
INCLUDE_API_ASM("code_f2470_len_27f0", NpcFlyTo);
ApiStatus GetNpcYaw(ScriptInstance* script, s32 isInitialCall) {
Bytecode* ptrReadPos = script->ptrReadPos;
@ -173,7 +173,7 @@ ApiStatus SetNpcYaw(ScriptInstance* script, s32 isInitialCall) {
Bytecode* ptrReadPos = script->ptrReadPos;
NpcId npcID = get_variable(script, *ptrReadPos++);
Npc* npcPtr = resolve_npc(script, npcID);
if (npcPtr != NULL) {
set_npc_yaw(npcPtr, get_variable(script, *ptrReadPos++));
return ApiStatus_DONE2;
@ -181,36 +181,36 @@ ApiStatus SetNpcYaw(ScriptInstance* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_f2470_len_27f0, InterpNpcYaw);
INCLUDE_API_ASM("code_f2470_len_27f0", InterpNpcYaw);
INCLUDE_API_ASM(code_f2470_len_27f0, NpcFacePlayer);
INCLUDE_API_ASM("code_f2470_len_27f0", NpcFacePlayer);
INCLUDE_API_ASM(code_f2470_len_27f0, NpcFaceNpc);
INCLUDE_API_ASM("code_f2470_len_27f0", NpcFaceNpc);
INCLUDE_API_ASM(code_f2470_len_27f0, SetNpcFlagBits);
INCLUDE_API_ASM("code_f2470_len_27f0", SetNpcFlagBits);
INCLUDE_API_ASM(code_f2470_len_27f0, GetNpcPos);
INCLUDE_API_ASM("code_f2470_len_27f0", GetNpcPos);
INCLUDE_API_ASM(code_f2470_len_27f0, EnableNpcShadow);
INCLUDE_API_ASM("code_f2470_len_27f0", EnableNpcShadow);
INCLUDE_API_ASM(code_f2470_len_27f0, EnableNpcBlur);
INCLUDE_API_ASM("code_f2470_len_27f0", EnableNpcBlur);
INCLUDE_API_ASM(code_f2470_len_27f0, ClearPartnerMoveHistory);
INCLUDE_API_ASM("code_f2470_len_27f0", ClearPartnerMoveHistory);
INCLUDE_API_ASM(code_f2470_len_27f0, NpcSetHomePosToCurrent);
INCLUDE_API_ASM("code_f2470_len_27f0", NpcSetHomePosToCurrent);
INCLUDE_API_ASM(code_f2470_len_27f0, GetPartnerPos);
INCLUDE_API_ASM("code_f2470_len_27f0", GetPartnerPos);
INCLUDE_API_ASM(code_f2470_len_27f0, DisablePartnerAI);
INCLUDE_API_ASM("code_f2470_len_27f0", DisablePartnerAI);
INCLUDE_API_ASM(code_f2470_len_27f0, EnablePartnerAI);
INCLUDE_API_ASM("code_f2470_len_27f0", EnablePartnerAI);
INCLUDE_API_ASM(code_f2470_len_27f0, BringPartnerOut);
INCLUDE_API_ASM("code_f2470_len_27f0", BringPartnerOut);
INCLUDE_API_ASM(code_f2470_len_27f0, PutPartnerAway);
INCLUDE_API_ASM("code_f2470_len_27f0", PutPartnerAway);
INCLUDE_API_ASM(code_f2470_len_27f0, GetCurrentPartnerID);
INCLUDE_API_ASM("code_f2470_len_27f0", GetCurrentPartnerID);
INCLUDE_API_ASM(code_f2470_len_27f0, SetNpcEffect);
INCLUDE_API_ASM("code_f2470_len_27f0", SetNpcEffect);
INCLUDE_API_ASM(code_f2470_len_27f0, PlaySoundAtNpc);
INCLUDE_API_ASM("code_f2470_len_27f0", PlaySoundAtNpc);

View File

@ -1,17 +1,17 @@
#include "common.h"
INCLUDE_ASM(code_f270_len_1190, func_80033E70);
INCLUDE_ASM("code_f270_len_1190", func_80033E70);
INCLUDE_ASM(code_f270_len_1190, func_800340A4);
INCLUDE_ASM("code_f270_len_1190", func_800340A4);
INCLUDE_ASM(code_f270_len_1190, func_800343A4);
INCLUDE_ASM("code_f270_len_1190", func_800343A4);
INCLUDE_ASM(code_f270_len_1190, func_80034940);
INCLUDE_ASM("code_f270_len_1190", func_80034940);
INCLUDE_ASM(code_f270_len_1190, step_pause_menu);
INCLUDE_ASM("code_f270_len_1190", step_pause_menu);
INCLUDE_ASM(code_f270_len_1190, func_80034BFC);
INCLUDE_ASM("code_f270_len_1190", func_80034BFC);
INCLUDE_ASM(code_f270_len_1190, func_80034C3C);
INCLUDE_ASM("code_f270_len_1190", func_80034C3C);
INCLUDE_ASM(code_f270_len_1190, func_80034FF0);
INCLUDE_ASM("code_f270_len_1190", func_80034FF0);

View File

@ -16,17 +16,17 @@ ApiStatus SpeakToNpc(ScriptInstance* script, s32 isInitialCall) {
return _show_message(script, isInitialCall, 3);
}
INCLUDE_ASM(code_f4c60_len_4300, _show_message);
INCLUDE_ASM("code_f4c60_len_4300", _show_message);
INCLUDE_API_ASM(code_f4c60_len_4300, ShowMessageAtScreenPos);
INCLUDE_API_ASM("code_f4c60_len_4300", ShowMessageAtScreenPos);
INCLUDE_API_ASM(code_f4c60_len_4300, ShowMessageAtWorldPos);
INCLUDE_API_ASM("code_f4c60_len_4300", ShowMessageAtWorldPos);
INCLUDE_API_ASM(code_f4c60_len_4300, CloseMessage);
INCLUDE_API_ASM("code_f4c60_len_4300", CloseMessage);
INCLUDE_API_ASM(code_f4c60_len_4300, SwitchMessage);
INCLUDE_API_ASM("code_f4c60_len_4300", SwitchMessage);
INCLUDE_API_ASM(code_f4c60_len_4300, ShowChoice);
INCLUDE_API_ASM("code_f4c60_len_4300", ShowChoice);
ApiStatus CloseChoice(ScriptInstance* script, s32 isInitialCall) {
close_message(D_802DB268);
@ -66,7 +66,7 @@ ApiStatus SetMessageString(ScriptInstance* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_f4c60_len_4300, SetMessageValue);
INCLUDE_API_ASM("code_f4c60_len_4300", SetMessageValue);
// TODO: Figure out why there's an extra NOP after this function
// It's probably because of a file split issue
/*
@ -80,92 +80,92 @@ ApiStatus SetMessageValue(ScriptInstance* script, s32 initialCall) {
}
*/
INCLUDE_API_ASM(code_f4c60_len_4300, HidePlayerShadow);
INCLUDE_API_ASM("code_f4c60_len_4300", HidePlayerShadow);
INCLUDE_API_ASM(code_f4c60_len_4300, DisablePlayerPhysics);
INCLUDE_API_ASM("code_f4c60_len_4300", DisablePlayerPhysics);
INCLUDE_API_ASM(code_f4c60_len_4300, DisablePlayerInput);
INCLUDE_API_ASM("code_f4c60_len_4300", DisablePlayerInput);
INCLUDE_API_ASM(code_f4c60_len_4300, SetPlayerPos);
INCLUDE_API_ASM("code_f4c60_len_4300", SetPlayerPos);
INCLUDE_API_ASM(code_f4c60_len_4300, SetPlayerCollisionSize);
INCLUDE_API_ASM("code_f4c60_len_4300", SetPlayerCollisionSize);
INCLUDE_API_ASM(code_f4c60_len_4300, SetPlayerSpeed);
INCLUDE_API_ASM("code_f4c60_len_4300", SetPlayerSpeed);
INCLUDE_API_ASM(code_f4c60_len_4300, SetPlayerJumpscale);
INCLUDE_API_ASM("code_f4c60_len_4300", SetPlayerJumpscale);
INCLUDE_API_ASM(code_f4c60_len_4300, SetPlayerAnimation);
INCLUDE_API_ASM("code_f4c60_len_4300", SetPlayerAnimation);
INCLUDE_API_ASM(code_f4c60_len_4300, SetPlayerActionState);
INCLUDE_API_ASM("code_f4c60_len_4300", SetPlayerActionState);
INCLUDE_API_ASM(code_f4c60_len_4300, MovePlayerTo);
INCLUDE_API_ASM("code_f4c60_len_4300", MovePlayerTo);
INCLUDE_ASM(code_f4c60_len_4300, player_jump);
INCLUDE_ASM("code_f4c60_len_4300", player_jump);
INCLUDE_API_ASM(code_f4c60_len_4300, PlayerJump);
INCLUDE_API_ASM("code_f4c60_len_4300", PlayerJump);
INCLUDE_API_ASM(code_f4c60_len_4300, PlayerJump1);
INCLUDE_API_ASM("code_f4c60_len_4300", PlayerJump1);
INCLUDE_API_ASM(code_f4c60_len_4300, PlayerJump2);
INCLUDE_API_ASM("code_f4c60_len_4300", PlayerJump2);
INCLUDE_API_ASM(code_f4c60_len_4300, InterpPlayerYaw);
INCLUDE_API_ASM("code_f4c60_len_4300", InterpPlayerYaw);
INCLUDE_API_ASM(code_f4c60_len_4300, PlayerFaceNpc);
INCLUDE_API_ASM("code_f4c60_len_4300", PlayerFaceNpc);
INCLUDE_API_ASM(code_f4c60_len_4300, GetPlayerTargetYaw);
INCLUDE_API_ASM("code_f4c60_len_4300", GetPlayerTargetYaw);
INCLUDE_API_ASM(code_f4c60_len_4300, SetPlayerFlagBits);
INCLUDE_API_ASM("code_f4c60_len_4300", SetPlayerFlagBits);
INCLUDE_API_ASM(code_f4c60_len_4300, GetPlayerActionState);
INCLUDE_API_ASM("code_f4c60_len_4300", GetPlayerActionState);
INCLUDE_API_ASM(code_f4c60_len_4300, GetPlayerPos);
INCLUDE_API_ASM("code_f4c60_len_4300", GetPlayerPos);
INCLUDE_API_ASM(code_f4c60_len_4300, GetPlayerAnimation);
INCLUDE_API_ASM("code_f4c60_len_4300", GetPlayerAnimation);
INCLUDE_API_ASM(code_f4c60_len_4300, FullyRestoreHPandFP);
INCLUDE_API_ASM("code_f4c60_len_4300", FullyRestoreHPandFP);
INCLUDE_API_ASM(code_f4c60_len_4300, FullyRestoreSP);
INCLUDE_API_ASM("code_f4c60_len_4300", FullyRestoreSP);
INCLUDE_API_ASM(code_f4c60_len_4300, EnablePartner);
INCLUDE_API_ASM("code_f4c60_len_4300", EnablePartner);
INCLUDE_API_ASM(code_f4c60_len_4300, DisablePartner);
INCLUDE_API_ASM("code_f4c60_len_4300", DisablePartner);
INCLUDE_API_ASM(code_f4c60_len_4300, ForceExitHeading);
INCLUDE_API_ASM("code_f4c60_len_4300", ForceExitHeading);
INCLUDE_API_ASM(code_f4c60_len_4300, UseExitHeading);
INCLUDE_API_ASM("code_f4c60_len_4300", UseExitHeading);
INCLUDE_ASM(code_f4c60_len_4300, func_802D23F8);
INCLUDE_ASM("code_f4c60_len_4300", func_802D23F8);
INCLUDE_API_ASM(code_f4c60_len_4300, DisablePulseStone);
INCLUDE_API_ASM("code_f4c60_len_4300", DisablePulseStone);
INCLUDE_API_ASM(code_f4c60_len_4300, GetCurrentPartner);
INCLUDE_API_ASM("code_f4c60_len_4300", GetCurrentPartner);
INCLUDE_API_ASM(code_f4c60_len_4300, Disable8bitMario);
INCLUDE_API_ASM("code_f4c60_len_4300", Disable8bitMario);
INCLUDE_API_ASM(code_f4c60_len_4300, PlaySoundAtPlayer);
INCLUDE_API_ASM("code_f4c60_len_4300", PlaySoundAtPlayer);
INCLUDE_ASM(code_f4c60_len_4300, func_802D2D30);
INCLUDE_ASM("code_f4c60_len_4300", func_802D2D30);
INCLUDE_ASM(code_f4c60_len_4300, func_802D2F34);
INCLUDE_ASM("code_f4c60_len_4300", func_802D2F34);
INCLUDE_API_ASM(code_f4c60_len_4300, CreateImageObj);
INCLUDE_API_ASM("code_f4c60_len_4300", CreateImageObj);
INCLUDE_API_ASM(code_f4c60_len_4300, RemoveImageObj);
INCLUDE_API_ASM("code_f4c60_len_4300", RemoveImageObj);
INCLUDE_API_ASM(code_f4c60_len_4300, SetObjPosition);
INCLUDE_API_ASM("code_f4c60_len_4300", SetObjPosition);
INCLUDE_API_ASM(code_f4c60_len_4300, SetObjRotation);
INCLUDE_API_ASM("code_f4c60_len_4300", SetObjRotation);
INCLUDE_API_ASM(code_f4c60_len_4300, SetObjScale);
INCLUDE_API_ASM("code_f4c60_len_4300", SetObjScale);
INCLUDE_API_ASM(code_f4c60_len_4300, SetObjJumpScale);
INCLUDE_API_ASM("code_f4c60_len_4300", SetObjJumpScale);
INCLUDE_API_ASM(code_f4c60_len_4300, JumpObj);
INCLUDE_API_ASM("code_f4c60_len_4300", JumpObj);
INCLUDE_ASM(code_f4c60_len_4300, func_802D4164);
INCLUDE_ASM("code_f4c60_len_4300", func_802D4164);
INCLUDE_ASM(code_f4c60_len_4300, func_802D43F4);
INCLUDE_ASM("code_f4c60_len_4300", func_802D43F4);
INCLUDE_ASM(code_f4c60_len_4300, func_802D4488);
INCLUDE_ASM("code_f4c60_len_4300", func_802D4488);
INCLUDE_ASM(code_f4c60_len_4300, func_802D4560);
INCLUDE_ASM("code_f4c60_len_4300", func_802D4560);

View File

@ -14,12 +14,12 @@ ApiStatus MakeLerp(ScriptInstance* script, s32 isInitialCall) {
ApiStatus UpdateLerp(ScriptInstance* script, s32 isInitialCall) {
script->varTable[0x0] = (s32) update_lerp(
script->varTable[0xB],
script->varTable[0xC],
script->varTable[0xD],
script->varTable[0xE],
script->varTable[0xF]
);
script->varTable[0xB],
script->varTable[0xC],
script->varTable[0xD],
script->varTable[0xE],
script->varTable[0xF]
);
if (script->varTable[0xE] >= script->varTable[0xF]) {
script->varTable[0x1] = 0; // finished
@ -99,9 +99,9 @@ ApiStatus AwaitPlayerApproach(ScriptInstance* script, s32 isInitialCall) {
}
distance = dist2D(
playerStatus->position.x, playerStatus->position.z,
*targetX, *targetZ
);
playerStatus->position.x, playerStatus->position.z,
*targetX, *targetZ
);
if (distance < *distanceRequired) {
return ApiStatus_DONE2;
@ -129,9 +129,9 @@ ApiStatus IsPlayerWithin(ScriptInstance* script, s32 isInitialCall) {
}
distance = dist2D(
playerStatus->position.x, playerStatus->position.z,
*targetX, *targetZ
);
playerStatus->position.x, playerStatus->position.z,
*targetX, *targetZ
);
set_variable(script, outVar, 0);
if (distance < *distanceRequired) {
@ -158,9 +158,9 @@ ApiStatus AwaitPlayerLeave(ScriptInstance* script, s32 isInitialCall) {
}
distance = dist2D(
playerStatus->position.x, playerStatus->position.z,
*targetX, *targetZ
);
playerStatus->position.x, playerStatus->position.z,
*targetX, *targetZ
);
if (distance > *distanceRequired) {
return ApiStatus_DONE2;
@ -188,7 +188,7 @@ ApiStatus AddVectorPolar(ScriptInstance* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_f8f60_len_1560, func_802D4BDC);
INCLUDE_API_ASM("code_f8f60_len_1560", func_802D4BDC);
/*
ApiStatus func_802D4BDC(ScriptInstance* script, s32 initialCall) {
s32* t0 = &script->functionTemp[0];
@ -220,7 +220,7 @@ ApiStatus func_802D4BDC(ScriptInstance* script, s32 initialCall) {
*/
// Very similar to func_802D4BDC
INCLUDE_API_ASM(code_f8f60_len_1560, func_802D4C4C);
INCLUDE_API_ASM("code_f8f60_len_1560", func_802D4C4C);
ApiStatus func_802D4CC4(ScriptInstance* script, s32 initialCall) {
s32 value = get_variable(script, *script->ptrReadPos);
@ -233,7 +233,6 @@ ApiStatus func_802D4CC4(ScriptInstance* script, s32 initialCall) {
return ApiStatus_DONE2;
}
ApiStatus func_802D4D18(ScriptInstance* script, s32 initialCall) {
s32 value = get_float_variable(script, *script->ptrReadPos);
@ -249,24 +248,24 @@ ApiStatus func_802D4D88(ScriptInstance* script, s32 initialCall) {
return ApiStatus_DONE2;
}
INCLUDE_ASM(code_f8f60_len_1560, setup_path_data);
INCLUDE_ASM("code_f8f60_len_1560", setup_path_data);
INCLUDE_ASM(code_f8f60_len_1560, func_802D5270);
INCLUDE_ASM("code_f8f60_len_1560", func_802D5270);
INCLUDE_API_ASM(code_f8f60_len_1560, LoadPath);
INCLUDE_API_ASM("code_f8f60_len_1560", LoadPath);
INCLUDE_API_ASM(code_f8f60_len_1560, GetNextPathPos);
INCLUDE_API_ASM("code_f8f60_len_1560", GetNextPathPos);
ApiStatus GetDist2D(ScriptInstance* script, s32 isInitialCall) {
Bytecode* ptrReadPos = script->ptrReadPos;
Bytecode outVar = *ptrReadPos++;
set_float_variable(script, outVar, dist2D(
get_float_variable(script, *ptrReadPos++),
get_float_variable(script, *ptrReadPos++),
get_float_variable(script, *ptrReadPos++),
get_float_variable(script, *ptrReadPos++)
));
get_float_variable(script, *ptrReadPos++),
get_float_variable(script, *ptrReadPos++),
get_float_variable(script, *ptrReadPos++),
get_float_variable(script, *ptrReadPos++)
));
return ApiStatus_DONE2;
}

View File

@ -1,6 +1,6 @@
#include "common.h"
INCLUDE_ASM(code_fa4c0_len_3bf0, func_802D5B10);
INCLUDE_ASM("code_fa4c0_len_3bf0", func_802D5B10);
ApiStatus FadeOutMusic(ScriptInstance* script, s32 isInitialCall) {
Bytecode* ptrReadPos = script->ptrReadPos;
@ -20,7 +20,7 @@ ApiStatus SetMusicTrack(ScriptInstance* script, s32 isInitialCall) {
return (set_music_track(musicPlayer, songID, variation, 0x1F4, volume) != 0) * 2;
}
INCLUDE_API_ASM(code_fa4c0_len_3bf0, FadeInMusic);
INCLUDE_API_ASM("code_fa4c0_len_3bf0", FadeInMusic);
ApiStatus PlayAmbientSounds(ScriptInstance* script, s32 isInitialCall) {
Bytecode* ptrReadPos = script->ptrReadPos;
@ -86,12 +86,12 @@ ApiStatus func_802D6340(ScriptInstance* script, s32 initialCall) {
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_fa4c0_len_3bf0, PlaySoundAtF);
INCLUDE_API_ASM("code_fa4c0_len_3bf0", PlaySoundAtF);
ApiStatus RemoveKeyItemAt(ScriptInstance* script, s32 isInitialCall) {
Bytecode* ptrReadPos = script->ptrReadPos;
s32 index = get_variable(script, *ptrReadPos++);
s16* ptrKeyItems = (s16 *) &gPlayerData.keyItems;
s16* ptrKeyItems = (s16*) &gPlayerData.keyItems;
ptrKeyItems[index] = 0;
return ApiStatus_DONE2;
@ -100,7 +100,7 @@ ApiStatus RemoveKeyItemAt(ScriptInstance* script, s32 isInitialCall) {
ApiStatus RemoveItemAt(ScriptInstance* script, s32 isInitialCall) {
Bytecode* ptrReadPos = script->ptrReadPos;
s32 index = get_variable(script, *ptrReadPos++);
s16* ptrInvItems = (s16 *) &gPlayerData.invItems;
s16* ptrInvItems = (s16*) &gPlayerData.invItems;
ptrInvItems[index] = 0;
sort_items();
@ -146,7 +146,7 @@ ApiStatus HasKeyItem(ScriptInstance* script, s32 isInitialCall) {
PlayerData* playerData = &gPlayerData;
s32 i;
for(i = 0; i < ARRAY_COUNT(playerData->keyItems); i++) {
for (i = 0; i < ARRAY_COUNT(playerData->keyItems); i++) {
if (playerData->keyItems[i] == itemID) {
break;
}
@ -163,7 +163,7 @@ ApiStatus FindKeyItem(ScriptInstance* script, s32 isInitialCall) {
s32 i;
s32 itemIndex;
for(i = 0; i < ARRAY_COUNT(playerData->keyItems); i++) {
for (i = 0; i < ARRAY_COUNT(playerData->keyItems); i++) {
if (playerData->keyItems[i] == itemID) {
break;
}
@ -181,9 +181,9 @@ ApiStatus FindKeyItem(ScriptInstance* script, s32 isInitialCall) {
ApiStatus AddItem(ScriptInstance* script, s32 isInitialCall) {
Bytecode* ptrReadPos = script->ptrReadPos;
s32 itemID = get_variable(script, *ptrReadPos++);
s32* ptrNextPos = (s32 *) *ptrReadPos++;
Bytecode outItemIdx = *ptrReadPos++;
set_variable(script, ptrNextPos, add_item(itemID));
set_variable(script, outItemIdx, add_item(itemID));
return ApiStatus_DONE2;
}
@ -259,11 +259,11 @@ ApiStatus RemoveFortressKeys(ScriptInstance* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_fa4c0_len_3bf0, MakeItemEntity);
INCLUDE_API_ASM("code_fa4c0_len_3bf0", MakeItemEntity);
INCLUDE_API_ASM(code_fa4c0_len_3bf0, DropItemEntity);
INCLUDE_API_ASM("code_fa4c0_len_3bf0", DropItemEntity);
INCLUDE_API_ASM(code_fa4c0_len_3bf0, DropItemEntityB);
INCLUDE_API_ASM("code_fa4c0_len_3bf0", DropItemEntityB);
/*
// Close to working
ApiStatus DropItemEntityB(ScriptInstance* script, s32 isInitialCall) {
@ -282,23 +282,23 @@ ApiStatus DropItemEntityB(ScriptInstance* script, s32 isInitialCall) {
*/
ApiStatus RemoveItemEntity(ScriptInstance* script, s32 isInitialCall) {
Bytecode* ptrReadPos = script->ptrReadPos;
s32 itemEntityIndex = get_variable(script, *ptrReadPos++);
Bytecode* ptrReadPos = script->ptrReadPos;
s32 itemEntityIndex = get_variable(script, *ptrReadPos++);
remove_item_entity_by_index(itemEntityIndex);
return ApiStatus_DONE2;
remove_item_entity_by_index(itemEntityIndex);
return ApiStatus_DONE2;
}
ApiStatus AddBadge(ScriptInstance* script, s32 isInitialCall) {
Bytecode* ptrReadPos = script->ptrReadPos;
s32 itemID = get_variable(script, *ptrReadPos++);
s32* ptrNextPos = (s32 *) *ptrReadPos++;
Bytecode* ptrReadPos = script->ptrReadPos;
s32 badgeID = get_variable(script, *ptrReadPos++);
Bytecode outBadgeIdx = *ptrReadPos++;
set_variable(script, ptrNextPos, add_badge(itemID));
return ApiStatus_DONE2;
set_variable(script, outBadgeIdx, add_badge(badgeID));
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_fa4c0_len_3bf0, RemoveBadge);
INCLUDE_API_ASM("code_fa4c0_len_3bf0", RemoveBadge);
ApiStatus SetItemPos(ScriptInstance* script, s32 isInitialCall) {
Bytecode* ptrReadPos = script->ptrReadPos;
@ -311,14 +311,14 @@ ApiStatus SetItemPos(ScriptInstance* script, s32 isInitialCall) {
y = get_variable(script, *ptrReadPos++);
z = get_variable(script, *ptrReadPos++);
ptrItemEntity = (ItemEntity *) get_item_entity(itemEntityIndex);
ptrItemEntity = (ItemEntity*) get_item_entity(itemEntityIndex);
ptrItemEntity->position.x = x;
ptrItemEntity->position.y = y;
ptrItemEntity->position.z = z;
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_fa4c0_len_3bf0, SetItemFlags);
INCLUDE_API_ASM("code_fa4c0_len_3bf0", SetItemFlags);
ApiStatus AddCoin(ScriptInstance* script, s32 isInitialCall) {
script->varTable[0] = add_coins(get_variable(script, *script->ptrReadPos));
@ -335,7 +335,7 @@ ApiStatus AddStarPieces(ScriptInstance* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_API_ASM(code_fa4c0_len_3bf0, GetItemPower);
INCLUDE_API_ASM("code_fa4c0_len_3bf0", GetItemPower);
/*
// Close to working
ApiStatus GetItemPower(ScriptInstance* script, s32 isInitialCall) {
@ -351,15 +351,15 @@ ApiStatus GetItemPower(ScriptInstance* script, s32 isInitialCall) {
}
*/
INCLUDE_API_ASM(code_fa4c0_len_3bf0, ShowGotItem);
INCLUDE_API_ASM("code_fa4c0_len_3bf0", ShowGotItem);
INCLUDE_ASM(code_fa4c0_len_3bf0, func_802D7460);
INCLUDE_ASM("code_fa4c0_len_3bf0", func_802D7460);
INCLUDE_ASM(code_fa4c0_len_3bf0, func_802D74C0);
INCLUDE_ASM("code_fa4c0_len_3bf0", func_802D74C0);
INCLUDE_API_ASM(code_fa4c0_len_3bf0, ShowEmote);
INCLUDE_API_ASM("code_fa4c0_len_3bf0", ShowEmote);
INCLUDE_API_ASM(code_fa4c0_len_3bf0, RemoveEffect);
INCLUDE_API_ASM("code_fa4c0_len_3bf0", RemoveEffect);
/*
// Works
ApiStatus RemoveEffect(ScriptInstance* script, s32 isInitialCall) {
@ -401,6 +401,6 @@ ApiStatus func_802D7B74(ScriptInstance* script, s32 isInitialCall) {
// More functions still in RemoveEffect.s but the ones above are matching properly
*/
INCLUDE_API_ASM(code_fa4c0_len_3bf0, ShowSleepBubble);
INCLUDE_API_ASM("code_fa4c0_len_3bf0", ShowSleepBubble);
INCLUDE_API_ASM(code_fa4c0_len_3bf0, PlayEffect);
INCLUDE_API_ASM("code_fa4c0_len_3bf0", PlayEffect);

View File

@ -1,6 +1,6 @@
#include "common.h"
INCLUDE_API_ASM(code_fe0b0_len_5a0, SetSpriteShading);
INCLUDE_API_ASM("code_fe0b0_len_5a0", SetSpriteShading);
ApiStatus EnableSpriteShading(ScriptInstance* script, s32 isInitialCall) {
if (get_variable(script, *script->ptrReadPos) != 0) {

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