Users browsing this thread: 1 Guest(s)
FF6LE Rogue CE / Zone Doctor CE

#1
Posts: 3,966
Threads: 279
Thanks Received: 234
Thanks Given: 56
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
FF6LE Rogue CE
Version: 0.8.1
Release date: 01/08/2017
Download
GitHub Repository

Zone Doctor CE
Version: 0.2.2
Release date: 10/16/2016
Download
GitHub Repository

Warning
Zone Doctor does all what FF6LE does plus it has other modules for hex editing, event editing, graphics, projects, data import, etc. However, Zone Doctor can easily corrupt your ROM. This is the reason why few people use it. The level editor (FF6LE module) can easily corrupt the exit data. The event editor also has some bugs. This is why it is suggested to stick to hex editing for events. Zone Doctor never reached a final version, it is considered by many something to avoid for some tasks. Since no original Zone Doctor bug were fixed, it is recommended to use FF6LE Rogue CE instead if you want to have the expansion features.


FF6LE CE expand Tilemaps space, Tilemaps numbers, Location numbers, NPC, Event Triggers and Exits max space. It also allow to rename location names within the editor and Message names, the map names in-game as well as expanding them to 256 (instead of 73).There are now 511 tilemaps instead of 351 and 511 Locations instead of 415. The expansion require a byte set to 0xFF (you can choose) for ROM settings. By default the one selected is unused by the game. The expansion require 1 bank for NPCs, events, exits and treasures (which can be on the 511 locations but are not expanded in number) while tilemaps compressed data require 0x50000 to 0x70000 bytes instead of ~0x43000. You can basically choose between 5, 6 and 7. These banks need to be continuous but the data bank could be elsewhere.

If you were using FF6LE+ or Zone Doctor+, check the checkbox before doing the expansion because it will allow to skip the ASM validation. If you have a warning message after the validation, it is probably because you moved some code or already moved some data the editor is trying to move. The first scenario is a lot worst because the game will overwrite code with one or many garbage value (not a the right position). You can proceed but the ROM could have problems. If as an example for a reason you already have moved NPCs elsewhere and strictly edited corresponding ASM, the expansion should be done correctly. I'm thinking about leaving ASM validation optional but anyway valid or not you can perform the expansion.

When you do the expansion, a log (log.txt) is created in your editor folder. This is until I reach a stable release (1.0). If your ROM has problem you can post the log in this thread. It will greatly help me understand the problem if expansion is the source of the problem.

All the settings and locations names are saved in a XML file. You can change those settings via the file but I suggest to stick to changing location names. The rest can be done via the editor (location names too). For people coming from version 0.6, you have the possibility at startup to import your previous setting directly from the ROM and import the location names .bin file as well. This is not a concern for Zone Doctor as it starts with XML files.

The default L1 tilemap ID ($15F) on maps $19F to $1FF is shadow's dream (256x256 black map with layer 1 only). Tilemaps $15F to $1FF are all the same, they take $1A bytes of space each.  To make the map bigger, you select your new tilemaps ID(s) (L1, L2 and L3 if neccesary). Then you resize the layers (from 256x256 to 1024x1024 as an example) and set the other map properties. Then you can either import tilemaps (which should cover the correct layers sizes) or hand draw.

This version also correct vanilla FF6LE bugs notably the L2 and L3 Tilemap import bug, the exit ID bug, and the possible compression overflow on saving certain vanilla tilemaps that are rarely edited (experimental fix).



Special Thanks
B-Run for using CoV as a test subject for that project.
James White for extensively testing the CoV build.
Warrax for testing attentively the new builds.

Expansion ROM Map
Code:
DESCRIPTION     TYPE    OLD LOCATION    NEW LOCATION    
-----------     ----    -------------   -------------  
Events          PTR     C40000-C40341   C40000-C40401  
Events          DATA    C40342-C41A0F   C40402-C44401  
NPCs            PTR     C41A10-C41D51   YY0000-YY0401  
NPCs            DATA    C41D52-C46ABF   YY0402-YY8FFF  
Exits (small)   PTR     DFBB00-DFBF01   YY9000-YY9401  
Exits (small)   DATA    DFBF02-DFD9FF   YY9402-YYCFFF  
Exits (long)    PTR     EDF480-EDF881   YYD000-YYD401  
Exits (long)    DATA    EDF882-EDFDFF   YYD402-YYDFFF  
Treasures       PTR     ED82F4-ED8633   YYE000-YYE3FF  
Treasures       DATA    ED8634-ED8E5A   YYE400-YYF3FF  
Free Space      ----    -------------   YYF400-YYFFFF
Tilemaps        PTR     D9CD90-D9D1AF   D9CD90-D9D38D  
Tilemaps        DATA    D9D1B0-DDFFFF   XX0000-ZZFFFF  
Map Properties  DATA    ED8F00-EDC47F   DA0000-DA41DE  
Map Names       PTR     E68400-E6877F   DA4200-DA43FF
Map Names       DATA    CEF100-CEF5FF   DA4400-DA68FF

YY = Expanded Data bank
XX = Expanded Tilemaps starting bank
ZZ = XX + number of Expanded Tilemaps banks

* Could serve for extra treasure data once SRAM expanded.

Expansion ASM changes
Code:
;For reference only

;Assuming Expanded Data Banks is $50
;Assuming Expanded Tilemaps Data Starting Bank is $51

;MAP DATA
;--------
org $C01CBF
LDA $DA0000,X

;EVENTS
;------
org $C0BCAE    
LDA $C40002,X

org $C0BCB4    
LDA $C40000,X

org $C0BCBD    
LDA $C40000,X

org $C0BCD3    
LDA $C40002,X

org $C0BCED    
LDA $C40004,X

;NPCS
;----
org $C052BC    
LDA $500002,X  

org $C052C2    
LDA $500000,X  

org $C052D4    
LDA $500000,X

org $C052DB    
LDA $500001,X

org $C052E2    
LDA $500002,X

org $C052EB    
LDA $500002,X

org $C052F8    
LDA $500002,X

org $C05305    
LDA $500002,X

org $C05321    
LDA $500004,X

org $C0532C    
LDA $500004,X

org $C0533A    
LDA $500005,X

org $C0535A    
LDA $500005,X

org $C05369    
LDA $500006,X

org $C05373    
LDA $500007,X

org $C0537F    
LDA $500007,X

org $C0538A    
LDA $500007,X

org $C05397    
LDA $500008,X

org $C053AD    
LDA $500008,X

org $C053BC    
LDA $500008,X

org $C053D0    
LDA $500008,X

org $C053E3    
LDA $500008,X

;TREASURES
;---------
org $C04C08    
LDA $50E404,X

org $C04C0E    
LDA $50E402,X

org $C04BDA    
LDA $50E002,X

org $C04BE0    
LDA $50E000,X

org $C04BEC    
LDA $50E400,X

org $C04BF4    
LDA $50E401,X

org $C015DD    
LDA $50E002,X

org $C015E3    
LDA $50E000,X

org $C015F1    
LDA $50E400,X

org $C015F7    
LDA $50E401,X

org $C015FE    
LDA $50E402,X

org $C01609    
LDA $50E402,X

;LONG ENTRANCES
;--------------
org $C018EA    
LDA $50D002,X

org $C018F0    
LDA $50D000,X

org $C01903    
LDA $50D002,X

org $C0190B    
LDA $50D001,X

org $C01916    
SBC $50D000,X

org $C0191E    
LDA $50D000,X

org $C0192F    
LDA $50D000,X

org $C0193A    
SBC $50D001,X

org $C01942    
LDA $50D001,X

org $C01963    
LDA $50D003,X

org $C0196F    
LDA $50D003,X

org $C0197B    
LDA $50D003,X

org $C0198A    
LDA $50D005,X

org $C0199F    
LDA $50D005,X

org $C019A9    
LDA $50D004,X

org $C019B6    
LDA $50D004,X

org $C019C4    
LDA $50D004,X

org $C019E5    
LDA $50D003,X

org $C01A14    
LDA $50D004,X

;SHORT ENTRANCES
;---------------
org $C01A7D    
LDA $509002,X  

org $C01A83    
LDA $509000,X

org $C01A8F    
LDA $509000,X

org $C01AAA    
LDA $509002,X

org $C01AB6    
LDA $509002,X

org $C01AC2    
LDA $509002,X

org $C01AD1    
LDA $509004,X

org $C01AE6    
LDA $509004,X

org $C01AF0    
LDA $509003,X

org $C01AFD    
LDA $509003,X

org $C01B0B    
LDA $509003,X

org $C01B2C    
LDA $509002,X

org $C01B5E    
LDA $509003,X

org $EE20E9
LDA $509000,X
STA $58        
LDA $509002,X  

org $EE20FE
LDA $509000,X  

org $EE2106
LDA $509001,X

org $EE2110
LDA $509002,X

org $EE213C
LDA $509004,X

;TILEMAPS
;--------
org $C02892
LDA $D9CD90,X  
CLC
ADC #$0000

org $C0289F
LDA $D9CD92,X
ADC #$51

org $C028E6
LDA $D9CD90,X  
CLC
ADC #$0000

org $C028F3
LDA $D9CD92,X
ADC #$51

org $C0293C
LDA $D9CD90,X
CLC
ADC #$0000

org $C02949
LDA $D9CD92,X
ADC #$51

;MAP NAMES
;---------
org $C07FFD
LDA #$DA

org $C08008
LDA $DA4200,X
ADC #$4400

;CHEST MEMORY
;------------
org $C0BB1A
STZ $1E20,X

org $C0BB1E
CPX #$0060

org $C04C1A
AND #$03FF

org $C04C24
LDA $1E20,Y  

org $C04C2D
LDA $1E20,Y    

org $C04C34
STA $1E20,Y

org $C01602
AND #$03FF

org $C01614
LDA $1E20,Y   

Memory Byte flags (Deprecated)
Code:
Version 0.6 and below

0x01    5 banks of tilemap data
0x02    6 banks of tilemap data
0x03    7 banks of tilemap data
0x20    chest memory expansion
0x40    was using FF6LE+ or Zone Doctor+ before
0x80    map expansion
  Find
Quote  
[-] The following 11 users say Thank You to madsiur for this post:
  • B-Run (09-15-2016), DrakeyC (09-15-2016), DrMeat (09-16-2016), FF6Fanatic (09-15-2016), Gi Nattak (09-15-2016), Imzogelmo (09-16-2016), Lockirby2 (09-15-2016), Seiken_X (09-16-2016), Tenkarider (09-15-2016), Warrax (09-15-2016), Xontract (10-04-2016)

#2
Posts: 763
Threads: 83
Thanks Received: 55
Thanks Given: 7
Joined: Apr 2015
Reputation: 22
Status
Obliviscence
This has been a momentous occasion. Map expansion has been on everyone's mind for years, and years, and years. And it's finally here! It's been an absolute joy working with Madsiur on getting this up and running (I am the eternal guinea pig). Mad's work has been brilliant in this, and without him the whole of the FF6hacking community would be lacking some of its best tools.

By far, the number one thing I've heard mentioned about expanding maps in the past was in reference to being able to make the Dragon's Den from FF6A. So... who's going to jump on that?
  Find
Quote  

#3
Posts: 208
Threads: 3
Thanks Received: 0
Thanks Given: 8
Joined: May 2013
Reputation: 0
Status
None
Definitely a great addition, I'm looking for future releases.

I suppose this is normal but my project can be loaded into ZoneDoctor and FF3LE Rogue without issues but FF3LE Rogue CE can't. It's a ROM modified by FF3usME (Monster Battle script Hack applied) and by FF6MDE but not by any IPS patches and hasn't been modified by any map editors. Here's what it says when I attempt to load the ROM:

"Error reading from byte[] data at offset 12543472 data size: 4194304 Please report this."

The ROM is headerless, maybe that's the problem?
  Find
Quote  

#4
Posts: 1,633
Threads: 56
Thanks Received: 13
Thanks Given: 84
Joined: Apr 2014
Reputation: 12
Status
Atma
Sounds kinda nice, i just wonder if i have to worry for my hack... 
i guess it would be cool to know which banks of vanilla change even a single byte of vanilla rom and eventually which bytes/packs of bytes
can i find an answer like that in a readme or something?


THE GREATEST CHALLENGE OF ALL TIMES AWAITS:
http://www.ff6hacking.com/forums/showthr...p?tid=2593
DO YOU HAVE WHAT IT TAKES TO SLAY A GOD?
------------------------------------------------------------------------
Tenkarider's project #2 is started: FF6 Curse of the Madsiur Joke (CotMJ)
http://www.ff6hacking.com/forums/showthr...p?tid=2755
What happens when Madsiur tweaks your account? This full game hack will show that!
  Find
Quote  

#5
Posts: 3,966
Threads: 279
Thanks Received: 234
Thanks Given: 56
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(09-15-2016, 04:20 PM)Warrax Wrote: "Error reading from byte[] data at offset 12543472 data size: 4194304 Please report this."

This translate to getting offset $BF65F0 from the expanded ROM (size $400000). Now this version of FF6LE fetches all needed offsets to work from the ASM code. If a LDA needed is not where it's supposed to be, it will load whatever three bytes there and make an offset with it. There is a ASM verification when expanding, but not when loading a "regular" project. I tried this morning to load a clean ROM and it worked. I'll try again tonight but if I can't replicate this I'd like to see the log.txt file when expanding (even if you don't plan to in the long run). The file would have all the offsets fetched from the ROM. The header is not a problem.

(09-15-2016, 04:45 PM)Tenkarider Wrote: i guess it would be cool to know which banks of vanilla change even a single byte of vanilla rom and eventually which bytes/packs of bytes
can i find an answer like that in a readme or something?

Yes a mini ROM map is on its way!
  Find
Quote  

#6
Posts: 208
Threads: 3
Thanks Received: 0
Thanks Given: 8
Joined: May 2013
Reputation: 0
Status
None
(09-15-2016, 05:22 PM)Madsiur Wrote:
(09-15-2016, 04:20 PM)Warrax Wrote: "Error reading from byte[] data at offset 12543472 data size: 4194304 Please report this."

This translate to getting offset $BF65F0 from the expanded ROM (size $400000). Now this version of FF6LE fetches all needed offsets to work from the ASM code.  If a LDA needed is not where it's supposed to be, it will load whatever three bytes there and make an offset with it. There is a ASM verification when expanding, but not when loading a "regular" project. I tried this morning to load a clean ROM and it worked. I'll try again tonight but if I can't replicate this I'd like to see the log.txt file when expanding (even if you don't plan to in the long run). The file would have all the offsets fetched from the ROM. The header is not a problem.

I expanded the ROM with default settings, here's the log:
Code:
LOG STARTED ON 9/15/2016 5:28:45 PM
Function: In Expansion--- Init, variable: TilemapsSize, value: $050000
Function: In Expansion--- Init, variable: dataOffset, value: $F20000
Function: In Expansion--- Init, variable: tilemapOffset, value: $F30000
------ INIT ARRAYS ------
Function: In Expansion--- Init Arrays, variable: BASE_EVENT_PTR, value: $040000
Array Name: EventPtrs, length: 000342
Function: In Expansion--- Init Arrays, variable: BASE_EVENT, value: $040342
Array Name: EventData, length: 0016CE
Function: In Expansion--- Init Arrays, variable: BASE_NPC_PTR, value: $041A10
Array Name: NpcPtrs, length: 000342
Function: In Expansion--- Init Arrays, variable: BASE_NPC, value: $041D52
Array Name: NpcData, length: 004D6E
Function: In Expansion--- Init Arrays, variable: BASE_SHORT_EXIT_PTR, value: $1FBB00
Array Name: ShortExitPtrs, length: 000402
Function: In Expansion--- Init Arrays, variable: BASE_SHORT_EXIT, value: $1FBF02
Array Name: ShortExitData, length: 001AFE
Function: In Expansion--- Init Arrays, variable: BASE_LONG_EXIT_PTR, value: $2DF480
Array Name: LongExitPtrs, length: 000402
Function: In Expansion--- Init Arrays, variable: BASE_LONG_EXIT, value: $2DF882
Array Name: LongExitData, length: 00057E
Function: In Expansion--- Init Arrays, variable: BASE_CHEST_PTR, value: $2D82F4
Array Name: ChestPtrs, length: 000340
Function: In Expansion--- Init Arrays, variable: BASE_CHEST, value: $2D8634
Array Name: ChestData, length: 000827
Function: In Expansion--- Init Arrays, variable: BASE_TILEMAP_PTR, value: $19CD90
Array Name: TilemapPtrs, length: 00041D
Function: In Expansion--- Init Arrays, variable: BASE_TILEMAP, value: $19D1B0
Array Name: TilemapData, length: 042E50
Function: In Expansion--- Init Arrays, variable: BASE_LOCATION, value: $2D8F00
Array Name: LocationData, length: 003580
Function: In Expansion--- Init Arrays, variable: BASE_LOC_NAMES_PTR, value: $268400
Array Name: LocNamesPtr, length: 000092
Function: In Expansion--- Init Arrays, variable: BASE_LOC_NAMES, value: $0EF100
Array Name: LocNames, length: 000500
------ POINTERS INCREMENTATION ------
Function: In Expansion--- Ptr inc, variable: inctPtr, value: $0000C0
------ MAXIMUMS FINDING ------
Function: findArrayMax--- max found, variable: max, value: $001ABE
Function: findArrayMax--- max found, variable: max, value: $00511B
Function: findArrayMax--- max found, variable: max, value: $001F38
Function: findArrayMax--- max found, variable: max, value: $0008EA
Function: findArrayMax--- max found, variable: max, value: $000596
Function: findArrayMax--- max found, variable: max, value: $042E42
Function: findArrayMax--- max found, variable: max, value: $00034F
------ FILL EXP POINTERS ARRAY ------
Function: In Expansion--- Filling, variable: LastEventPtr, value: $001ABE
Function: In Expansion--- Filling, variable: LastNpcPtr, value: $00511B
Function: In Expansion--- Filling, variable: LastShortExitPtr, value: $001F38
Function: In Expansion--- Filling, variable: LastLongExitPtr, value: $0008EA
Function: In Expansion--- Filling, variable: LastChestPtr, value: $000596
------ FILL TILEMAPS ------
Function: In Expansion--- Tilemaps, variable: LastTilemapPtr, value: $042E42
Array Name: TilemapData, length: 042E42
Array Name: Expansion.DEFAULT_TILEMAP, length: 00001A
------ TILEMAPS NEW POINTERS ------
042E5C
042E76 042E90 042EAA 042EC4 042EDE 042EF8 042F12 042F2C 042F46 042F60 042F7A 042F94 042FAE 042FC8 042FE2 042FFC
043016 043030 04304A 043064 04307E 043098 0430B2 0430CC 0430E6 043100 04311A 043134 04314E 043168 043182 04319C
0431B6 0431D0 0431EA 043204 04321E 043238 043252 04326C 043286 0432A0 0432BA 0432D4 0432EE 043308 043322 04333C
043356 043370 04338A 0433A4 0433BE 0433D8 0433F2 04340C 043426 043440 04345A 043474 04348E 0434A8 0434C2 0434DC
0434F6 043510 04352A 043544 04355E 043578 043592 0435AC 0435C6 0435E0 0435FA 043614 04362E 043648 043662 04367C
043696 0436B0 0436CA 0436E4 0436FE 043718 043732 04374C 043766 043780 04379A 0437B4 0437CE 0437E8 043802 04381C
043836 043850 04386A 043884 04389E 0438B8 0438D2 0438EC 043906 043920 04393A 043954 04396E 043988 0439A2 0439BC
0439D6 0439F0 043A0A 043A24 043A3E 043A58 043A72 043A8C 043AA6 043AC0 043ADA 043AF4 043B0E 043B28 043B42 043B5C
043B76 043B90 043BAA 043BC4 043BDE 043BF8 043C12 043C2C 043C46 043C60 043C7A 043C94 043CAE 043CC8 043CE2 043CFC
043D16 043D30 043D4A 043D64 043D7E 043D98 043DB2 043DCC 043DE6 043E00 043E1A 043E34 043E4E 043E68 043E82
------ END TILEMPAS POINTERS ------
Function: In Expansion--- Init Exp banks, variable: dataOffset, value: $320000
Function: In Expansion--- Init Exp banks, variable: tilemapOffset, value: $330000
------ SetData Events ------
Function: setData--- SetBytes A, variable: offset, value: $040000
Array Name: data, length: 000342
Function: setData--- SetBytes B, variable: offset, value: $040342
Array Name: data2, length: 0000C0
Function: setData--- SetBytes C, variable: offset, value: $040402
Array Name: data3, length: 0016CE
------ SetData NPC ------
Function: setData--- SetBytes A, variable: offset, value: $320000
Array Name: data, length: 000342
Function: setData--- SetBytes B, variable: offset, value: $320342
Array Name: data2, length: 0000C0
Function: setData--- SetBytes C, variable: offset, value: $320402
Array Name: data3, length: 004D6E
------ SetData Short Exits ------
Function: setData--- SetBytes A, variable: offset, value: $329000
Array Name: data, length: 000402
Function: setData--- SetBytes B, variable: offset, value: $329402
Array Name: data2, length: 0000C0
Function: setData--- SetBytes C, variable: offset, value: $3294C2
Array Name: data3, length: 001AFE
------ SetData Long Exits ------
Function: setData--- SetBytes A, variable: offset, value: $32D000
Array Name: data, length: 000402
Function: setData--- SetBytes B, variable: offset, value: $32D402
Array Name: data2, length: 0000C0
Function: setData--- SetBytes C, variable: offset, value: $32D4C2
Array Name: data3, length: 00057E
------ SetData Chests ------
Function: setData--- SetBytes A, variable: offset, value: $32E000
Array Name: data, length: 000340
Function: setData--- SetBytes B, variable: offset, value: $32E340
Array Name: data2, length: 0000C0
Function: setData--- SetBytes C, variable: offset, value: $32E400
Array Name: data3, length: 000827
------ LOCATIONS ------
Function: In Expansion--- Set location data, variable: offset, value: $1A0000
Array Name: LocationData, length: 003580
Function: In Expansion--- increase offset, variable: NUM_LOCATIONS * 33, value: $00357F
Function: In Expansion--- increase offset, variable: offset, value: $1A357F
Array Name: Expansion.DEFAULT_LOCATION, length: 000021
Function: In Expansion--- add location, variable: offset, value: $1A357F
Function: In Expansion--- add location, variable: offset, value: $1A35A0
Function: In Expansion--- add location, variable: offset, value: $1A35C1
Function: In Expansion--- add location, variable: offset, value: $1A35E2
Function: In Expansion--- add location, variable: offset, value: $1A3603
Function: In Expansion--- add location, variable: offset, value: $1A3624
Function: In Expansion--- add location, variable: offset, value: $1A3645
Function: In Expansion--- add location, variable: offset, value: $1A3666
Function: In Expansion--- add location, variable: offset, value: $1A3687
Function: In Expansion--- add location, variable: offset, value: $1A36A8
Function: In Expansion--- add location, variable: offset, value: $1A36C9
Function: In Expansion--- add location, variable: offset, value: $1A36EA
Function: In Expansion--- add location, variable: offset, value: $1A370B
Function: In Expansion--- add location, variable: offset, value: $1A372C
Function: In Expansion--- add location, variable: offset, value: $1A374D
Function: In Expansion--- add location, variable: offset, value: $1A376E
Function: In Expansion--- add location, variable: offset, value: $1A378F
Function: In Expansion--- add location, variable: offset, value: $1A37B0
Function: In Expansion--- add location, variable: offset, value: $1A37D1
Function: In Expansion--- add location, variable: offset, value: $1A37F2
Function: In Expansion--- add location, variable: offset, value: $1A3813
Function: In Expansion--- add location, variable: offset, value: $1A3834
Function: In Expansion--- add location, variable: offset, value: $1A3855
Function: In Expansion--- add location, variable: offset, value: $1A3876
Function: In Expansion--- add location, variable: offset, value: $1A3897
Function: In Expansion--- add location, variable: offset, value: $1A38B8
Function: In Expansion--- add location, variable: offset, value: $1A38D9
Function: In Expansion--- add location, variable: offset, value: $1A38FA
Function: In Expansion--- add location, variable: offset, value: $1A391B
Function: In Expansion--- add location, variable: offset, value: $1A393C
Function: In Expansion--- add location, variable: offset, value: $1A395D
Function: In Expansion--- add location, variable: offset, value: $1A397E
Function: In Expansion--- add location, variable: offset, value: $1A399F
Function: In Expansion--- add location, variable: offset, value: $1A39C0
Function: In Expansion--- add location, variable: offset, value: $1A39E1
Function: In Expansion--- add location, variable: offset, value: $1A3A02
Function: In Expansion--- add location, variable: offset, value: $1A3A23
Function: In Expansion--- add location, variable: offset, value: $1A3A44
Function: In Expansion--- add location, variable: offset, value: $1A3A65
Function: In Expansion--- add location, variable: offset, value: $1A3A86
Function: In Expansion--- add location, variable: offset, value: $1A3AA7
Function: In Expansion--- add location, variable: offset, value: $1A3AC8
Function: In Expansion--- add location, variable: offset, value: $1A3AE9
Function: In Expansion--- add location, variable: offset, value: $1A3B0A
Function: In Expansion--- add location, variable: offset, value: $1A3B2B
Function: In Expansion--- add location, variable: offset, value: $1A3B4C
Function: In Expansion--- add location, variable: offset, value: $1A3B6D
Function: In Expansion--- add location, variable: offset, value: $1A3B8E
Function: In Expansion--- add location, variable: offset, value: $1A3BAF
Function: In Expansion--- add location, variable: offset, value: $1A3BD0
Function: In Expansion--- add location, variable: offset, value: $1A3BF1
Function: In Expansion--- add location, variable: offset, value: $1A3C12
Function: In Expansion--- add location, variable: offset, value: $1A3C33
Function: In Expansion--- add location, variable: offset, value: $1A3C54
Function: In Expansion--- add location, variable: offset, value: $1A3C75
Function: In Expansion--- add location, variable: offset, value: $1A3C96
Function: In Expansion--- add location, variable: offset, value: $1A3CB7
Function: In Expansion--- add location, variable: offset, value: $1A3CD8
Function: In Expansion--- add location, variable: offset, value: $1A3CF9
Function: In Expansion--- add location, variable: offset, value: $1A3D1A
Function: In Expansion--- add location, variable: offset, value: $1A3D3B
Function: In Expansion--- add location, variable: offset, value: $1A3D5C
Function: In Expansion--- add location, variable: offset, value: $1A3D7D
Function: In Expansion--- add location, variable: offset, value: $1A3D9E
Function: In Expansion--- add location, variable: offset, value: $1A3DBF
Function: In Expansion--- add location, variable: offset, value: $1A3DE0
Function: In Expansion--- add location, variable: offset, value: $1A3E01
Function: In Expansion--- add location, variable: offset, value: $1A3E22
Function: In Expansion--- add location, variable: offset, value: $1A3E43
Function: In Expansion--- add location, variable: offset, value: $1A3E64
Function: In Expansion--- add location, variable: offset, value: $1A3E85
Function: In Expansion--- add location, variable: offset, value: $1A3EA6
Function: In Expansion--- add location, variable: offset, value: $1A3EC7
Function: In Expansion--- add location, variable: offset, value: $1A3EE8
Function: In Expansion--- add location, variable: offset, value: $1A3F09
Function: In Expansion--- add location, variable: offset, value: $1A3F2A
Function: In Expansion--- add location, variable: offset, value: $1A3F4B
Function: In Expansion--- add location, variable: offset, value: $1A3F6C
Function: In Expansion--- add location, variable: offset, value: $1A3F8D
Function: In Expansion--- add location, variable: offset, value: $1A3FAE
Function: In Expansion--- add location, variable: offset, value: $1A3FCF
Function: In Expansion--- add location, variable: offset, value: $1A3FF0
Function: In Expansion--- add location, variable: offset, value: $1A4011
Function: In Expansion--- add location, variable: offset, value: $1A4032
Function: In Expansion--- add location, variable: offset, value: $1A4053
Function: In Expansion--- add location, variable: offset, value: $1A4074
Function: In Expansion--- add location, variable: offset, value: $1A4095
Function: In Expansion--- add location, variable: offset, value: $1A40B6
Function: In Expansion--- add location, variable: offset, value: $1A40D7
Function: In Expansion--- add location, variable: offset, value: $1A40F8
Function: In Expansion--- add location, variable: offset, value: $1A4119
Function: In Expansion--- add location, variable: offset, value: $1A413A
Function: In Expansion--- add location, variable: offset, value: $1A415B
Function: In Expansion--- add location, variable: offset, value: $1A417C
Function: In Expansion--- add location, variable: offset, value: $1A419D
Function: In Expansion--- add location, variable: offset, value: $1A41BE
------ TILEMAPS ------
Function: findArrayMax--- max found, variable: max, value: $042E42
Function: In Expansion--- get max, variable: LastTilemapPtr, value: $042E42
Function: In Expansion--- set tilemaps A, variable: offset, value: $19CD90
Array Name: TilemapPtrs, length: 00041D
Function: In Expansion--- set tilemaps B, variable: offset, value: $19D1AD
Array Name: ExpTilemapPtrs, length: 0001E0
Function: In Expansion--- set tilemaps C, variable: offset, value: $330000
Array Name: TilemapData, length: 042E42
------ Add new tilemaps ------
Function: In Expansion--- Add extra tilemap0, variable: offset, value: $372E42
Function: In Expansion--- Add extra tilemap1, variable: offset, value: $372E5C
Function: In Expansion--- Add extra tilemap2, variable: offset, value: $372E76
Function: In Expansion--- Add extra tilemap3, variable: offset, value: $372E90
Function: In Expansion--- Add extra tilemap4, variable: offset, value: $372EAA
Function: In Expansion--- Add extra tilemap5, variable: offset, value: $372EC4
Function: In Expansion--- Add extra tilemap6, variable: offset, value: $372EDE
Function: In Expansion--- Add extra tilemap7, variable: offset, value: $372EF8
Function: In Expansion--- Add extra tilemap8, variable: offset, value: $372F12
Function: In Expansion--- Add extra tilemap9, variable: offset, value: $372F2C
Function: In Expansion--- Add extra tilemap10, variable: offset, value: $372F46
Function: In Expansion--- Add extra tilemap11, variable: offset, value: $372F60
Function: In Expansion--- Add extra tilemap12, variable: offset, value: $372F7A
Function: In Expansion--- Add extra tilemap13, variable: offset, value: $372F94
Function: In Expansion--- Add extra tilemap14, variable: offset, value: $372FAE
Function: In Expansion--- Add extra tilemap15, variable: offset, value: $372FC8
Function: In Expansion--- Add extra tilemap16, variable: offset, value: $372FE2
Function: In Expansion--- Add extra tilemap17, variable: offset, value: $372FFC
Function: In Expansion--- Add extra tilemap18, variable: offset, value: $373016
Function: In Expansion--- Add extra tilemap19, variable: offset, value: $373030
Function: In Expansion--- Add extra tilemap20, variable: offset, value: $37304A
Function: In Expansion--- Add extra tilemap21, variable: offset, value: $373064
Function: In Expansion--- Add extra tilemap22, variable: offset, value: $37307E
Function: In Expansion--- Add extra tilemap23, variable: offset, value: $373098
Function: In Expansion--- Add extra tilemap24, variable: offset, value: $3730B2
Function: In Expansion--- Add extra tilemap25, variable: offset, value: $3730CC
Function: In Expansion--- Add extra tilemap26, variable: offset, value: $3730E6
Function: In Expansion--- Add extra tilemap27, variable: offset, value: $373100
Function: In Expansion--- Add extra tilemap28, variable: offset, value: $37311A
Function: In Expansion--- Add extra tilemap29, variable: offset, value: $373134
Function: In Expansion--- Add extra tilemap30, variable: offset, value: $37314E
Function: In Expansion--- Add extra tilemap31, variable: offset, value: $373168
Function: In Expansion--- Add extra tilemap32, variable: offset, value: $373182
Function: In Expansion--- Add extra tilemap33, variable: offset, value: $37319C
Function: In Expansion--- Add extra tilemap34, variable: offset, value: $3731B6
Function: In Expansion--- Add extra tilemap35, variable: offset, value: $3731D0
Function: In Expansion--- Add extra tilemap36, variable: offset, value: $3731EA
Function: In Expansion--- Add extra tilemap37, variable: offset, value: $373204
Function: In Expansion--- Add extra tilemap38, variable: offset, value: $37321E
Function: In Expansion--- Add extra tilemap39, variable: offset, value: $373238
Function: In Expansion--- Add extra tilemap40, variable: offset, value: $373252
Function: In Expansion--- Add extra tilemap41, variable: offset, value: $37326C
Function: In Expansion--- Add extra tilemap42, variable: offset, value: $373286
Function: In Expansion--- Add extra tilemap43, variable: offset, value: $3732A0
Function: In Expansion--- Add extra tilemap44, variable: offset, value: $3732BA
Function: In Expansion--- Add extra tilemap45, variable: offset, value: $3732D4
Function: In Expansion--- Add extra tilemap46, variable: offset, value: $3732EE
Function: In Expansion--- Add extra tilemap47, variable: offset, value: $373308
Function: In Expansion--- Add extra tilemap48, variable: offset, value: $373322
Function: In Expansion--- Add extra tilemap49, variable: offset, value: $37333C
Function: In Expansion--- Add extra tilemap50, variable: offset, value: $373356
Function: In Expansion--- Add extra tilemap51, variable: offset, value: $373370
Function: In Expansion--- Add extra tilemap52, variable: offset, value: $37338A
Function: In Expansion--- Add extra tilemap53, variable: offset, value: $3733A4
Function: In Expansion--- Add extra tilemap54, variable: offset, value: $3733BE
Function: In Expansion--- Add extra tilemap55, variable: offset, value: $3733D8
Function: In Expansion--- Add extra tilemap56, variable: offset, value: $3733F2
Function: In Expansion--- Add extra tilemap57, variable: offset, value: $37340C
Function: In Expansion--- Add extra tilemap58, variable: offset, value: $373426
Function: In Expansion--- Add extra tilemap59, variable: offset, value: $373440
Function: In Expansion--- Add extra tilemap60, variable: offset, value: $37345A
Function: In Expansion--- Add extra tilemap61, variable: offset, value: $373474
Function: In Expansion--- Add extra tilemap62, variable: offset, value: $37348E
Function: In Expansion--- Add extra tilemap63, variable: offset, value: $3734A8
Function: In Expansion--- Add extra tilemap64, variable: offset, value: $3734C2
Function: In Expansion--- Add extra tilemap65, variable: offset, value: $3734DC
Function: In Expansion--- Add extra tilemap66, variable: offset, value: $3734F6
Function: In Expansion--- Add extra tilemap67, variable: offset, value: $373510
Function: In Expansion--- Add extra tilemap68, variable: offset, value: $37352A
Function: In Expansion--- Add extra tilemap69, variable: offset, value: $373544
Function: In Expansion--- Add extra tilemap70, variable: offset, value: $37355E
Function: In Expansion--- Add extra tilemap71, variable: offset, value: $373578
Function: In Expansion--- Add extra tilemap72, variable: offset, value: $373592
Function: In Expansion--- Add extra tilemap73, variable: offset, value: $3735AC
Function: In Expansion--- Add extra tilemap74, variable: offset, value: $3735C6
Function: In Expansion--- Add extra tilemap75, variable: offset, value: $3735E0
Function: In Expansion--- Add extra tilemap76, variable: offset, value: $3735FA
Function: In Expansion--- Add extra tilemap77, variable: offset, value: $373614
Function: In Expansion--- Add extra tilemap78, variable: offset, value: $37362E
Function: In Expansion--- Add extra tilemap79, variable: offset, value: $373648
Function: In Expansion--- Add extra tilemap80, variable: offset, value: $373662
Function: In Expansion--- Add extra tilemap81, variable: offset, value: $37367C
Function: In Expansion--- Add extra tilemap82, variable: offset, value: $373696
Function: In Expansion--- Add extra tilemap83, variable: offset, value: $3736B0
Function: In Expansion--- Add extra tilemap84, variable: offset, value: $3736CA
Function: In Expansion--- Add extra tilemap85, variable: offset, value: $3736E4
Function: In Expansion--- Add extra tilemap86, variable: offset, value: $3736FE
Function: In Expansion--- Add extra tilemap87, variable: offset, value: $373718
Function: In Expansion--- Add extra tilemap88, variable: offset, value: $373732
Function: In Expansion--- Add extra tilemap89, variable: offset, value: $37374C
Function: In Expansion--- Add extra tilemap90, variable: offset, value: $373766
Function: In Expansion--- Add extra tilemap91, variable: offset, value: $373780
Function: In Expansion--- Add extra tilemap92, variable: offset, value: $37379A
Function: In Expansion--- Add extra tilemap93, variable: offset, value: $3737B4
Function: In Expansion--- Add extra tilemap94, variable: offset, value: $3737CE
Function: In Expansion--- Add extra tilemap95, variable: offset, value: $3737E8
Function: In Expansion--- Add extra tilemap96, variable: offset, value: $373802
Function: In Expansion--- Add extra tilemap97, variable: offset, value: $37381C
Function: In Expansion--- Add extra tilemap98, variable: offset, value: $373836
Function: In Expansion--- Add extra tilemap99, variable: offset, value: $373850
Function: In Expansion--- Add extra tilemap100, variable: offset, value: $37386A
Function: In Expansion--- Add extra tilemap101, variable: offset, value: $373884
Function: In Expansion--- Add extra tilemap102, variable: offset, value: $37389E
Function: In Expansion--- Add extra tilemap103, variable: offset, value: $3738B8
Function: In Expansion--- Add extra tilemap104, variable: offset, value: $3738D2
Function: In Expansion--- Add extra tilemap105, variable: offset, value: $3738EC
Function: In Expansion--- Add extra tilemap106, variable: offset, value: $373906
Function: In Expansion--- Add extra tilemap107, variable: offset, value: $373920
Function: In Expansion--- Add extra tilemap108, variable: offset, value: $37393A
Function: In Expansion--- Add extra tilemap109, variable: offset, value: $373954
Function: In Expansion--- Add extra tilemap110, variable: offset, value: $37396E
Function: In Expansion--- Add extra tilemap111, variable: offset, value: $373988
Function: In Expansion--- Add extra tilemap112, variable: offset, value: $3739A2
Function: In Expansion--- Add extra tilemap113, variable: offset, value: $3739BC
Function: In Expansion--- Add extra tilemap114, variable: offset, value: $3739D6
Function: In Expansion--- Add extra tilemap115, variable: offset, value: $3739F0
Function: In Expansion--- Add extra tilemap116, variable: offset, value: $373A0A
Function: In Expansion--- Add extra tilemap117, variable: offset, value: $373A24
Function: In Expansion--- Add extra tilemap118, variable: offset, value: $373A3E
Function: In Expansion--- Add extra tilemap119, variable: offset, value: $373A58
Function: In Expansion--- Add extra tilemap120, variable: offset, value: $373A72
Function: In Expansion--- Add extra tilemap121, variable: offset, value: $373A8C
Function: In Expansion--- Add extra tilemap122, variable: offset, value: $373AA6
Function: In Expansion--- Add extra tilemap123, variable: offset, value: $373AC0
Function: In Expansion--- Add extra tilemap124, variable: offset, value: $373ADA
Function: In Expansion--- Add extra tilemap125, variable: offset, value: $373AF4
Function: In Expansion--- Add extra tilemap126, variable: offset, value: $373B0E
Function: In Expansion--- Add extra tilemap127, variable: offset, value: $373B28
Function: In Expansion--- Add extra tilemap128, variable: offset, value: $373B42
Function: In Expansion--- Add extra tilemap129, variable: offset, value: $373B5C
Function: In Expansion--- Add extra tilemap130, variable: offset, value: $373B76
Function: In Expansion--- Add extra tilemap131, variable: offset, value: $373B90
Function: In Expansion--- Add extra tilemap132, variable: offset, value: $373BAA
Function: In Expansion--- Add extra tilemap133, variable: offset, value: $373BC4
Function: In Expansion--- Add extra tilemap134, variable: offset, value: $373BDE
Function: In Expansion--- Add extra tilemap135, variable: offset, value: $373BF8
Function: In Expansion--- Add extra tilemap136, variable: offset, value: $373C12
Function: In Expansion--- Add extra tilemap137, variable: offset, value: $373C2C
Function: In Expansion--- Add extra tilemap138, variable: offset, value: $373C46
Function: In Expansion--- Add extra tilemap139, variable: offset, value: $373C60
Function: In Expansion--- Add extra tilemap140, variable: offset, value: $373C7A
Function: In Expansion--- Add extra tilemap141, variable: offset, value: $373C94
Function: In Expansion--- Add extra tilemap142, variable: offset, value: $373CAE
Function: In Expansion--- Add extra tilemap143, variable: offset, value: $373CC8
Function: In Expansion--- Add extra tilemap144, variable: offset, value: $373CE2
Function: In Expansion--- Add extra tilemap145, variable: offset, value: $373CFC
Function: In Expansion--- Add extra tilemap146, variable: offset, value: $373D16
Function: In Expansion--- Add extra tilemap147, variable: offset, value: $373D30
Function: In Expansion--- Add extra tilemap148, variable: offset, value: $373D4A
Function: In Expansion--- Add extra tilemap149, variable: offset, value: $373D64
Function: In Expansion--- Add extra tilemap150, variable: offset, value: $373D7E
Function: In Expansion--- Add extra tilemap151, variable: offset, value: $373D98
Function: In Expansion--- Add extra tilemap152, variable: offset, value: $373DB2
Function: In Expansion--- Add extra tilemap153, variable: offset, value: $373DCC
Function: In Expansion--- Add extra tilemap154, variable: offset, value: $373DE6
Function: In Expansion--- Add extra tilemap155, variable: offset, value: $373E00
Function: In Expansion--- Add extra tilemap156, variable: offset, value: $373E1A
Function: In Expansion--- Add extra tilemap157, variable: offset, value: $373E34
Function: In Expansion--- Add extra tilemap158, variable: offset, value: $373E4E
Function: In Expansion--- Add extra tilemap159, variable: offset, value: $373E68
Function: In Expansion--- set data bank, variable: dataOffset, value: $F20000
------ Writing Event ASM ------
Function: setAsmArray--- int, variable: ROM offset, value: $00BCAF
Function: setAsmArray--- int, variable: value set, value: $C40002
Function: setAsmArray--- int, variable: ROM offset, value: $00BCB5
Function: setAsmArray--- int, variable: value set, value: $C40000
Function: setAsmArray--- int, variable: ROM offset, value: $00BCBE
Function: setAsmArray--- int, variable: value set, value: $C40000
Function: setAsmArray--- int, variable: ROM offset, value: $00BCD4
Function: setAsmArray--- int, variable: value set, value: $C40002
Function: setAsmArray--- int, variable: ROM offset, value: $00BCEE
Function: setAsmArray--- int, variable: value set, value: $C40004
------ Writing NPC ASM ------
Function: setAsmArray--- int, variable: ROM offset, value: $0052BD
Function: setAsmArray--- int, variable: value set, value: $F20002
Function: setAsmArray--- int, variable: ROM offset, value: $0052C3
Function: setAsmArray--- int, variable: value set, value: $F20000
Function: setAsmArray--- int, variable: ROM offset, value: $0052D5
Function: setAsmArray--- int, variable: value set, value: $F20000
Function: setAsmArray--- int, variable: ROM offset, value: $0052DC
Function: setAsmArray--- int, variable: value set, value: $F20001
Function: setAsmArray--- int, variable: ROM offset, value: $0052E3
Function: setAsmArray--- int, variable: value set, value: $F20002
Function: setAsmArray--- int, variable: ROM offset, value: $0052EC
Function: setAsmArray--- int, variable: value set, value: $F20002
Function: setAsmArray--- int, variable: ROM offset, value: $0052F9
Function: setAsmArray--- int, variable: value set, value: $F20002
Function: setAsmArray--- int, variable: ROM offset, value: $005306
Function: setAsmArray--- int, variable: value set, value: $F20002
Function: setAsmArray--- int, variable: ROM offset, value: $005322
Function: setAsmArray--- int, variable: value set, value: $F20004
Function: setAsmArray--- int, variable: ROM offset, value: $00532D
Function: setAsmArray--- int, variable: value set, value: $F20004
Function: setAsmArray--- int, variable: ROM offset, value: $00533B
Function: setAsmArray--- int, variable: value set, value: $F20005
Function: setAsmArray--- int, variable: ROM offset, value: $00535B
Function: setAsmArray--- int, variable: value set, value: $F20005
Function: setAsmArray--- int, variable: ROM offset, value: $00536A
Function: setAsmArray--- int, variable: value set, value: $F20006
Function: setAsmArray--- int, variable: ROM offset, value: $005374
Function: setAsmArray--- int, variable: value set, value: $F20007
Function: setAsmArray--- int, variable: ROM offset, value: $005380
Function: setAsmArray--- int, variable: value set, value: $F20007
Function: setAsmArray--- int, variable: ROM offset, value: $00538B
Function: setAsmArray--- int, variable: value set, value: $F20007
Function: setAsmArray--- int, variable: ROM offset, value: $005398
Function: setAsmArray--- int, variable: value set, value: $F20008
Function: setAsmArray--- int, variable: ROM offset, value: $0053AE
Function: setAsmArray--- int, variable: value set, value: $F20008
Function: setAsmArray--- int, variable: ROM offset, value: $0053BD
Function: setAsmArray--- int, variable: value set, value: $F20008
Function: setAsmArray--- int, variable: ROM offset, value: $0053D1
Function: setAsmArray--- int, variable: value set, value: $F20008
Function: setAsmArray--- int, variable: ROM offset, value: $0053E4
Function: setAsmArray--- int, variable: value set, value: $F20008
------ Writing Short Exit ASM ------
Function: setAsmArray--- int, variable: ROM offset, value: $001A7E
Function: setAsmArray--- int, variable: value set, value: $F29002
Function: setAsmArray--- int, variable: ROM offset, value: $001A84
Function: setAsmArray--- int, variable: value set, value: $F29000
Function: setAsmArray--- int, variable: ROM offset, value: $001A90
Function: setAsmArray--- int, variable: value set, value: $F29000
Function: setAsmArray--- int, variable: ROM offset, value: $001AAB
Function: setAsmArray--- int, variable: value set, value: $F29002
Function: setAsmArray--- int, variable: ROM offset, value: $001AB7
Function: setAsmArray--- int, variable: value set, value: $F29002
Function: setAsmArray--- int, variable: ROM offset, value: $001AC3
Function: setAsmArray--- int, variable: value set, value: $F29002
Function: setAsmArray--- int, variable: ROM offset, value: $001AD2
Function: setAsmArray--- int, variable: value set, value: $F29004
Function: setAsmArray--- int, variable: ROM offset, value: $001AE7
Function: setAsmArray--- int, variable: value set, value: $F29004
Function: setAsmArray--- int, variable: ROM offset, value: $001AF1
Function: setAsmArray--- int, variable: value set, value: $F29003
Function: setAsmArray--- int, variable: ROM offset, value: $001AFE
Function: setAsmArray--- int, variable: value set, value: $F29003
Function: setAsmArray--- int, variable: ROM offset, value: $001B0C
Function: setAsmArray--- int, variable: value set, value: $F29003
Function: setAsmArray--- int, variable: ROM offset, value: $001B2D
Function: setAsmArray--- int, variable: value set, value: $F29002
Function: setAsmArray--- int, variable: ROM offset, value: $001B5F
Function: setAsmArray--- int, variable: value set, value: $F29003
Function: setAsmArray--- int, variable: ROM offset, value: $2E20EA
Function: setAsmArray--- int, variable: value set, value: $F29000
Function: setAsmArray--- int, variable: ROM offset, value: $2E20F0
Function: setAsmArray--- int, variable: value set, value: $F29002
Function: setAsmArray--- int, variable: ROM offset, value: $2E20FF
Function: setAsmArray--- int, variable: value set, value: $F29000
Function: setAsmArray--- int, variable: ROM offset, value: $2E2107
Function: setAsmArray--- int, variable: value set, value: $F29001
Function: setAsmArray--- int, variable: ROM offset, value: $2E2111
Function: setAsmArray--- int, variable: value set, value: $F29002
Function: setAsmArray--- int, variable: ROM offset, value: $2E213D
Function: setAsmArray--- int, variable: value set, value: $F29004
------ Write Long Exit ASM ------
Function: setAsmArray--- int, variable: ROM offset, value: $0018EB
Function: setAsmArray--- int, variable: value set, value: $F2D002
Function: setAsmArray--- int, variable: ROM offset, value: $0018F1
Function: setAsmArray--- int, variable: value set, value: $F2D000
Function: setAsmArray--- int, variable: ROM offset, value: $001904
Function: setAsmArray--- int, variable: value set, value: $F2D002
Function: setAsmArray--- int, variable: ROM offset, value: $00190C
Function: setAsmArray--- int, variable: value set, value: $F2D001
Function: setAsmArray--- int, variable: ROM offset, value: $001917
Function: setAsmArray--- int, variable: value set, value: $F2D000
Function: setAsmArray--- int, variable: ROM offset, value: $00191F
Function: setAsmArray--- int, variable: value set, value: $F2D000
Function: setAsmArray--- int, variable: ROM offset, value: $001930
Function: setAsmArray--- int, variable: value set, value: $F2D000
Function: setAsmArray--- int, variable: ROM offset, value: $00193B
Function: setAsmArray--- int, variable: value set, value: $F2D001
Function: setAsmArray--- int, variable: ROM offset, value: $001943
Function: setAsmArray--- int, variable: value set, value: $F2D001
Function: setAsmArray--- int, variable: ROM offset, value: $001964
Function: setAsmArray--- int, variable: value set, value: $F2D003
Function: setAsmArray--- int, variable: ROM offset, value: $001970
Function: setAsmArray--- int, variable: value set, value: $F2D003
Function: setAsmArray--- int, variable: ROM offset, value: $00197C
Function: setAsmArray--- int, variable: value set, value: $F2D003
Function: setAsmArray--- int, variable: ROM offset, value: $00198B
Function: setAsmArray--- int, variable: value set, value: $F2D005
Function: setAsmArray--- int, variable: ROM offset, value: $0019A0
Function: setAsmArray--- int, variable: value set, value: $F2D005
Function: setAsmArray--- int, variable: ROM offset, value: $0019AA
Function: setAsmArray--- int, variable: value set, value: $F2D004
Function: setAsmArray--- int, variable: ROM offset, value: $0019B7
Function: setAsmArray--- int, variable: value set, value: $F2D004
Function: setAsmArray--- int, variable: ROM offset, value: $0019C5
Function: setAsmArray--- int, variable: value set, value: $F2D004
Function: setAsmArray--- int, variable: ROM offset, value: $0019E6
Function: setAsmArray--- int, variable: value set, value: $F2D003
Function: setAsmArray--- int, variable: ROM offset, value: $001A15
Function: setAsmArray--- int, variable: value set, value: $F2D004
------ Write Chest ASM ------
Function: setAsmArray--- int, variable: ROM offset, value: $004C09
Function: setAsmArray--- int, variable: value set, value: $F2E344
Function: setAsmArray--- int, variable: ROM offset, value: $004C0F
Function: setAsmArray--- int, variable: value set, value: $F2E342
Function: setAsmArray--- int, variable: ROM offset, value: $004BDB
Function: setAsmArray--- int, variable: value set, value: $F2E002
Function: setAsmArray--- int, variable: ROM offset, value: $004BE1
Function: setAsmArray--- int, variable: value set, value: $F2E000
Function: setAsmArray--- int, variable: ROM offset, value: $004BED
Function: setAsmArray--- int, variable: value set, value: $F2E340
Function: setAsmArray--- int, variable: ROM offset, value: $004BF5
Function: setAsmArray--- int, variable: value set, value: $F2E341
Function: setAsmArray--- int, variable: ROM offset, value: $0015DE
Function: setAsmArray--- int, variable: value set, value: $F2E002
Function: setAsmArray--- int, variable: ROM offset, value: $0015E4
Function: setAsmArray--- int, variable: value set, value: $F2E000
Function: setAsmArray--- int, variable: ROM offset, value: $0015F2
Function: setAsmArray--- int, variable: value set, value: $F2E340
Function: setAsmArray--- int, variable: ROM offset, value: $0015F8
Function: setAsmArray--- int, variable: value set, value: $F2E341
Function: setAsmArray--- int, variable: ROM offset, value: $0015FF
Function: setAsmArray--- int, variable: value set, value: $F2E342
Function: setAsmArray--- int, variable: ROM offset, value: $00160A
Function: setAsmArray--- int, variable: value set, value: $F2E342
------ Write Locations ASM ------
Function: In Expansion--- Write Locations ASM, variable: Expansion.ROM_LOCATION, value: $C01CC0
Function: In Expansion--- Write Locations ASM, variable: Expansion.NEW_LOCATION, value: $DA0000
------ Set Tilemaps ADC & LDA ------
Function: setAsmArray--- short, variable: ROM offset, value: $002898
Function: setAsmArray--- short, variable: value set, value: $000000
Function: setAsmArray--- short, variable: ROM offset, value: $0028EC
Function: setAsmArray--- short, variable: value set, value: $000000
Function: setAsmArray--- short, variable: ROM offset, value: $002942
Function: setAsmArray--- short, variable: value set, value: $000000
Function: setAsmArray--- byte, variable: ROM offset, value: $0028A4
Function: setAsmArray--- byte, variable: value set, value: $0000F3
Function: setAsmArray--- byte, variable: ROM offset, value: $0028F8
Function: setAsmArray--- byte, variable: value set, value: $0000F3
Function: setAsmArray--- byte, variable: ROM offset, value: $00294E
Function: setAsmArray--- byte, variable: value set, value: $0000F3
------ Writing Location Names ASM ------
Function: setAsmArray--- short, variable: ROM offset, value: $00800D
Function: setAsmArray--- short, variable: value set, value: $004400
Function: setAsmArray--- byte, variable: ROM offset, value: $007FFE
Function: setAsmArray--- byte, variable: value set, value: $0000DA
------ Write Memory ------
Function: In Expansion--- Write Memory, variable: memoryOffset, value: $EDC47F
Function: In Expansion--- Write Memory, variable: mem, value: $000081
Function: InitFields (isExpanded = True)--- Init, variable: BASE_EVENT_PTR, value: $040000
Function: InitFields (isExpanded = True)--- Init, variable: BASE_EVENT, value: $040402
Function: InitFields (isExpanded = True)--- Init, variable: BASE_NPC_PTR, value: $320000
Function: InitFields (isExpanded = True)--- Init, variable: BASE_NPC, value: $320402
Function: InitFields (isExpanded = True)--- Init, variable: BASE_SHORT_EXIT_PTR, value: $329000
Function: InitFields (isExpanded = True)--- Init, variable: BASE_SHORT_EXIT, value: $329402
Function: InitFields (isExpanded = True)--- Init, variable: BASE_LONG_EXIT_PTR, value: $32D000
Function: InitFields (isExpanded = True)--- Init, variable: BASE_LONG_EXIT, value: $32D402
Function: InitFields (isExpanded = True)--- Init, variable: BASE_CHEST_PTR, value: $32E000
Function: InitFields (isExpanded = True)--- Init, variable: BASE_CHEST, value: $32E400
Function: InitFields (isExpanded = True)--- Init, variable: BASE_TILEMAP_PTR, value: $19CD90
Function: InitFields (isExpanded = True)--- Init, variable: BASE_TILEMAP, value: $F30000
Function: InitFields (isExpanded = True)--- Init, variable: BASE_LOCATION, value: $DA0000
Function: InitFields (isExpanded = True)--- Init, variable: BASE_LOC_NAMES_PTR, value: $DA4200
Function: InitFields (isExpanded = True)--- Init, variable: BASE_LOC_NAMES, value: $DA4400
------ END OF LOG 9/15/2016 5:28:46 PM ------
  Find
Quote  
[-] The following 1 user says Thank You to Warrax for this post:
  • madsiur (09-16-2016)

#7
Posts: 3,966
Threads: 279
Thanks Received: 234
Thanks Given: 56
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(09-15-2016, 04:20 PM)Warrax Wrote: It's a ROM modified by FF3usME (Monster Battle script Hack applied) and by FF6MDE but not by any IPS patches and hasn't been modified by any map editors.

Do you mean the fix FF3usME does when opening the monster editor? Also, did you happen to edit chests with FF6MDE? In any case I'd like to replicate your bug. Your log is identical to the one of a vanilla ROM and everything seems fine as far as offsets loading goes. If you're ok with sending your ROM to me in a pm, I could take a closer look at this.

Edit: I forgot to enable to path choosing button in the settings in the 0.1 build. I'll release a fixed version before going to bed.
  Find
Quote  

#8
Posts: 208
Threads: 3
Thanks Received: 0
Thanks Given: 8
Joined: May 2013
Reputation: 0
Status
None
(09-15-2016, 08:40 PM)Madsiur Wrote:
(09-15-2016, 04:20 PM)Warrax Wrote: It's a ROM modified by FF3usME (Monster Battle script Hack applied) and by FF6MDE but not by any IPS patches and hasn't been modified by any map editors.

Do you mean the fix FF3usME does when opening the monster editor? Also, did you happen to edit chests with FF6MDE? In any case I'd like to replicate your bug. Your log is identical to the one of a vanilla ROM and everything seems fine as far as offsets loading goes. If you're ok with sending your ROM to me in a pm, I could take a closer look at this.

Edit: I forgot to enable to path choosing button in the settings in the 0.1 build. I'll release a fixed version before going to bed.

Yes it's the fix from FFusME when opening the monster editor. And yes I did happen to edit many chests with FF6MDE.
ROM sent via PM.
  Find
Quote  

#9
Posts: 3,966
Threads: 279
Thanks Received: 234
Thanks Given: 56
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
Version 0.2 is up! (Check original post)

Warrax had a good intuition, I was fetching offsets before a headered ROM was trimmed of its header. Version 0.2 fix this. I also enabled the directory selector in Expansion menu and properly covered some cases where possibly the editor map names bin file could not be serialized / deserialized (folder permission problems as an example). I also improved validation in Expansion menu.

I added a mini ROM Map to the archive and pasted it in the first post as well. I should have the complete ASM changes file ready this weekend, there is very little I need to add to it. Readme should be done soon also.
  Find
Quote  

#10
Posts: 19
Threads: 1
Thanks Received: 0
Thanks Given: 3
Joined: Dec 2015
Reputation: 0
Status
Libra
Fantastic!!! Thanks for the work that went into this. This is great for the FF6 hacking scene in general.
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite