Difference between revisions of "WLDCORE.BIN Routines"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Titled the routines related to World Conditionals)
(Title for routine at 0x00081744)
 
(One intermediate revision by the same user not shown)
Line 448: Line 448:
 
[[00080e54 - 00081740]]:
 
[[00080e54 - 00081740]]:
  
[[00081744 - 00081d64]]:
+
00081744 - 00081d64: [[Prepare Brave Story menu options]]
  
 
[[00081d68 - 00082118]]:
 
[[00081d68 - 00082118]]:
Line 808: Line 808:
 
000913dc - 000913f4: [[World Map Script 0x18]] - add 4 to value at 0x800d4650
 
000913dc - 000913f4: [[World Map Script 0x18]] - add 4 to value at 0x800d4650
  
000913f8 - 0009144c: [[World Map Script 0x01]] - **Var =**
+
000913f8 - 0009144c: [[World Map Script 0x01]] - '''Var ='''
  
 
00091450 - 000914b8: [[Store Script Data into r4 and r5]]
 
00091450 - 000914b8: [[Store Script Data into r4 and r5]]
 
*This routine is used in the World Map Script 0x01 - 0x03
 
*This routine is used in the World Map Script 0x01 - 0x03
  
000914bc - 00091514: [[World Map Script 0x02]] - **Var >=**
+
000914bc - 00091514: [[World Map Script 0x02]] - '''Var >='''
  
00091518 - 00091570: [[World Map Script 0x03]] - **Var <=**
+
00091518 - 00091570: [[World Map Script 0x03]] - '''Var <='''
  
00091574 - 0009162c: [[World Map Script 0x04]] - **HasUnit**
+
00091574 - 0009162c: [[World Map Script 0x04]] - '''HasUnit'''
  
 
00091630 - 00091648: [[World Map Script 0x0C]] - add 1 to value at 0x800d4650
 
00091630 - 00091648: [[World Map Script 0x0C]] - add 1 to value at 0x800d4650
Line 823: Line 823:
 
0009164c - 00091664: [[World Map Script 0x0D]] - add 1 to value at 0x800d4650
 
0009164c - 00091664: [[World Map Script 0x0D]] - add 1 to value at 0x800d4650
  
00091668 - 000916d8: [[World Map Script 0x0E]] - **Gil>=**
+
00091668 - 000916d8: [[World Map Script 0x0E]] - '''Gil>='''
  
000916dc - 0009174c: [[World Map Script 0x0F]] - **Gil<=**
+
000916dc - 0009174c: [[World Map Script 0x0F]] - '''Gil<='''
  
00091750 - 000917c8: [[World Map Script 0x10]] - **Date>=**
+
00091750 - 000917c8: [[World Map Script 0x10]] - '''Date>='''
  
 
000917cc - 00091870: [[Store Script and Date]]
 
000917cc - 00091870: [[Store Script and Date]]
 
*This routine is used in the World Map Script 0x10 and 0x11
 
*This routine is used in the World Map Script 0x10 and 0x11
  
00091874 - 000918ec: [[World Map Script 0x11]] - **Date<=**
+
00091874 - 000918ec: [[World Map Script 0x11]] - '''Date<='''
  
000918F0 - 00091960: [[World Map Script 0x12]] - **Casualties>=**
+
000918F0 - 00091960: [[World Map Script 0x12]] - '''Casualties>='''
  
00091964 - 000919d4: [[World Map Script 0x13]] - **Casualties<=**
+
00091964 - 000919d4: [[World Map Script 0x13]] - '''Casualties<='''
  
000919d8 - 00091a44: [[World Map Script 0x19]] - **LoadEvent**
+
000919d8 - 00091a44: [[World Map Script 0x19]] - '''LoadEvent'''
  
00091a48 - 00091ae0: [[World Map Script 0x1A]] - **Choice**
+
00091a48 - 00091ae0: [[World Map Script 0x1A]] - '''Choice'''
  
00091ae4 - 00091b14: [[World Map Script 0x1C]] - **SetVar**
+
00091ae4 - 00091b14: [[World Map Script 0x1C]] - '''SetVar'''
  
00091b18 - 00091b60: [[World Map Script 0x1D]] - **Text**
+
00091b18 - 00091b60: [[World Map Script 0x1D]] - '''Text'''
  
00091b64 - 00091bf4: [[World Map Script 0x1E]] - **DDEntry**
+
00091b64 - 00091bf4: [[World Map Script 0x1E]] - '''DDEntry'''
  
00091bf8 - 00091c64: [[World Map Script 0x1F]] - **SetVar2**
+
00091bf8 - 00091c64: [[World Map Script 0x1F]] - '''SetVar2'''
  
00091c68 - 00091cd4: [[World Map Script 0x20]] - **DrawPath**
+
00091c68 - 00091cd4: [[World Map Script 0x20]] - '''DrawPath'''
  
00091cd8 - 00091d44: [[World Map Script 0x21]] - **ErasePath**
+
00091cd8 - 00091d44: [[World Map Script 0x21]] - '''ErasePath'''
  
00091d48 - 00091d84: [[World Map Script 0x22]] - **DrawLocation**
+
00091d48 - 00091d84: [[World Map Script 0x22]] - '''DrawLocation'''
  
00091d88 - 00091dc4: [[World Map Script 0x23]] - **EraseLocation**
+
00091d88 - 00091dc4: [[World Map Script 0x23]] - '''EraseLocation'''
  
00091dc8 - 00091e80: [[World Map Script 0x24]] - **FocusLocation**
+
00091dc8 - 00091e80: [[World Map Script 0x24]] - '''FocusLocation'''
  
00091e84 - 00091efc: [[World Map Script 0x25]] - **MCBrave>=**
+
00091e84 - 00091efc: [[World Map Script 0x25]] - '''MCBrave>='''
  
 
00091f00 - 00091f70: [[WLDCORE Get Ramza's Roster Index]]
 
00091f00 - 00091f70: [[WLDCORE Get Ramza's Roster Index]]
 
*This routine is used in the World Map Scripts 0x25 - 0x28
 
*This routine is used in the World Map Scripts 0x25 - 0x28
  
00091f74 - 00091fec: [[World Map Script 0x26]] - **MCBrave<=**
+
00091f74 - 00091fec: [[World Map Script 0x26]] - '''MCBrave<='''
  
00091ff0 - 00092068: [[World Map Script 0x27]] - **MCFaith>=**
+
00091ff0 - 00092068: [[World Map Script 0x27]] - '''MCFaith>='''
  
0009206c - 000920e4: [[World Map Script 0x28]] - **MCFaith<=**
+
0009206c - 000920e4: [[World Map Script 0x28]] - '''MCFaith<='''
  
 
[[000920e8 - 00092144]]:
 
[[000920e8 - 00092144]]:

Latest revision as of 15:10, 4 March 2025

000672f8 - 00067480:

00067484 - 000674dc:

000674e0 - 000677a0:

000677a4 - 00067a74:

00067a78 - 00067c28:

00067c2c - 00067cb0:

00067cb4 - 00067d6c:

00067d70 - 00067e34:

00067e38 - 0006829c:

000682a0 - 00068304:

00068308 - 000683f8:

000683fc - 00068588:

0006858c - 000685dc:

000685e0 - 0006863c:

00068640 - 000686c4:

000686c8 - 00068728:

0006872c - 00068a64:

00068a68 - 00068ab0:

00068ab4 - 00068b38:

00068b3c - 00068bc0:

00068bc4 - 00068c60:

00068c64 - 00068d3c:

00068d40 - 00068d70:

00068d74 - 00068da0:

00068da4 - 00068e6c: Reset game if special keycode is pressed

00068e70 - 00068fa4:

00068fa8 - 0006900c:

00069010 - 000692a8:

000692ac - 000693fc:

00069400 - 000694a4:

000694a8 - 00069714:

00069718 - 0006980c:

00069810 - 00069914:

00069918 - 00069930:

00069934 - 000699e0: Set some proposition data

000699e4 - 00069ad4: Set Propositions based on location

00069918 - 0006992c: Get Proposition? Data Pointer

000699e4 - 00069ad8:

00069adc - 00069bac:

00069bb0 - 00069d3c:

00069d40 - 00069e34:

80069E38 - 80069E57: WLDCORE Get Party Data

00069e38 - 00069e54:

00069e58 - 00069f00:

00069f04 - 0006a014:

0006a018 - 0006a0a8:

0006a0ac - 0006a0f4:

0006a0f8 - 0006a13c:

0006a140 - 0006a588:

0006a58c - 0006a884:

0006a888 - 0006a9d4:

0006a9d8 - 0006abc4:

0006abc8 - 0006ac04:

0006ac08 - 0006ac94:

0006ac98 - 0006ad24:

0006ad28 - 0006ae1c:

0006ae20 - 0006aecc:

0006aed0 - 0006b268: 0x6aed0

0006b26c - 0006b45c:

0006b460 - 0006b544:

0006b548 - 0006b674:

0006b678 - 0006b788:

0006b78c - 0006bad0:

0006bad4 - 0006bbc4:

0006bbc8 - 0006bd80:

0006bd84 - 0006bf98:

0006bf9c - 0006c104:

0006c108 - 0006c1f8:

0006c1fc - 0006c244:

0006c248 - 0006c34c:

0006c350 - 0006c3d8:

0006c3dc - 0006c444: Bar Menu Idle Routine

0006c3dc - 0006c448:

0006c44c - 0006c4b8:

0006c4bc - 0006c528:

0006c52c - 0006c7a8:

0006c7ac - 0006c840:

0006c844 - 0006c890:

0006c894 - 0006c9f8:

0006c9fc - 0006d7f0:

0006d7f4 - 0006d924:

0006d928 - 0006da84:

0006da88 - 0006dbb4:

0006dbb8 - 0006de4c:

0006de50 - 0006df48:

0006df4c - 0006e0f8:

0006e0fc - 0006e204:

0006e208 - 0006e4a4:

0006e4a8 - 0006e778:

0006e77c - 0006e85c:

0006e860 - 0006e9b8:

0006e9bc - 0006ea8c:

0006ea90 - 0006ed2c:

0006ed30 - 0006eee8:

0006eeec - 0006f290:

0006f294 - 0006f358:

0006f35c - 0006f524:

0006f528 - 0006f678:

0006f67c - 0006f74c:

0006f750 - 0006f7b4:

0006f7b8 - 0006faec:

0006faf0 - 000702e0:

000702e4 - 00070318:

0007031c - 00070354:

00070358 - 00070964:

00070968 - 00070aa4:

00070aa8 - 00070be0:

00070be4 - 00070efc:

00070f00 - 000710e4:

000710e8 - 00071194:

00071198 - 000712ac:

000712b0 - 00071488:

0007148c - 000718cc:

000718d0 - 000719b8:

000719bc - 00071a9c:

00071aa0 - 00071bac:

00071bb0 - 00072064: Bar Menu Controller Input Routine

00071bb0 - 00072068:

0007206c - 000723b0: Set Rumors based on location

0007206c - 000723b4:

000723b8 - 000723ec:

000723f0 - 00072400:

00072404 - 00072444:

00072448 - 00072614:

00072618 - 00072884:

00072888 - 00072a14:

00072a18 - 00072ea4:

00072ea8 - 00072edc:

00072ee0 - 00072ef0:

00072ef4 - 00072f34:

00072f38 - 000732b0: Controller input for rumor/proposition lists?

00072f38 - 000732b4:

000732b8 - 00073590:

00073594 - 000735c4:

000735c8 - 000735fc:

00073600 - 00073774:

00073778 - 00073b28:

00073b2c - 00073ef0: Graphic displays for units on proposition list?

  • Maybe controller input too for another menu

00073b2c - 00073ef4:

00073ef8 - 00073fec:

00073ff0 - 00074130:

00074134 - 00074784:

00074788 - 00074b28: Set Proposition Status (Complete, failed, in progress)

00074788 - 00074b2c:

00074b30 - 00074c3c:

00074c40 - 00074ccc:

00074cd0 - 000757b0: Units to Send display? Large routine, probably other stuff too

00074cd0 - 000757b4:

000757b8 - 00075948: Load Available units to send on proposition?

000757b8 - 0007594c:

00075950 - 00075a44:

00075a48 - 00075bd4:

00075bd8 - 00075f4c:

00075f50 - 00076030:

00076034 - 00076740:

00076744 - 00076888:

0007688c - 000769cc:

000769d0 - 00077170:

00077174 - 00077568:

0007756c - 000775a0:

000775a4 - 000775b4:

000775b8 - 000777bc: Controller input during proposition description? Success calculation herein

000775b8 - 000777c0:

000777c4 - 000779cc: idel during job report confirmation

000779d0 - 00077bc8:

00077bcc - 000785d4: Return from job processing Has the random success based on class check

00077bcc - 000785d8:

000785dc - 00078bb4:

00078bb8 - 00079180: Proposition Rewards

00078bb8 - 0007917c: Proposition resolution stores some gil rewards, jp gain, etc.

00079184 - 00079208: Return from job determinations

0007920c - 000793ec:

000793f0 - 000794cc:

000794d0 - 000795c0:

000795c4 - 0007981c:

00079820 - 00079840:

00079844 - 00079c64: Success determination for proposition

00079844 - 00079c68:

00079c6c - 00079e10:

00079e14 - 0007a144:

0007a148 - 0007a2a4:

0007a2a8 - 0007a500: If preferred job for random success is present calculation

0007a2a8 - 0007a504:

0007a508 - 0007a6b4:

0007a6b8 - 0007a728:

0007a72c - 0007a868:

0007a86c - 0007a9e8:

0007a9ec - 0007ada0:

0007ada4 - 0007add8:

0007addc - 0007adec:

0007adf0 - 0007af98:

0007af9c - 0007b4dc:

0007b4e0 - 0007b7d0:

0007b7d4 - 0007bab4:

0007bab8 - 0007c004:

0007c008 - 0007c128:

0007c12c - 0007c888:

0007c88c - 0007cca4:

0007cca8 - 0007cd74:

0007cd78 - 0007ce54:

0007ce58 - 0007d388:

0007d38c - 0007d40c:

0007d410 - 0007d944:

0007d948 - 0007df80:

0007df84 - 0007dfc8:

0007dfcc - 0007e13c:

0007e140 - 0007e174:

0007e178 - 0007e188:

0007e18c - 0007e35c:

0007e360 - 0007e6f0:

0007e6f4 - 0007ebf8:

0007ebfc - 0007ed6c:

0007ed70 - 0007eda4:

0007eda8 - 0007edb8:

0007edbc - 0007ef9c:

0007efa0 - 0007f328:

0007f32c - 0007f994:

0007f998 - 0007fbec:

0007fbf0 - 00080160:

00080164 - 00080478:

0008047c - 00080754:

00080758 - 000807d8:

000807dc - 00080e50:

00080e54 - 00081740:

00081744 - 00081d64: Prepare Brave Story menu options

00081d68 - 00082118:

0008211c - 000822fc:

00082300 - 000829e4:

000829e8 - 00082b7c:

00082b80 - 00082bb4:

00082bb8 - 00082bc8:

00082bcc - 00082e10:

00082e14 - 000830a4:

000830a8 - 00083438: 0x830a8

0008343c - 0008363c:

00083640 - 00083674:

00083678 - 00083688:

0008368c - 00083898:

0008389c - 00083bc0:

00083bc4 - 0008422c:

00084230 - 00084368:

0008436c - 0008437c:

00084380 - 00084390:

00084394 - 00084574:

00084578 - 00084744:

00084748 - 00084914:

00084918 - 00084f74:

00084f78 - 00085128:

0008512c - 00085260:

00085264 - 0008575c:

00085760 - 000862a8:

000862ac - 0008639c:

000863a0 - 00086454:

00086458 - 000867ec:

000867f0 - 00086b98:

00086b9c - 00086f18:

00086f1c - 00087250:

00087254 - 00087654:

00087658 - 000876a0:

000876a4 - 00087b90:

00087b94 - 00087d8c:

00087d90 - 00087d9c:

00087da0 - 00087fa0:

00087fa4 - 0008817c:

00088180 - 00088304:

00088308 - 000886e0:

000886e4 - 00088a74:

00088a78 - 00088c8c:

00088c90 - 000890ec:

000890f0 - 00089538:

0008953c - 000896c0:

000896c4 - 000897ac:

000897b0 - 00089890:

00089894 - 00089e4c:

00089e50 - 00089fe8:

00089fec - 00089ffc:

0008a000 - 0008a010:

0008a014 - 0008a2ac:

0008a2b0 - 0008a43c:

0008a440 - 0008a450:

0008a454 - 0008a464:

0008a468 - 0008a6f4:

0008a6f8 - 0008aba4:

0008aba8 - 0008abe0:

0008abe4 - 0008ac2c:

0008ac30 - 0008ae34:

0008ae38 - 0008ae9c:

0008aea0 - 0008afec:

0008aff0 - 0008b11c:

0008b120 - 0008b198:

0008b19c - 0008b1cc:

0008b1d0 - 0008b350:

0008b354 - 0008b36c:

0008b370 - 0008b388:

0008b38c - 0008b3a4:

0008b3a8 - 0008b444:

0008b448 - 0008b494:

0008b498 - 0008b504:

0008b508 - 0008b530:

0008b534 - 0008b550:

0008b554 - 0008b5f0:

0008b5f4 - 0008b610:

0008b614 - 0008b688:

0008b68c - 0008b868:

0008b86c - 0008b8d8:

0008b8dc - 0008ba80:

0008ba84 - 0008bae8:

0008baec - 0008bb64:

0008bb68 - 0008bb84:

0008bb88 - 0008bc14:

0008bc18 - 0008bc34:

0008bc38 - 0008bc54:

0008bc58 - 0008bcdc:

0008bce0 - 0008bcfc:

0008bd00 - 0008bd1c:

0008bd20 - 0008bda4:

0008bda8 - 0008bdc4:

0008bdc8 - 0008be0c:

0008be10 - 0008be54:

0008be58 - 0008be9c:

0008bea0 - 0008bee4:

0008bee8 - 0008bf18:

0008bf1c - 0008bf58:

0008bf5c - 0008bf98:

0008bf9c - 0008c028:

0008c02c - 0008c058:

0008c05c - 0008c0cc:

0008c0d0 - 0008c10c:

0008c110 - 0008c14c:

0008c150 - 0008c210:

0008c214 - 0008c23c:

0008c240 - 0008c2c8:

0008c2cc - 0008c354:

0008c358 - 0008c3e4:

0008c3e8 - 0008c474:

0008c478 - 0008c4e4:

0008c4e8 - 0008c570:

0008c574 - 0008c5cc:

0008c5d0 - 0008c634:

0008c638 - 0008c75c:

0008c760 - 0008c7a8:

0008c7ac - 0008c804:

0008c808 - 0008c840:

0008c844 - 0008c894:

0008c898 - 0008c8f4:

0008c8f8 - 0008c964:

0008c968 - 0008ca14:

0008ca18 - 0008ca64:

0008ca68 - 0008cae4:

0008cae8 - 0008cb2c:

0008cb30 - 0008cb88:

0008cb8c - 0008cdec:

0008cdf0 - 0008cf10:

0008cf14 - 0008d05c:

0008d060 - 0008d190:

0008d194 - 0008d2c4:

0008d2c8 - 0008d3bc:

0008d3c0 - 0008d510:

0008d514 - 0008d7fc:

0008d800 - 0008d99c:

0008d9a0 - 0008dbf8:

0008dbfc - 0008df94:

0008df98 - 0008e2b8:

0008e2bc - 0008e53c:

0008e540 - 0008ec34:

0008ec38 - 0008ecfc:

0008ed00 - 0008edb8:

0008edbc - 0008ee0c:

0008ee10 - 0008ef38:

0008ef3c - 0008f088:

0008f08c - 0008f280: Contains the routine for moving from dot to dot & triggering random battles. Smart Encounters writes here.

0008f284 - 0008f430:

0008f434 - 0008f510:

0008f514 - 0008f694:

0008f698 - 0008f728:

0008f72c - 0008f824:

0008f828 - 0008f884:

0008f888 - 0008f8dc:

0008f8e0 - 0008f9b8:

0008f9bc - 0008fad4:

0008fad8 - 0008fb24:

0008fb28 - 0008fc84:

0008fc88 - 0008fcc4:

0008fcc8 - 0008fd84:

0008fd88 - 0008fdb0:

0008fdb4 - 0008ffd4:

0008ffd8 - 00090368:

0009036c - 000903e0:

000903e4 - 000906bc:

000906c0 - 00090a24:

00090a28 - 00090ab0:

00090ab4 - 00090d2c:

00090d30 - 00090d4c:

00090d50 - 00090e1c:

00090e20 - 00091170:

00091174 - 000911c8:

000911cc - 00091234:

00091238 - 0009137c: Process World Conditional Set | World Map Scripts

  • Main Routine that reads the World Map Scripts


00091380 - 00091384: World Map Script 0x00 - (no-op)

00091388 - 800913A3: World Map Script 0x14 and 0x15 - add 1 to value at 0x800d4650 (byte # of how far the world map script has read into?)

000913a4 - 000913bc: World Map Script 0x05 through 0x0B and 0x1B - add 2 to value at 0x800d4650 (byte # of how far the world map script has read into?)

000913c0 - 000913d8: World Map Script 0x17 - add 3 to value at 0x800d4650

000913dc - 000913f4: World Map Script 0x18 - add 4 to value at 0x800d4650

000913f8 - 0009144c: World Map Script 0x01 - Var =

00091450 - 000914b8: Store Script Data into r4 and r5

  • This routine is used in the World Map Script 0x01 - 0x03

000914bc - 00091514: World Map Script 0x02 - Var >=

00091518 - 00091570: World Map Script 0x03 - Var <=

00091574 - 0009162c: World Map Script 0x04 - HasUnit

00091630 - 00091648: World Map Script 0x0C - add 1 to value at 0x800d4650

0009164c - 00091664: World Map Script 0x0D - add 1 to value at 0x800d4650

00091668 - 000916d8: World Map Script 0x0E - Gil>=

000916dc - 0009174c: World Map Script 0x0F - Gil<=

00091750 - 000917c8: World Map Script 0x10 - Date>=

000917cc - 00091870: Store Script and Date

  • This routine is used in the World Map Script 0x10 and 0x11

00091874 - 000918ec: World Map Script 0x11 - Date<=

000918F0 - 00091960: World Map Script 0x12 - Casualties>=

00091964 - 000919d4: World Map Script 0x13 - Casualties<=

000919d8 - 00091a44: World Map Script 0x19 - LoadEvent

00091a48 - 00091ae0: World Map Script 0x1A - Choice

00091ae4 - 00091b14: World Map Script 0x1C - SetVar

00091b18 - 00091b60: World Map Script 0x1D - Text

00091b64 - 00091bf4: World Map Script 0x1E - DDEntry

00091bf8 - 00091c64: World Map Script 0x1F - SetVar2

00091c68 - 00091cd4: World Map Script 0x20 - DrawPath

00091cd8 - 00091d44: World Map Script 0x21 - ErasePath

00091d48 - 00091d84: World Map Script 0x22 - DrawLocation

00091d88 - 00091dc4: World Map Script 0x23 - EraseLocation

00091dc8 - 00091e80: World Map Script 0x24 - FocusLocation

00091e84 - 00091efc: World Map Script 0x25 - MCBrave>=

00091f00 - 00091f70: WLDCORE Get Ramza's Roster Index

  • This routine is used in the World Map Scripts 0x25 - 0x28

00091f74 - 00091fec: World Map Script 0x26 - MCBrave<=

00091ff0 - 00092068: World Map Script 0x27 - MCFaith>=

0009206c - 000920e4: World Map Script 0x28 - MCFaith<=

000920e8 - 00092144:

00092148 - 0009217c:

00092180 - 00092204:

00092208 - 00092408:

0009240c - 0009241c:

00092420 - 00092430:

00092434 - 00092614:

00092618 - 000928a8:

000928ac - 00092b00:

00092b04 - 00092b18:

00092b1c - 00092b28:

00092b2c - 0009e0e8:

0009e0ec -