Difference between revisions of "WORLD.BIN Routines"
Line 71: | Line 71: | ||
[[000e1ec4 - 000e1ed4]]: | [[000e1ec4 - 000e1ed4]]: | ||
− | [[000e1ed8 - 000e1ee8]]: | + | [[000e1ed8 - 000e1ee8]]: [[Set Scroll Sound Effect (WORLD.BIN)]] |
[[000e1eec - 000e1efc]]: | [[000e1eec - 000e1efc]]: | ||
Line 145: | Line 145: | ||
[[000e4268 - 000e4664]]: | [[000e4268 - 000e4664]]: | ||
− | [[000e4668 - 000e4b00]]: | + | [[000e4668 - 000e4b00]]: [[Find Text Coordinates (WORLD.BIN)]] |
[[000e4b04 - 000e4bf0]]: | [[000e4b04 - 000e4bf0]]: | ||
Line 157: | Line 157: | ||
[[000e4d9c - 000e6ed8]]: | [[000e4d9c - 000e6ed8]]: | ||
− | [[000e6edc - 000e6f10]]: | + | [[000e6edc - 000e6f10]]: [[Find Text Entry (WORLD.BIN)]] |
[[000e6f14 - 000e6f60]]: | [[000e6f14 - 000e6f60]]: | ||
Line 709: | Line 709: | ||
[[000fda54 - 000fdaa0]]: | [[000fda54 - 000fdaa0]]: | ||
− | [[000fdaa4 - 000fdb18]]: | + | [[000fdaa4 - 000fdb18]]: [[Image Loading Setup (0xfdaa4)]] |
[[000fdb1c - 000fdb5c]]: | [[000fdb1c - 000fdb5c]]: | ||
Line 737: | Line 737: | ||
[[000fe6e8 - 000fe770]]: | [[000fe6e8 - 000fe770]]: | ||
− | [[000fe774 - 000fe7a0]]: | + | [[000fe774 - 000fe7a0]]: [[Display Menu Text Entry (WORLD.BIN)]] |
[[000fe7a4 - 000fe7d0]]: | [[000fe7a4 - 000fe7d0]]: | ||
− | [[000fe7d4 - 000fe814]]: | + | [[000fe7d4 - 000fe814]]: [[Display Specific Menu Text (WORLD.BIN)]] |
− | [[000fe818 - 000fef30]]: | + | [[000fe818 - 000fef30]]: [[Display Menu Text (WORLD.BIN)]] |
[[000fef34 - 000fefec]]: | [[000fef34 - 000fefec]]: | ||
Line 773: | Line 773: | ||
[[000ffe10 - 000ffe24]]: [[Mark Thread As Stopped (WORLD.BIN)]] | [[000ffe10 - 000ffe24]]: [[Mark Thread As Stopped (WORLD.BIN)]] | ||
− | [[000ffe28 - 000ffe60]]: | + | [[000ffe28 - 000ffe60]]: [[Stop Current Thread (WORLD.BIN)]] |
[[000ffe64 - 000ffe9c]]: | [[000ffe64 - 000ffe9c]]: | ||
Line 785: | Line 785: | ||
[[000fff28 - 000fff4c]]: | [[000fff28 - 000fff4c]]: | ||
− | [[000fff50 - 00100080]]: | + | [[000fff50 - 00100080]]: [[Switch To Next Thread (WORLD.BIN)]] |
[[00100084 - 0010008c]]: | [[00100084 - 0010008c]]: | ||
Line 803: | Line 803: | ||
[[001002d8 - 00100344]]: | [[001002d8 - 00100344]]: | ||
− | [[00100348 - 00100380]]: | + | [[00100348 - 00100380]]: [[Get Inner Text (WORLD.BIN)]] |
− | [[00100384 - 001003f4]]: | + | [[00100384 - 001003f4]]: [[Call Inner Subroutine (WORLD.BIN)]] |
[[001003f8 - 00100424]]: | [[001003f8 - 00100424]]: | ||
Line 963: | Line 963: | ||
[[001086a0 - 0010891c]]: | [[001086a0 - 0010891c]]: | ||
− | [[00108920 - 001089f4]]: | + | [[00108920 - 001089f4]]: [[Generate Formation Unit Name String]] |
[[001089f8 - 00108a04]]: | [[001089f8 - 00108a04]]: | ||
Line 1,105: | Line 1,105: | ||
[[00113748 - 00113dd0]]: | [[00113748 - 00113dd0]]: | ||
− | [[00113dd4 - 00113efc]]: | + | [[00113dd4 - 00113efc]]: [[? 0x113dd4]] |
[[00113f00 - 00114084]]: | [[00113f00 - 00114084]]: | ||
Line 1,225: | Line 1,225: | ||
[[0011a2c8 - 0011a374]]: | [[0011a2c8 - 0011a374]]: | ||
− | [[0011a378 - 0011a4e0]]: | + | [[0011a378 - 0011a4e0]]: [[? 0x11a378]] |
[[0011a4e4 - 0011a594]]: | [[0011a4e4 - 0011a594]]: | ||
Line 1,233: | Line 1,233: | ||
[[0011a684 - 0011a774]]: | [[0011a684 - 0011a774]]: | ||
− | [[0011a778 - 0011a87c]]: | + | [[0011a778 - 0011a87c]]: [[? 0x11a778]] |
[[0011a880 - 0011a950]]: | [[0011a880 - 0011a950]]: | ||
Line 1,351: | Line 1,351: | ||
[[0011f5a0 - 0011f5ec]]: | [[0011f5a0 - 0011f5ec]]: | ||
− | [[0011f5f0 - 0011fc14]]: | + | [[0011f5f0 - 0011fc14]]: [[Learn Abilities Menu]] |
[[0011fc18 - 0011fd24]]: | [[0011fc18 - 0011fd24]]: | ||
Line 1,383: | Line 1,383: | ||
00120bb0 - 001210e4: [[Load party data into Formation screen data]] | 00120bb0 - 001210e4: [[Load party data into Formation screen data]] | ||
− | [[001210e8 - 001212b4]]: | + | [[001210e8 - 001212b4]]: [[? 0x1210e8]] (Formation screen related) |
[[001212b8 - 00121564]]: | [[001212b8 - 00121564]]: | ||
Line 1,413: | Line 1,413: | ||
[[001223e4 - 00122438]]: | [[001223e4 - 00122438]]: | ||
− | 0012243c - 00122480: [[Get Base Job]] | + | 0012243c - 00122480: [[Get Base Job (Formation Screen)]] |
00122488 - 00122530: [[Set Jobs unlocked by others]] | 00122488 - 00122530: [[Set Jobs unlocked by others]] | ||
Line 1,419: | Line 1,419: | ||
[[00122534 - 00122578]]: | [[00122534 - 00122578]]: | ||
− | 0012257c - 0012276B: [[Job Wheel]] Disable innates for current job | + | 0012257c - 0012276B: [[Calculate Job Wheel Jobs]] | [[Job Wheel]] Disable innates for current job |
*The main routine for the Job Wheel? | *The main routine for the Job Wheel? | ||
Line 1,490: | Line 1,490: | ||
[[0012502c - 00125370]]: | [[0012502c - 00125370]]: | ||
− | [[00125374 - 001253d0]]: | + | [[00125374 - 001253d0]]: [[Sort equipment as weapon/shield/hat/body/other based on item number]] |
[[001253d4 - 0012553c]]: | [[001253d4 - 0012553c]]: | ||
Line 1,598: | Line 1,598: | ||
[[00129b6c - 00129b78]]: | [[00129b6c - 00129b78]]: | ||
− | [[00129b7c - 00129ce8]]: | + | [[00129b7c - 00129ce8]]: [[Menu Page Up/Down]] |
[[00129cec - 00129e48]]: | [[00129cec - 00129e48]]: | ||
Line 1,604: | Line 1,604: | ||
[[00129e4c - 0012a088]]: | [[00129e4c - 0012a088]]: | ||
− | [[0012a08c - 0012a0e4]]: | + | [[0012a08c - 0012a0e4]]: [[? 0x12a08c]] |
[[0012a0e8 - 0012a36c]]: | [[0012a0e8 - 0012a36c]]: | ||
Line 1,680: | Line 1,680: | ||
[[0012bb20 - 0012bb84]]: | [[0012bb20 - 0012bb84]]: | ||
− | [[0012bb88 - 0012bd10]]: | + | [[0012bb88 - 0012bd10]]: [[Find New Formation Screen Unit Index]] (Checks directional input, L1/R1) |
[[0012bd14 - 0012bd78]]: | [[0012bd14 - 0012bd78]]: | ||
Line 1,920: | Line 1,920: | ||
[[0013649c - 00136544]]: | [[0013649c - 00136544]]: | ||
− | [[00136548 - 001368d8]]: | + | [[00136548 - 001368d8]]: [[Fitting Room Related (0x136548)]] |
[[001368dc - 00136c6c]]: | [[001368dc - 00136c6c]]: | ||
Line 1,930: | Line 1,930: | ||
[[00136eb0 - 00137028]]: | [[00136eb0 - 00137028]]: | ||
− | [[0013702c - 001370f8]]: | + | [[0013702c - 001370f8]]: [[Buy From Fitting Room]] |
[[001370fc - 00137374]]: | [[001370fc - 00137374]]: |
Revision as of 23:48, 4 August 2020
WORLD.BIN RAM
000e1ed8 - 000e1ee8: Set Scroll Sound Effect (WORLD.BIN)
000e4668 - 000e4b00: Find Text Coordinates (WORLD.BIN)
000e6edc - 000e6f10: Find Text Entry (WORLD.BIN)
000ebb08 - 000ebdc8: Handle Menu Action (WORLD.BIN)
000ecf20 - 000ed100: Handle Formation Screen Triangle Menu
000ef1a8 - 000ef258: Get Script Variable (WORLD.BIN) | Load Main Variable
000ef25c - 000ef2f4: Set Script Variable (WORLD.BIN) | Store Main Variable
000fd7c4 - 000fd86c: Get Address of Main Data to load/store
- modifies the address offset to be a word or a byte
000fda34 - 000fda50: Get Menu Controller Input (WORLD.BIN)
000fdaa4 - 000fdb18: Image Loading Setup (0xfdaa4)
000fdcf0 - 000fdf34: Image Loading Setup? (0xfdcf0)
000fe774 - 000fe7a0: Display Menu Text Entry (WORLD.BIN)
000fe7d4 - 000fe814: Display Specific Menu Text (WORLD.BIN)
000fe818 - 000fef30: Display Menu Text (WORLD.BIN)
000ffd70 - 000ffdf0: Initialize Thread (WORLD.BIN)
000ffdf4 - 000ffe0c: Mark Thread As Running (WORLD.BIN)
000ffe10 - 000ffe24: Mark Thread As Stopped (WORLD.BIN)
000ffe28 - 000ffe60: Stop Current Thread (WORLD.BIN)
000ffeec - 000fff04: Check Thread Running Status (WORLD.BIN)
000fff50 - 00100080: Switch To Next Thread (WORLD.BIN)
00100090 - 001000c0: Get First Thread Parameter (WORLD.BIN)
001000c4 - 001000f4: Get Second Thread Parameter (WORLD.BIN)
00100164 - 00100184: Check Thread Running Status (WORLD.BIN) (0x100164)
00100348 - 00100380: Get Inner Text (WORLD.BIN)
00100384 - 001003f4: Call Inner Subroutine (WORLD.BIN)
001086a0 - 00108918: World Map Cursor Idle
00108920 - 001089f4: Generate Formation Unit Name String
0011241c - 00112608: Handle Simple Selection Menu (WORLD.BIN)
00113dd4 - 00113efc: ? 0x113dd4
001140bc - 00114754: Formation Screen Frame Processing
00118d04 - 00118e8c: Get Job Level
0011a378 - 0011a4e0: ? 0x11a378
0011a778 - 0011a87c: ? 0x11a778
0011e630 - 0011ed10: Set Ability Menu
0011ee04 - 0011ee74: Routine that re-equips character if "max equip at job change" is on and character changes to a relevant support ability
0011f5f0 - 0011fc14: Learn Abilities Menu
001200f8 - 001202f8: Order Unit Menu Processing
00120344 - 001207b8: Handle Dismiss Unit Menu
001207bc - 00120818: Obtain Gil
001208f8 - 0012092c: Dismiss-able check
00120930 - 001209c0: Dismiss unit (by formation index) (with checks)
00120afc - 00120b8c: two hands check for equipping weapons
00120b90 - 00120bac: Special monster check
00120bb0 - 001210e4: Load party data into Formation screen data
001210e8 - 001212b4: ? 0x1210e8 (Formation screen related)
001223b8 - 001223dc: Default to base job if not generic job
0012243c - 00122480: Get Base Job (Formation Screen)
00122488 - 00122530: Set Jobs unlocked by others
0012257c - 0012276B: Calculate Job Wheel Jobs | Job Wheel Disable innates for current job
- The main routine for the Job Wheel?
0012276c - 00122788: get job's skillset
00122790 - 0012287c: get known skillsets
00122884 - 001228a4: Check For Two Swords
001228f0 - 00122c18: Skillset Display
00122f0c - 00122f98: Contains the previews for Move/Jump +1/2/3
00122f9c - 001231c8: Item Previews
00122c20 - 00122e3c: "Set Ability" menu display
0010cab0 - 0010cbd8: Portrait loading routine
001247e8 - 00124998: Contains "Max equip at job change"
00125374 - 001253d0: Sort equipment as weapon/shield/hat/body/other based on item number
00125540 - 001255e0: Locks the screen that allows equipment/ability change if unit is Monster or Mime
00125a04 - 00125cf8: Store New Seed and Lay Eggs
0012895c - 00128c78: Load menu entries (job list, skillset ability list, etc.)
00129b7c - 00129ce8: Menu Page Up/Down
0012a08c - 0012a0e4: ? 0x12a08c
0012ab78 - 0012ac10: Run Menu Thread (WORLD.BIN)
0012b1b4 - 0012b1c8: Store Data Pointer
0012b1d0 - 0012b1e4: Store Data Pointer 2
0012b1ec - 0012b290: Check for Present Flags
0012b354 - 0012b3fc: check if job is unlocked (runs twice to check)
0012b970 - 0012ba0c: Set Ability Cursor movement
0012ba14 - 0012ba74: Jump to cursor movement routine
0012bb88 - 0012bd10: Find New Formation Screen Unit Index (Checks directional input, L1/R1)
0012cfd4 - 0012d254: Previews?
00136548 - 001368d8: Fitting Room Related (0x136548)
0013702c - 001370f8: Buy From Fitting Room
0013a300 - 00169cb0:
00169cb4 - 0016c798:
0016c79c - 001752d8:
001752dc - 00176be4:
00176be8 - 0017a9cc:
0017a9d0 - 0017be24:
0017be28 - 0017c07c:
0017c080 - 0018028c:
00180290 - 00185c44:
00185c48 -
ENDENDENDENDENDENDENDENDENDENDENDENDENDENDEND