Commit Graph

35 Commits

Author SHA1 Message Date
AdAstra-LD
1e5627f8d5 Updated script editor and other things
- Add NSBTX and Remove NSBTX buttons also add/remove building configuration file [NSBTX Editor]
- Changed format of Script Editor display
- Added highlighting of 'Script', 'Function' and 'Action' keywords (only upon reloading)
- Changed Endcodes database to HashSet (PokeDatabase -> ScriptEditor)
- Minor refactor
2021-04-08 10:27:42 +02:00
AdAstra-LD
e909e47c65 Improved code readablity and formatting here and there 2021-03-27 03:56:30 +01:00
AdAstra-LD
7f8142bb68 More code cleanup and some fixes
- Created ScriptReference inner class [to be taken advantage of even further, possibly]
- Fixed case sensitivity of "0x" signal sequence and "Player", "Camera", "Following"
- DSPRE now reports error in number format
- Removed unused/useless accessors from MapFile.cs
- swapped Y and Z axes [Map Editor] for buildings
2021-03-27 03:18:59 +01:00
AdAstra-LD
eac27c41ff Fixed WildEditor showing success messages for every file upon repairing 2021-03-22 20:01:54 +01:00
AdAstra-LD
b39b350dd1 Continued code cleanup
- Created RomFile base class to be extended by classes such as TextArchive, EventFile, Matrix etc.
- Added wrench button to WildEditor, to fix broken encounter files [whenever possible]
2021-03-22 19:46:47 +01:00
AdAstra-LD
856586f265 Improved error robustness of Wild Editor
- Also fixed a problem with relative paths [DSUtils and MainWindow]
2021-03-22 16:59:42 +01:00
AdAstra-LD
2e23be5e13 Condensed HG/SS and D/P version check
Consequently fixing some ToolBox patches not working for Pearl or SoulSilver
2021-03-20 19:27:00 +01:00
AdAstra-LD
9a52397bd0 Major code cleanup
- Version update 1.2
- Added magic number check to Narc loader
- Removed redundant Narc loading functions in DSUtils
- Narcs to load are now explicitly listed
2021-03-20 18:37:36 +01:00
AdAstra-LD
6602f3df04 Minor refactor and first camera editor code 2021-03-20 02:38:44 +01:00
AdAstra-LD
04bebb0b13 Script editor improvements
- Better error management in Script Editor [also thanks to nullable types]
- Fixed duplicate cmd names in PokeDatabase
- Added new custom cmds to database
2021-03-19 04:55:20 +01:00
AdAstra-LD
8556b9fd2d Bunch of little improvements
- Fixed NSBMD name problem [Building Editor] The import button now updates the name in real time
- So does the buildings list box [Map editor]
- Updated command database reader
- Improved script reader (commands with relative jumps)
- Added CMDTable repoint patch (not revised yet)
2021-03-16 23:43:36 +01:00
AdAstra-LD
48dac1de88 Fixed a problem with Movement End command 2021-03-04 23:02:32 +01:00
AdAstra-LD
fa4ee4b8b7 Version update 1.1.5
- big trigger events can now be selected by right-clicking any tile in the range
- added a close confirmation dialog
- added a new error dialog (Tools folder broken or missing)
- fixed Worldmap coords and Flags not copypasting properly
- fixed a small bug with the building selector
- fixed filesize labels not updating [map editor]
2021-03-02 12:45:10 +01:00
AdAstra-LD
e0dfbc4301 Removed accented letters from variable names
also removed RomInfo object reference from CameraView.cs
2021-03-02 12:40:23 +01:00
AdAstra-LD
ffcc59ff61 Improved Standardize Items Patch
now every item is available and can be found on the ground
2021-02-16 19:00:25 +01:00
AdAstra-LD
696df50e93 ReAdded support for Chinese ROMs text""
This reverts commit 447ae311ab.
2021-02-13 17:12:19 +01:00
AdAstra-LD
74a624fd6d Fixed event editor overwrite bug
- also Removed unused SPK
- fixed some movement names (not sure whether there are version differences or not)
- added a few DPPt commands and fixed some params
2021-02-13 00:59:48 +01:00
AdAstra-LD
05a5df344a Last-minute script editor fix 2021-02-12 04:48:28 +01:00
AdAstra-LD
794f16ec20 More new features [1.1.4]
- Fixed overlay compression check
- Fixed issues with CommandContainers manualUserID
- Add support for player initial money to Spawn Settings Editor
- Fixed minor issues with ROMtoolbox + Code cleanup
- Fixed minor issues with Advanced Header Search ("Greater than"  operand)

- Edited Readme + new pics (version update)
2021-02-12 03:45:58 +01:00
AdAstra-LD
ecac235908 New features [1.1.4]
- version update 1.1.4
- removed useless LoadMapFile, created new constructor
- fixed matrix editor junk input detector
- added Spawn Point Editor (matrix editor button and toolbar)
- minor fixes to the MapHeader class
- converted try-catch statements for Dictionaries to If-TryGetValue
2021-02-11 19:12:27 +01:00
AdAstra-LD
ef0349b3bd Fixed DP weathers
[almost fixed Pt too]
2021-02-11 00:00:24 +01:00
AdAstra-LD
303ef2150e More script editor fixes
with a bit of code cleanup
2021-02-11 00:00:02 +01:00
AdAstra-LD
9cb6a501a6 Moved endcodes to PokeDatabase 2021-02-10 05:02:46 +01:00
AdAstra-LD
48d9ebfe69 Update ScriptFile.cs
- relative offsets are now signed
- fixed a problem with commands that had "return" in their name fucking up the script file
2021-02-10 04:51:28 +01:00
AdAstra-LD
16d932b524 Fixed critical offset problem with scriptfile [typo] 2021-02-09 23:09:58 +01:00
AdAstra-LD
f679b9deaa Complete rewrite of Overworld Sprite finder
Also minor refactor
2021-02-09 19:33:45 +01:00
AdAstra-LD
df2831e83c Some fixes and code readability improvements
- changed some var names to more intuitive ones
- fixed worldmap coordinates not updating
2021-02-09 04:50:22 +01:00
AdAstra-LD
6cdfea8abc fixed bugs with bgs importer
also minor ui changes [command database window]
2021-02-08 12:03:20 +01:00
AdAstra-LD
17707fcd68 Fixed command entries [ID typos] and section marker detection (----- @Script_# -----)
commands are now case insensitive
2021-02-08 14:32:15 +01:00
AdAstra-LD
71a52affe4 Minor update
Fixed minor bug with OW IDs [event editor]
added two more movements to dictionary
improved accuracy of error detection [script editor]
2021-02-07 05:05:31 +01:00
AdAstra-LD
832da0f49f Major script editor update + other stuff
- Separated Script Commands and Scipt Actions (new class)
- minor code refactor
- fixed menu buttons
- proceeded with script editor rewrite
- script editor identifies errors and reports them
- fixed minor issue with decimals ( buildings updown value box )
2021-02-06 21:17:34 +01:00
AdAstra-LD
a81295b1dd More HGSS commands and fixes 2021-02-05 19:06:02 +01:00
AdAstra-LD
da4d8a5d92 Fixed script editor expanding functions even when there's no need to
(UseScript_#X)
2021-02-05 16:55:29 +01:00
AdAstra-LD
a7880588ff Fixed "function undeclared message" appearing repeatedly 2021-02-05 13:35:58 +01:00
AdAstra-LD
2fba5d6d8b Reorganized files 2021-02-05 04:24:40 +01:00