Engine calls (Boktai 3): Difference between revisions
Created page with "This is a list of the engine calls (control 0x9906 and control 0xb745 opcodes) supported in Boktai 3 scripts. These all refer to native (THUMB) functions stored in the ROM. The tables are sorted by address, as similar functions tend to be stored close together in the ROM, whereas IDs are relatively random. = control 0x9906 = {| class="wikitable" |- ! ID || Address || # Uses || Descriptio..." |
Engine call merge Tag: Replaced |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This is a list of the engine calls ([[Bytecode#Control_0x9906_(engine_call)|control 0x9906]] and [[Bytecode#Control_0xb745_(engine_call)|control 0xb745]] opcodes) supported in Boktai 3 scripts. These all refer to native (THUMB) functions stored in the ROM. The tables are sorted by address, as similar functions tend to be stored close together in the ROM, whereas IDs are relatively random. | This is a list of the engine calls ([[Bytecode#Control_0x9906_(engine_call)|control 0x9906]] and [[Bytecode#Control_0xb745_(engine_call)|control 0xb745]] opcodes) supported in Boktai 3 scripts. These all refer to native (THUMB) functions stored in the ROM. The tables are sorted by address, as similar functions tend to be stored close together in the ROM, whereas IDs are relatively random. | ||
<!-- | |||
@Editors: | |||
The page you want to edit is: https://boktaihacking.net/wiki/Template:Engine_calls | |||
! | --> | ||
{{Engine calls/Boktai 3}} | |||
{ | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Boktai 3]] | [[Category:Boktai 3]] |
Latest revision as of 14:32, 30 May 2025
This is a list of the engine calls (control 0x9906 and control 0xb745 opcodes) supported in Boktai 3 scripts. These all refer to native (THUMB) functions stored in the ROM. The tables are sorted by address, as similar functions tend to be stored close together in the ROM, whereas IDs are relatively random.
control 0x9906
ID | Address | # Uses | Description |
---|---|---|---|
0xb4b4 | 0x08001d08 | 6 | |
0x4ae5 | 0x080033fc | 16 | Load background palette file (p=3x palette file ids) |
0x472e | 0x08003a68 | 10 | |
0xe28b | 0x080040f8 | 1 | |
0xd9ae | 0x08005778 | 70 | |
0x9531 | 0x08006d44 | 2 | |
0x2d2b | 0x08009180 | 10 | |
0x83b2 | 0x08009b30 | 41 | |
0x95a8 | 0x0800c7ac | 1 | |
0xb426 | 0x0800e08c | 1 | |
0x4d4d | 0x0800e390 | 27 | OBJ palette related(?, p=?) |
0x329b | 0x0800f474 | 1 | |
0xb0bc | 0x0800f988 | 2 | |
0x9519 | 0x080114cc | 1 | |
0xbcd2 | 0x08011c00 | 1 | |
0x5734 | 0x08013380 | 2 | |
0xe435 | 0x080173c0 | 1 | |
0x8ecd | 0x080182fc | 4 | |
0x99ca | 0x08018ca8 | 38 | |
0x12c4 | 0x08019264 | 1 | |
0x7bbc | 0x0801973c | 1 | |
0xda0b | 0x0801b454 | 1 | |
0xf024 | 0x0801d0bc | 1 | |
0xef6f | 0x0801dfb8 | 1 | |
0x6d69 | 0x0802091c | 2 | |
0x4e69 | 0x08020c84 | 4 | |
0x730a | 0x080213ac | 4 | |
0xd972 | 0x08029798 | 6 | Spawn the Count |
0x917f | 0x0802c620 | 4 | |
0x286f | 0x08030864 | 2 | |
0x0e37 | 0x08031d40 | 8 | |
0xdfc6 | 0x080333f0 | 6 | |
0x6273 | 0x08033bd4 | 10 | |
0x3df7 | 0x08034030 | 24 | |
0xd53d | 0x080371e0 | 2 | |
0x9284 | 0x08037d80 | 1 | |
0xaf33 | 0x08039490 | 1 | |
0xa046 | 0x08039598 | 3 | |
0x723e | 0x0803b6b8 | 1 | |
0x42f5 | 0x0803d5a8 | 1 | |
0x893c | 0x08042158 | 2 | |
0x1b77 | 0x08042314 | 3 | |
0xd562 | 0x08042318 | 3 | |
0x3d0c | 0x0804231c | 1 | |
0x0b50 | 0x0804d5cc | 2 | |
0x28cb | 0x0804defc | 3 | |
0x5ccc | 0x0804ef78 | 1 | |
0xdc21 | 0x0804f67c | 1 | |
0x71ba | 0x080507dc | 1 | |
0xa628 | 0x08051054 | 6 | |
0xef66 | 0x08051574 | 5 | |
0x3db0 | 0x080519f8 | 1 | |
0xf156 | 0x080520e8 | 1 | |
0xa8f1 | 0x0805376c | 2 | |
0x3117 | 0x0805560c | 263 | |
0x8af6 | 0x08055b08 | 9 | |
0xcf58 | 0x08056020 | 2 | |
0xd852 | 0x08056a20 | 1 | |
0x92be | 0x08056ee4 | 1 | |
0xb164 | 0x080574d0 | 1 | |
0x4063 | 0x080575f8 | 4 | |
0xc438 | 0x08057924 | 1 | |
0xcbb0 | 0x0805cb38 | 2 | |
0x744f | 0x0806347c | 1 | |
0x3019 | 0x080634d4 | 2 | |
0x7300 | 0x0806352c | 1 | |
0x3050 | 0x08063584 | 4 | |
0x661e | 0x080635dc | 1 | |
0xd3a9 | 0x0806387c | 4 | |
0x778b | 0x0806f570 | 2 | |
0xaeb2 | 0x0806f954 | 2 | |
0xec2a | 0x08071d9c | 3 | |
0xd854 | 0x08073ba0 | 3 | |
0xdb8d | 0x080f752c | 2 | |
0xa16f | 0x08103a84 | 44 | ElevatorController_Create() - Call this before creating any elevators with engine call 0xa4fc |
0xc60f | 0x08106d64 | 2 | |
0xc419 | 0x08108490 | 4 | |
0xf246 | 0x0810cb30 | 1 | |
0x30ac | 0x0810d4fc | 1 | |
0x3c9f | 0x0810e8d0 | 2 | |
0x33ff | 0x0810f7d4 | 1 | |
0x3960 | 0x08110a40 | 1 | |
0xd017 | 0x081128b8 | 1 | |
0xf5eb | 0x0815f4f4 | 15 | |
0x5941 | 0x0815f790 | 4 | |
0xfb8c | 0x081637d0 | 4 | |
0xcc28 | 0x08179298 | 5 | |
0xec71 | 0x08180380 | 2 | |
0xe043 | 0x0818c674 | 13 | |
0xb06e | 0x0819783c | 2 | |
0x24e1 | 0x08197890 | 1 | |
0x8fcc | 0x08198008 | 11 | |
0x382f | 0x08199410 | 1 | |
0x55e9 | 0x0819a4d8 | 6 | |
0xf6d3 | 0x0819a65c | 1 | |
0xc077 | 0x081a3270 | 3 | |
0x7c56 | 0x081af488 | 7 | |
0x1fba | 0x081b8160 | 8 | |
0x3d91 | 0x081b897c | 2 | |
0x2388 | 0x081ba5d0 | 3 | |
0x3f74 | 0x081bac74 | 3 | |
0x7f5e | 0x081bc27c | 2 | |
0xe9d3 | 0x081bd814 | 2 | |
0xe02e | 0x081bff88 | 1 | |
0xb0d0 | 0x081c0434 | 1 | |
0x70b6 | 0x081c0b94 | 1 | |
0x975e | 0x081c1788 | 1 | |
0xb3d1 | 0x081c27ec | 1 | |
0x3d64 | 0x081c2fc0 | 3 | |
0xf3e4 | 0x081c4080 | 2 | |
0x6a37 | 0x081c47ec | 1 | |
0x9066 | 0x081c4bc4 | 1 | |
0xc281 | 0x081c5000 | 1 | |
0x1909 | 0x081c53ec | 1 | |
0x44bc | 0x081c5e44 | 5 | |
0x0f87 | 0x081c6614 | 1 | |
0x34ea | 0x081d6bc0 | 1 | |
0x4ddf | 0x081d73f0 | 2 | |
0xf86e | 0x081d75ac | 1 | |
0x96cd | 0x081dbb0c | 2 | |
0x0314 | 0x081dbfec | 2 | |
0x3a31 | 0x081dc690 | 3 | |
0xca9a | 0x081dcdf4 | 2 | |
0x2687 | 0x081de5a4 | 3 | |
0x9c24 | 0x081df0ac | 3 | |
0x648f | 0x081e0474 | 2 | |
0x15de | 0x081e1ab4 | 2 | |
0x5cbb | 0x081e26cc | 2 | |
0x2734 | 0x081e2898 | 3 | |
0xb87b | 0x081e3484 | 2 | |
0x8aab | 0x081ea730 | 1 | |
0x4a25 | 0x081eb7dc | 4 | |
0x0bfe | 0x081ec168 | 2 | |
0x1c82 | 0x081ec340 | 1 | |
0x5856 | 0x081f2034 | 5 | |
0x1e93 | 0x081fb788 | 3 | |
0x5153 | 0x08202608 | 2 | |
0x98cb | 0x0820361c | 2 | |
0xf426 | 0x08204704 | 2 | |
0xd459 | 0x08205900 | 2 | |
0xda0e | 0x08206470 | 1 | |
0xf083 | 0x08207f68 | 2 | |
0x4cd8 | 0x08208fd8 | 2 | |
0x9cc2 | 0x0820a420 | 1 | |
0x3d38 | 0x0820bce0 | 2 | |
0x84cf | 0x0820d1f8 | 2 | |
0xfe92 | 0x0820eba8 | 2 | |
0xf639 | 0x082109d8 | 2 | |
0x52bf | 0x082116a8 | 1 | |
0x7ca2 | 0x08212ed8 | 1 | |
0xa2db | 0x08213ccc | 1 | |
0xb8b9 | 0x08225a50 | 5 | |
0xc0b0 | 0x082275d8 | 7 | Camera_Create() |
0x430d | 0x082284b4 | 416 | setTimeout(?, t=frame count, a=args (to p/e), p=callback function id, e=callback block)
Set either p or e, not both. Return a value > 0 to re-arm the timeout. |
0x8b1e | 0x082284c0 | 2 | |
0x794c | 0x0822b924 | 3 | |
0xb639 | 0x0822c0cc | 476 | Unknown? Must be called for enemy spawning to work |
0x2d36 | 0x0822cc80 | 5 |
control 0xb745
ID | Address | # Uses | Description |
---|---|---|---|
0x7a27 | 0x08001ee0 | 18 | Video_LoadTileMap(d=file id, t=type, n=layer count, i=layer indices, c=layer IDs)
d: Tile map file ID |
0xe4b1 | 0x08002024 | 3 | |
0x11d4 | 0x0800211c | 2 | Video_LoadTileSet(t=type, c=part ids, d=tile set file id, m=tile map file id, s=load offset)
t: Type; only two relevant cases: If 0 (=BG0), then load offset will be forced to 0x400 tiles, irrespective of the m and s keywords. Otherwise, the m and s keywords are used. |
0x33aa | 0x08002234 | 2 | |
0xca7d | 0x08003540 | 17 | |
0x0412 | 0x080035c0 | 3 | |
0x7844 | 0x080035f0 | 5 | |
0x9c2c | 0x08003b00 | 4 | |
0x0ad8 | 0x08004194 | 4 | |
0x5c0b | 0x08004828 | 2 | |
0x0293 | 0x08004888 | 4 | |
0xe02a | 0x08005b8c | 4 | |
0xb76c | 0x08005d30 | 8 | |
0x3e1f | 0x08006184 | 4 | |
0xb8c7 | 0x080061cc | 3 | |
0xfebb | 0x080062c4 | 1 | |
0x71e7 | 0x08006e98 | 50 | |
0x0955 | 0x080083f0 | 3 | |
0xddcf | 0x08008820 | 2 | Spawn chest? |
0x2e1c | 0x080091c8 | 2 | |
0x883a | 0x08009b7c | 1 | |
0x2740 | 0x08009d40 | 1 | |
0x0866 | 0x0800a670 | 1 | |
0x4631 | 0x0800a86c | 3 | |
0x2b8c | 0x0800d00c | 2 | |
0x62c5 | 0x08011c94 | 3 | |
0x75d0 | 0x08011f8c | 10 | |
0xfc96 | 0x08011fd4 | 10 | |
0x4383 | 0x08015de0 | 4 | |
0x3535 | 0x08016764 | 2 | Map_LoadGraphics(t=?, c=?, d=?) |
0x7e73 | 0x08018374 | 1 | |
0x164d | 0x080183a8 | 2 | |
0x7a82 | 0x0801842c | 2 | |
0x3a89 | 0x08018664 | 2 | |
0xc913 | 0x08019840 | 18 | |
0xd4e3 | 0x0801e3e4 | 3 | |
0x8b67 | 0x0801e784 | 66 | |
0xd6f7 | 0x0801e820 | 62 | |
0xcb30 | 0x0801ea70 | 2 | |
0xeaaf | 0x0801eb08 | 9 | |
0x7348 | 0x08020df0 | 230 | |
0xd0c3 | 0x08020ed8 | 11 | |
0x2502 | 0x08020f1c | 873 | |
0x99fa | 0x08021e38 | 5 | |
0xd968 | 0x08028ec0 | 1 | |
0xddd0 | 0x0802e3bc | 50 | |
0x5517 | 0x0802e468 | 11 | |
0x43d6 | 0x0802e5e8 | 2 | |
0x727f | 0x08030be8 | 4 | |
0xc556 | 0x08030c78 | 2 | |
0x1c64 | 0x08030d9c | 1550 | Textbox_Open(r=string ref) |
0xd401 | 0x08030eac | 10 | |
0xab3c | 0x08030ffc | 20 | TextBox_SetVar(n, value) - Access via <VAR=n> tags in strings |
0x2575 | 0x0803103c | 7 | |
0x352d | 0x0803107c | 67 | TextBox_SetExtend(n, text) - Access via <EXTEND=n> tags |
0xadd2 | 0x08031184 | 18 | TextBox_EnableAutoAdvance(?, delay_frames) |
0xdd91 | 0x080311f0 | 94 | |
0xd935 | 0x08036910 | 1 | |
0xc015 | 0x08036d80 | 3 | |
0x877f | 0x080397c0 | 1 | |
0x8d63 | 0x08039870 | 1 | |
0xf31a | 0x08039898 | 1 | |
0x8944 | 0x0803d61c | 1 | |
0xd24b | 0x080497f0 | 1 | |
0x6b24 | 0x08049be4 | 1 | |
0x7566 | 0x08049c90 | 4 | |
0x9bc7 | 0x08049ebc | 1 | |
0xa301 | 0x0804a224 | 3 | |
0xfee0 | 0x0804a3ac | 1 | |
0xe18f | 0x0804a3cc | 2 | |
0xd25f | 0x0804e2ac | 1 | |
0x320c | 0x0804e388 | 1 | |
0xeb42 | 0x0804e534 | 10 | |
0x815c | 0x0804e5ac | 16 | |
0x1dbe | 0x0805002c | 1 | |
0xef19 | 0x08050878 | 7 | |
0x554b | 0x0805089c | 7 | |
0x4a16 | 0x080510d4 | 1 | |
0x8459 | 0x0805110c | 1 | |
0x274e | 0x08051188 | 4 | |
0xb005 | 0x080511f8 | 8 | |
0x0b49 | 0x080537b4 | 1 | |
0x1e98 | 0x08054b64 | 1 | |
0x31fe | 0x08054bd4 | 4 | |
0xc765 | 0x08054c40 | 2 | |
0xf661 | 0x08054c64 | 13 | |
0x34c2 | 0x08054c7c | 4 | |
0xd7f4 | 0x08054cc0 | 12 | |
0xe77c | 0x08054dc4 | 4 | |
0x8337 | 0x08055268 | 11 | |
0x44cd | 0x080556d0 | 14 | |
0xed1f | 0x08055708 | 5 | |
0xebff | 0x08055740 | 27 | |
0x9c3f | 0x08055768 | 15 | |
0x997b | 0x080557bc | 2 | |
0xeab4 | 0x0805592c | 6 | |
0xa61c | 0x0805606c | 9 | |
0x8089 | 0x08056840 | 1 | Map_SpawnLoadingZoneIndicator(n=loading_zone_id) |
0x7935 | 0x08056a60 | 74 | InitArray(indexed-ptr, values...)
Copies values into the indexed-ptr. Partial writes are supported (you can specify less values than the size of the indexed-ptr). |
0x7636 | 0x08056a90 | 40 | Loop(a=argument count of callback, r=number of executions, d=data to loop over, e=callback block)
This is complicated, need some examples... keywords "a" and "r" are always required, keyword "d" is optional: if provided, the loop behaves like a "for each" loop over the provided data, if not provided it behaves like a "for" loop between 0 and r. |
0x3469 | 0x08056b64 | 78 | int rand(p=divisor)
If divisor is 0, returns the RNG value directly. Otherwise returns RNG % divsior (TODO: there's some additional shifting going on if p is set) |
0x5f5f | 0x08056bc8 | 6 | |
0x43a0 | 0x08056c14 | 32 | |
0x6206 | 0x08056ca4 | 2 | |
0x6057 | 0x08056cf8 | 3 | |
0x1320 | 0x08056d04 | 5 | |
0x15b3 | 0x08056d24 | 2 | |
0x39c6 | 0x08056d38 | 1 | |
0x075c | 0x0805751c | 3 | |
0xaf8e | 0x0805755c | 10 | |
0x054a | 0x080586c0 | 2 | |
0x8400 | 0x0805c4a0 | 1 | |
0xf993 | 0x0805c640 | 1 | |
0x44bf | 0x0805c660 | 1 | |
0x1488 | 0x08069db8 | 1 | |
0x7314 | 0x0806ba58 | 5 | |
0x8954 | 0x0806f218 | 1 | |
0x23f4 | 0x0806f2cc | 1 | |
0xfd6b | 0x0806f5c0 | 1 | |
0xa2e4 | 0x0806fa14 | 10 | |
0x62aa | 0x08070834 | 7 | |
0xf200 | 0x080723d4 | 2 | |
0x2571 | 0x08072830 | 1 | |
0x1e97 | 0x08072854 | 1 | |
0xf8be | 0x08085d20 | 3 | |
0x05a5 | 0x0808e1d4 | 5 | |
0xc3bc | 0x08091e1c | 12 | |
0xe131 | 0x08095540 | 3 | |
0xccd3 | 0x0809add4 | 4 | |
0x680e | 0x0809ecc8 | 3 | |
0x9e8d | 0x080a2010 | 2 | |
0x87e4 | 0x080a5b54 | 2 | |
0x0ac7 | 0x080acba8 | 1 | |
0xdfdc | 0x080b54a8 | 5 | |
0xad03 | 0x080c44ac | 13 | |
0x98ec | 0x080d0bfc | 4 | |
0x6913 | 0x080ddcf4 | 3 | |
0xf836 | 0x080e6814 | 4 | |
0xbef5 | 0x080e986c | 1 | |
0x3f99 | 0x080ed2f0 | 1 | |
0x1744 | 0x080f1bd4 | 1 | |
0x2d30 | 0x080ff754 | 2 | |
0xf04b | 0x080ff87c | 1 | |
0x2207 | 0x0810026c | 4 | |
0x820b | 0x08100298 | 1 | |
0xab8e | 0x0810067c | 2 | |
0xa4fc | 0x08103110 | 5 | Elevator_Create(...) Creates an elevator. This only works after calling engine call 0xa16f. There are many possible keywords, this is just a subset: |
0xb1c4 | 0x08103adc | 1 | Elevator_Shake(n=elevator ID) - Shakes an elevator for 1 frame |
0x7e33 | 0x08103b94 | 2 | Elevator_Start(n=elevator ID, m=direction (1=down, 2=up, others?)) |
0xae3a | 0x08103c1c | 3 | |
0x5d74 | 0x08103cf8 | 15 | |
0x15ed | 0x08103dcc | 6 | |
0xced9 | 0x08103e60 | 1 | |
0xf1f9 | 0x08104350 | 3 | |
0x377d | 0x08106870 | 1 | |
0x2fa5 | 0x08107ebc | 1 | |
0x8192 | 0x0810858c | 2 | |
0x577e | 0x08108aa4 | 3 | |
0x287d | 0x08109ab0 | 1 | |
0x1745 | 0x0810b914 | 1 | |
0xc5bd | 0x0810bdb4 | 1 | |
0x1022 | 0x0810be58 | 1 | |
0xc52a | 0x081110f8 | 14 | |
0xcfd2 | 0x081119b8 | 5 | |
0x734c | 0x08111a48 | 4 | |
0x5d02 | 0x08111bc4 | 3 | |
0x055a | 0x08116bcc | 1 | |
0x296e | 0x08116bf0 | 1 | |
0xe3ee | 0x08119ef0 | 3 | |
0x8d76 | 0x0811a004 | 1 | |
0xe881 | 0x0811ab38 | 6 | |
0x1b0f | 0x0811b72c | 13 | |
0xe7bc | 0x0811b848 | 2 | |
0x9f1b | 0x0811bca8 | 1 | |
0x98d8 | 0x0811d1c0 | 2 | |
0x03aa | 0x0811d218 | 2 | |
0xc036 | 0x0811d234 | 2 | |
0x7245 | 0x0811d358 | 2 | |
0xf6cf | 0x0811d54c | 2 | |
0x3620 | 0x0811d6a0 | 1 | |
0xcc36 | 0x0811db54 | 7 | |
0x5e6e | 0x0811db6c | 2 | |
0x7905 | 0x0811dd64 | 74 | |
0x1e6e | 0x0811de68 | 9 | |
0xf3a3 | 0x0811e330 | 4 | |
0xa8cb | 0x08121268 | 1 | |
0x5986 | 0x0815a534 | 7 | |
0x5335 | 0x0815a5e8 | 2 | |
0x6779 | 0x0815a628 | 2 | |
0x1bee | 0x0815a668 | 14 | |
0x440f | 0x0815a680 | 4 | |
0xcb19 | 0x0815a6f4 | 3 | |
0x2bde | 0x0815a714 | 2 | |
0x0e15 | 0x0815a838 | 3 | |
0x5fda | 0x0815a86c | 7 | |
0xb603 | 0x0815aa0c | 6 | |
0xd9b7 | 0x0815aa7c | 2 | |
0x898d | 0x0815aab8 | 1 | |
0x233f | 0x0815ad24 | 1 | |
0x1cd6 | 0x0815ad3c | 1 | |
0x31a8 | 0x0815ad60 | 10 | |
0xefe6 | 0x0815ca20 | 18 | |
0xc12d | 0x0815ca88 | 6 | |
0x6f85 | 0x0815cac8 | 6 | |
0x3613 | 0x0815caf0 | 9 | Django_Lock() - Takes the player's control away, mostly for cutscenes. |
0x9ffd | 0x0815cb20 | 6 | |
0x061e | 0x0815cb58 | 2 | |
0x6e7d | 0x0815cb88 | 1 | |
0x5f70 | 0x0815cbc0 | 1 | |
0x933c | 0x0815cbf8 | 17 | Django_MoveTo(p=(x,y,z), e=callback script ID, d=?) - Causes Django to walk somewhere. Mostly for cutscenes. |
0x9763 | 0x0815ccf8 | 6 | |
0xbb01 | 0x0815cdac | 9 | |
0xb83e | 0x0815ce24 | 3 | |
0x7843 | 0x0815ce54 | 9 | |
0x409d | 0x0815cebc | 2 | |
0x40d7 | 0x0815ceec | 1 | |
0x3705 | 0x0815cf6c | 1 | |
0x1343 | 0x0815d0a0 | 1 | |
0x2593 | 0x0815d0ec | 5 | |
0xa2e1 | 0x0815d11c | 1 | |
0x827a | 0x0815d4e8 | 1 | |
0x4cdd | 0x0815d524 | 2 | |
0x4c4d | 0x0815d590 | 2 | Django_Unlock() - Undoes the effect of engine call 0x3613. |
0xf04a | 0x081630bc | 1 | |
0xded5 | 0x081632b4 | 3 | |
0x82b3 | 0x0816b70c | 4 | |
0x515d | 0x0816b734 | 8 | |
0x9817 | 0x0816b75c | 9 | |
0xaa62 | 0x0816b780 | 4 | |
0x54c1 | 0x0816b7a8 | 1 | |
0xa995 | 0x0816b834 | 1 | |
0x0c1b | 0x0816b884 | 59 | |
0x9fb7 | 0x0816cd6c | 8 | |
0x582b | 0x08178008 | 1 | |
0xc6aa | 0x0817809c | 129 | Textbox_CloseBox(m=?)
Without ‘m’ this is a nop? |
0x2fa0 | 0x081780d4 | 11 | |
0xa46e | 0x08178518 | 5 | |
0x585f | 0x08178544 | 1 | |
0xc8d1 | 0x08178564 | 2 | |
0xb0aa | 0x08178588 | 1 | |
0x4ec9 | 0x081803d8 | 2 | |
0x4d12 | 0x081af4f4 | 4 | |
0x1d61 | 0x081ba544 | 2 | |
0x6299 | 0x081ba57c | 1 | |
0x61a0 | 0x081bb294 | 2 | Solar Bank interest rate calcuation |
0x9e8b | 0x081bb38c | 7 | |
0x7a77 | 0x081bb3a0 | 5 | |
0xfb4a | 0x081c0bd4 | 1 | |
0xa864 | 0x081c1e00 | 1 | |
0x2804 | 0x081c4ba8 | 1 | |
0x654a | 0x081c5e84 | 1 | |
0x8ea3 | 0x081ce1bc | 6 | |
0xf9d7 | 0x081ce6dc | 2 | |
0xbb34 | 0x081d0c04 | 8 | |
0x8918 | 0x081d0f28 | 3 | |
0x6cbe | 0x081d105c | 1 | |
0x4ebf | 0x081d10d8 | 2 | |
0x789e | 0x081d116c | 1 | |
0xd774 | 0x081d2d1c | 1 | |
0xa76d | 0x081d51b0 | 1 | |
0xd1c0 | 0x081d5260 | 5 | |
0xa69d | 0x081d5358 | 1 | |
0xa10a | 0x081d7510 | 1 | |
0x02a7 | 0x081dba54 | 2 | |
0xfcd9 | 0x081dbb00 | 1 | |
0xe3b3 | 0x081dbf98 | 2 | |
0x317b | 0x081dc618 | 3 | |
0x1595 | 0x081dcd90 | 2 | |
0x7978 | 0x081dce34 | 1 | Load player's selected region when loading a save file |
0xfe3f | 0x081de520 | 3 | |
0x09f8 | 0x081df06c | 3 | |
0xbc12 | 0x081e03f4 | 2 | |
0x6866 | 0x081e1a2c | 2 | |
0xba1d | 0x081e269c | 2 | |
0xa99f | 0x081e4560 | 3 | |
0x0447 | 0x081e4600 | 5 | |
0x03ca | 0x081e46a0 | 3 | |
0xfa5d | 0x081e47e0 | 1 | |
0xb838 | 0x081e4880 | 1 | |
0x667c | 0x081e4920 | 1 | |
0x1a35 | 0x081e4fb0 | 1 | |
0x30a3 | 0x081e55cc | 3 | |
0x5b01 | 0x081ea1c0 | 1 | |
0x184d | 0x081ea71c | 1 | |
0x3578 | 0x081eb724 | 4 | |
0x65ee | 0x081ec0a8 | 2 | |
0x6a0f | 0x081ec310 | 1 | |
0x85c3 | 0x081f213c | 1 | |
0x2863 | 0x0820a460 | 5 | |
0x81c7 | 0x0820a4d0 | 3 | |
0x2c04 | 0x0820a540 | 1 | |
0xe832 | 0x0820a5b0 | 1 | |
0x056e | 0x0820a5cc | 2 | |
0x4a0a | 0x08210a60 | 1 | |
0x852d | 0x08210ac0 | 1 | |
0xaf10 | 0x08211804 | 1 | |
0x5d5f | 0x08212f70 | 1 | |
0x6389 | 0x08212fa0 | 3 | |
0x9882 | 0x08212ffc | 1 | |
0xec1f | 0x0821b028 | 3 | |
0xda5a | 0x0821e3c0 | 2 | |
0x3db8 | 0x0821e860 | 56 | |
0xec5b | 0x08224f8c | 2 | |
0x5c9e | 0x08225410 | 127 | With 0 parameters: Back up stat & world structs (see RAM map). With 1+ parameters: Back up specific pointers from the stat & world structs. |
0x2fe4 | 0x08225438 | 3 | |
0xa222 | 0x08225448 | 1 | |
0xa225 | 0x0822548c | 1 | |
0x46b4 | 0x082254a8 | 1 | |
0xbec2 | 0x082259a0 | 3 | |
0x30ad | 0x08225cb8 | 6 | Map_LoadMap(p=Map file ID, ...=?) |
0x7539 | 0x08225da0 | 6 | |
0x2141 | 0x08226658 | 3 | |
0x9769 | 0x08226670 | 35 | |
0x8071 | 0x082266d4 | 67 | Camera_PanTo(p=(x,y,z), f=duration_frames, R=callback script ID (optional)) - For cutscenes |
0xbbaa | 0x08226868 | 24 | |
0xf341 | 0x08226894 | 17 | Camera_Reset(f=duration_frames, R=callback script ID (optional)) - Centers the camera on Django (useful to undo engine call 0x3824) |
0xcaee | 0x082268c0 | 33 | |
0x184b | 0x08226b50 | 1 | Camera_ConnectToTilemap(...) - Positions the camera on the tile map (call every frame) |
0x180b | 0x08226c44 | 2 | |
0xa801 | 0x08226cd4 | 2 | |
0x0272 | 0x08227888 | 1 | |
0x0cd4 | 0x08227a10 | 105 | |
0xede2 | 0x08227d1c | 41 | |
0x1500 | 0x08227d40 | 5 | |
0x4ccd | 0x08227ecc | 1 | |
0xb45f | 0x082281f0 | 4 | |
0x904b | 0x082281fc | 1 | |
0x2354 | 0x08228234 | 2 | |
0x3f3b | 0x08228240 | 1 | |
0x058d | 0x0822824c | 1 | |
0x5cc4 | 0x08228288 | 1 | |
0x4e30 | 0x08228e94 | 1 | |
0xb55a | 0x08228ea0 | 15 | |
0x1c3e | 0x08228f20 | 1 | |
0xfbc1 | 0x08228f40 | 6 | |
0x3c47 | 0x08228f9c | 1 | |
0x5365 | 0x08228ff0 | 1 | |
0x2f01 | 0x08229044 | 6 | Time_GetType(result: u8*)
0, 4, 5 = night, else = day |
0x1833 | 0x0822906c | 1 | |
0x2f51 | 0x08229070 | 1 | |
0x5933 | 0x082290e8 | 1 | |
0x53bf | 0x0822aee0 | 36 | Sound_PlayMusic(i=sound ID) - Plays music. Exactly the same as engine call 0xe7ca. |
0xe7ca | 0x0822aef8 | 76 | Sound_PlaySfx(i=sound ID) - Plays a sound effect. Exactly the same as engine call 0x53bf. |
0x364d | 0x0822af5c | 6 | |
0xd0c7 | 0x0822b040 | 41 | |
0x6aff | 0x0822b0b0 | 36 | |
0xe6f2 | 0x0822b230 | 40 | |
0xee18 | 0x0822b280 | 2 | |
0x1870 | 0x0822b340 | 111 | |
0xef1f | 0x0822b3a4 | 24 | |
0xca3d | 0x0822b4e8 | 2 | |
0x1422 | 0x0822ba10 | 2 | |
0x3c8d | 0x0822bfc8 | 1 | |
0x40f8 | 0x0822c010 | 2 | |
0x31ff | 0x0822c220 | 9 | |
0x305a | 0x0822cf0c | 28 | Inventory_GiveItem(i=item_id, n=amount) |
0x3a5d | 0x0822cfb4 | 16 | Inventory_RemoveItem(i=item, n=amount) |
0xb75d | 0x0822cfd0 | 1 | |
0x814c | 0x0822d064 | 24 | |
0x71c6 | 0x0822d448 | 4 | |
0x4d88 | 0x0822d5d0 | 7 | |
0x3757 | 0x0822db54 | 3 | |
0x65e2 | 0x0822de64 | 4 | |
0xa92e | 0x0822e010 | 1 | |
0x297e | 0x0822e304 | 3 | |
0x01ab | 0x0822e340 | 3 | |
0xe083 | 0x0822e504 | 5 | GiveMagic(m=magic) |
0x1887 | 0x0822e564 | 3 | |
0x4043 | 0x0822e904 | 2 | |
0x1606 | 0x0822e924 | 4 | |
0x7fdd | 0x0822e9c8 | 1 | |
0x60fd | 0x0822eca8 | 3 | |
0xfe88 | 0x0822ecc8 | 4 |
Unreferenced
ID | Address | Description |
---|---|---|
0x9053 | 0x08002894 | |
0xd285 | 0x08002a58 | |
0xf404 | 0x080047ec | |
0x0e76 | 0x080048f4 | |
0x8153 | 0x0800619c | |
0xf0cc | 0x080061b4 | |
0x90b4 | 0x08008988 | |
0xfd86 | 0x08008a00 | |
0x8602 | 0x08009454 | |
0x19cc | 0x080094a0 | |
0x1f65 | 0x08009d84 | |
0x78ee | 0x0800a78c | |
0xe0a5 | 0x0800a7d0 | |
0x55c2 | 0x0800cb60 | |
0x95f8 | 0x0800f80c | |
0xe534 | 0x080111a8 | |
0xc673 | 0x08011814 | |
0x4963 | 0x080126dc | |
0x73fe | 0x08013dc0 | |
0x435e | 0x08013e74 | |
0x86f3 | 0x08013ed0 | |
0xdb6c | 0x08013f24 | |
0x4235 | 0x08018348 | |
0x82b7 | 0x08018ef0 | |
0xace3 | 0x080194dc | |
0xd9d3 | 0x0801959c | |
0xb1f3 | 0x080199c4 | |
0x612e | 0x0801e8b8 | |
0x5a36 | 0x0801e998 | |
0x3d6b | 0x08028e18 | |
0x7f87 | 0x0802c818 | |
0x2d87 | 0x0802d570 | |
0x930f | 0x08030fa8 | |
0x9b3e | 0x08031098 | |
0xfea2 | 0x080310d8 | |
0x75af | 0x080310f4 | |
0x8f41 | 0x080311e0 | |
0x7974 | 0x0803139c | |
0x025e | 0x080369d4 | |
0x8d5c | 0x080422dc | |
0x4561 | 0x0804a294 | |
0x7a0a | 0x0804a400 | |
0x162e | 0x0804d734 | |
0xb6ce | 0x0804f774 | |
0xddf8 | 0x08050860 | |
0x2924 | 0x0805086c | |
0x3062 | 0x080508e4 | |
0x7c62 | 0x08053d44 | |
0x4759 | 0x08054250 | |
0xc46e | 0x08054b08 | |
0xb47e | 0x08054c98 | |
0xdea2 | 0x08054d38 | |
0x65e1 | 0x08055794 | |
0x79b7 | 0x080561e8 | |
0x9129 | 0x08057648 | |
0x6414 | 0x0805c470 | |
0x1722 | 0x0805c564 | |
0x29f1 | 0x0805c614 | |
0xf41a | 0x08063f00 | |
0x80e2 | 0x0806458c | |
0xae71 | 0x080697c8 | |
0x9700 | 0x0806f768 | |
0x300f | 0x0806f990 | |
0xc12a | 0x080704ec | |
0x7659 | 0x080706dc | |
0xc1f2 | 0x080707ec | Enemy_Sleep(n=enemy id) - Makes an enemy fall asleep |
0x4fd1 | 0x08070910 | |
0x60fb | 0x08070a40 | |
0x4e22 | 0x08070a90 | |
0x286b | 0x08070b1c | |
0xe019 | 0x08070ee4 | |
0x6790 | 0x08070f10 | |
0xb3d7 | 0x08072264 | |
0xc7dc | 0x080722c0 | |
0xe1c6 | 0x08072774 | |
0x9311 | 0x080727c4 | |
0x0740 | 0x080727ec | |
0xdfab | 0x08100248 | |
0x7a75 | 0x08103b14 | |
0x3e91 | 0x08103c54 | |
0x54df | 0x08103d84 | |
0x5844 | 0x08103e08 | |
0x0bce | 0x08103ebc | |
0x0ee4 | 0x08108244 | |
0x3215 | 0x081082a8 | |
0x779f | 0x081082dc | |
0xe23f | 0x08119f44 | |
0xc272 | 0x0811d63c | |
0x5234 | 0x0811d66c | |
0x4260 | 0x08121338 | |
0xc3a7 | 0x0815a578 | |
0xea00 | 0x0815a73c | |
0xdd0e | 0x0815a938 | |
0x650b | 0x0815a97c | Create password menu |
0x89c6 | 0x0815a9d8 | |
0x4a8d | 0x0815aa38 | |
0xe9e2 | 0x0815aafc | |
0x70c6 | 0x0815acf4 | |
0x8fa3 | 0x0815ca48 | |
0xe4a3 | 0x0815ce8c | |
0x58d7 | 0x0815cf24 | |
0x7a25 | 0x0815cfbc | |
0x172d | 0x0815d008 | |
0x4127 | 0x0815d070 | |
0xea96 | 0x0815d154 | |
0xcafe | 0x0815d18c | |
0xaf43 | 0x0815d1c4 | |
0xddee | 0x0815d1fc | |
0xc233 | 0x0815d234 | |
0xb683 | 0x0815d26c | |
0x9ac8 | 0x0815d2a4 | |
0xd40e | 0x0815d2dc | |
0x1f3b | 0x0815d314 | |
0x490f | 0x0815d358 | |
0x7ce7 | 0x0816b7ec | |
0x0bfd | 0x0816b8d8 | |
0x29ee | 0x0816b92c | |
0xda19 | 0x0816c9ac | |
0xdf85 | 0x08178084 | |
0xccd9 | 0x08178090 | |
0x99f8 | 0x08178184 | |
0xefd1 | 0x081784c0 | |
0xe00d | 0x081c065c | |
0x3da2 | 0x081c2ecc | |
0x9079 | 0x081c2f8c | |
0x166e | 0x081c4058 | |
0x62eb | 0x081c406c | |
0xbd3d | 0x081c6b84 | |
0x11d9 | 0x081d1150 | |
0x82c8 | 0x081d2d28 | |
0x9dfe | 0x081d2d34 | |
0xc946 | 0x081d4d9c | |
0xa7ce | 0x081d53a0 | |
0x1b88 | 0x081da720 | |
0x6e11 | 0x081e078c | |
0x2c8a | 0x081e07d8 | |
0xcc8d | 0x081e0cb4 | |
0xa67b | 0x081e0d18 | |
0x225b | 0x081e4740 | |
0x3e17 | 0x081e49c0 | |
0xab9c | 0x081e4a60 | |
0x3d17 | 0x081e4db4 | |
0xd0ce | 0x081e4edc | |
0x69cd | 0x081e5098 | |
0x7f67 | 0x081e51a4 | |
0x7f44 | 0x081e5264 | |
0xa3b3 | 0x081e5324 | |
0x5276 | 0x081e53c4 | |
0xd169 | 0x081e54c0 | |
0xb50d | 0x081e5560 | |
0x48b3 | 0x081e5594 | |
0xa3aa | 0x081e9e44 | |
0xd826 | 0x081f2088 | |
0x546d | 0x082117c4 | |
0xebf1 | 0x082117e4 | |
0x194a | 0x08211960 | |
0xb0ce | 0x082119ac | |
0xeaac | 0x08224f98 | |
0x619c | 0x08226748 | |
0xc15e | 0x082267d0 | |
0x75b7 | 0x08226ac8 | |
0xa39f | 0x08227ad4 | |
0x4b41 | 0x08227b80 | |
0xab41 | 0x08227c2c | |
0x138e | 0x08227d64 | |
0x6487 | 0x08227e00 | |
0x686e | 0x08227e18 | |
0x81c4 | 0x08227ea8 | |
0xae4e | 0x08227f3c | |
0x3c48 | 0x08227f4c | |
0x3e93 | 0x08227f58 | |
0x7806 | 0x08227f68 | |
0xed2e | 0x082281cc | |
0x9146 | 0x08229074 | |
0x4ed4 | 0x0822afd0 | |
0x3ea2 | 0x0822b168 | |
0x4cbb | 0x0822b1c0 | |
0x3ed0 | 0x0822b298 | |
0xe6ca | 0x0822b4ac | |
0x1693 | 0x0822b968 | |
0xadb6 | 0x0822ba58 | |
0x79ec | 0x0822baa0 | |
0x4b57 | 0x0822c180 | |
0x4b39 | 0x0822c18c | |
0xd916 | 0x0822dc24 | |
0x7d90 | 0x0822dc78 | |
0xf11c | 0x0822de14 | |
0x2572 | 0x0822e3f0 | |
0x83e7 | 0x0822e530 |