Commit Graph
100 Commits
Author SHA1 Message Date
Maruno17 d654f3edbf Added BP shop and prices to various items 2022-12-01 22:43:47 +00:00
Maruno17 b13c2ed2ed Fixed and generalised PBS editors 2022-11-28 20:28:48 +00:00
Maruno17 7c39a56a43 Made tutored moves learnable by Pokémon if they can get the move via level/egg move, followers won't follow the player if they already have a move route, added console warning if a different version of mkxp-z is detected 2022-11-27 22:38:47 +00:00
Maruno17 427cc45629 Generalised compiler and writer methods for trainers.txt 2022-11-23 22:44:15 +00:00
Maruno17 91efb4684b Fixed file-choosing methods not removing file extensions, fixed typo in Puddle envirnment registration 2022-11-23 22:43:11 +00:00
Maruno17 bd04112122 Allowed multiple PBS files per data type, removed hardcoded lists of PBS files/.dat files/GameData classes that need data loading 2022-11-22 22:24:30 +00:00
Maruno17 4d147a7bf7 Turned Town Map PBS data into a GameData class 2022-11-20 21:44:53 +00:00
Maruno17 f33eb4d896 Added PBS schema character ^ for repeated lines, more refactoring of PBS compilers/writers 2022-11-20 20:15:04 +00:00
Maruno17 1ff7307868 Rewrote and standardised several PBS writer methods 2022-11-19 23:03:42 +00:00
Maruno17 5d439de87d Added compiler schema letter "m" which makes the value a symbol, refactored many PBS file compilers, removed support for old PBS formats/properties 2022-11-16 22:03:12 +00:00
Maruno17 bbe654028c Revised changes in previous commit about Pokémon generation for non-standard battles 2022-11-05 19:29:06 +00:00
Maruno17 5dd8c31ff0 Fixed only one IV being inherited due to a held Power item if both parents are holding different Power items 2022-11-05 18:46:22 +00:00
Maruno17 4f42eca3ee Fixed Safari/Bug Contest/roaming battles generating Pokémon while ignoring that Pokémon's defined form 2022-11-05 18:08:04 +00:00
Maruno17 096957bc20 Fixed Liquid Ooze not applying if the bearer faints, fixed two-turn moves being used in one turn charging up after failing instead of before 2022-11-05 17:48:01 +00:00
Maruno17 c984fda1cf Standardised compiling-based console messages 2022-11-05 16:18:24 +00:00
Maruno17 6f7a714d48 Fixed error in battle fight menu when not using graphics for it 2022-10-26 18:39:32 +01:00
Maruno17 5384a7afe4 Fixed a scrolled screen snapping back to centre on the player as soon as they move 2022-10-23 15:37:45 +01:00
Maruno17 2d411cf152 Fixed error in previous commit 2022-10-19 20:01:17 +01:00
Maruno17 64f975072b Fixed BGM always restarting when changing maps if the new map's BGM has a night version 2022-10-19 19:12:39 +01:00
Maruno17 9eb90b784e addIf now need an identifier symbol, fixed clas between using Future Sight and being locked into a move, fixed IV inheritance 2022-10-16 22:53:41 +01:00
Maruno17 9ad45d6b07 Fixed bug caused by strikethrough/underline change, fixed fixed damage moves showing effectiveness messages 2022-10-16 15:52:02 +01:00
Maruno17 b41a46aacf Fixed roaming Pokémon not remembering whether they have been caught 2022-10-08 18:06:37 +01:00
Maruno17 882f4c96f8 Bug fixes: Shadow Pokémon still knowing some original moves when they shouldn't, Interpreter not resetting if saved in the middle of an event and then starting a new game, priority 1 tiles appearing below the player at larger screen sizes, ability inheritance when breeding 2022-10-08 17:46:29 +01:00
Maruno17 fa2758edaa Fixed Pastel Veil not providing poison immunity to allies, and not healing the bearer if it becomes poisoned anyway 2022-10-04 22:10:58 +01:00
Maruno17 4ddf689887 Improved Debug running options in battle, allowed Debug running from battle by choosing Call, removed support for save files in the old save location 2022-10-02 16:01:35 +01:00
Maruno17 88dc215417 Bug fixes: interacting with a follower in the same tile as the player; underline/strikethrough line mispositionings and added shadows to those lines; Toxic/Flame Orb replacing existing status problems; grown berry plants looking like sprouts; pbShowCommandsWithHelp not deactivating message windows it creates 2022-10-02 14:59:59 +01:00
Maruno17 1ccbafb499 Rewrote the random dungeon generator code 2022-10-01 18:06:15 +01:00
Maruno17 8c31ad994d Misc tidying 2022-09-11 23:53:25 +01:00
Maruno17 2962944cab Redesigned phone.txt (old format isn't supported), added support for contact-specific phone messages, added more phone message components 2022-09-11 19:07:47 +01:00
Maruno17 4fcd19e247 Added sorting to phone, both moving individual contacts and sorting all at once 2022-09-10 23:20:40 +01:00
Maruno17 25a8d727ab Rewrote phone UI code, added "CommonEvent" trainer comment for that phone contact to run instead of default phone messages, added phone signal icon to phone 2022-09-10 19:41:12 +01:00
Maruno17 662d023ff5 Improved console messages when compiling didn't happen, egg crack graphics are now found in the same way as egg graphics 2022-09-10 19:38:21 +01:00
Maruno17 dcba641a86 Fixed typos in def pbCalcTypeModPokemon, fixed party screen navigation errors when there are no Pokémon, advanced battle Debug functions now trigger modifiers, can now always change a Pokémon's form to 0 2022-09-10 16:33:11 +01:00
Maruno17 18ffd4fb94 Fix to colour-stringifying methods 2022-08-19 21:40:46 +01:00
Maruno17 ae91811537 Created folder Graphics/UI, renamed some UI graphics 2022-08-14 01:07:06 +01:00
Maruno17 b1cde2db42 Refactored some code relating to colours, trivially simplified some calculations 2022-08-13 23:59:24 +01:00
Maruno17 aa9b1a9e23 Refactored phone/rematches code, added Phone.rematches_enabled/Phone.rematch_variant/map metadata flag "NoPhoneSignal", changed event layout, trainer contacts can use Common Events for their calls, etc. 2022-08-13 16:52:42 +01:00
Maruno17 c79b970d6b Fixed error when shifting Pokémon at the end of a battle round, fixed Giratina's form code crashing if the current map doesn't have metadata, fixed item sell prices being halved twice 2022-08-13 16:29:48 +01:00
Maruno17 1d2f13f9c5 Entered dev version for v21 2022-08-10 21:16:17 +01:00
Maruno17 a20f378b33 Minor tweaks 2022-08-09 19:30:27 +01:00
Maruno17 b2ddedbce1 Reduced the work done when updating the sprites of events without a graphic 2022-08-07 16:29:29 +01:00
Maruno17 6542d505a6 The player now dismounts the Bicycle after various map transfers 2022-08-07 16:07:37 +01:00
Maruno17 cca414a826 Bug Contest maps can now be defined using a map metadata flag 2022-08-07 15:00:40 +01:00
Maruno17 f083cddca5 def pbPhoneRegisterBattle now returns a boolean, added vowel checks to some messages in berry planting 2022-08-07 14:43:40 +01:00
Maruno17 b423f34da6 Returning to the title screen now fades out the overworld first 2022-08-07 14:39:10 +01:00
Maruno17 f22707f2f1 Fixed being unable to set the player's movement speed during a move route 2022-08-07 14:27:39 +01:00
Maruno17 3c748c9d68 Fixed play time carrying over to new games, fixed Eerie Spell thinking it's a status move, fixed text positionings in Pokédex and naming screen, fixed Channeler typo 2022-08-07 14:21:30 +01:00
Maruno17 757798c8a8 Summary screen now uses only the first Regional Dex to determine Dex No. if the National Dex is locked 2022-07-10 19:16:11 +01:00
Maruno17 72e45ab137 Fixed error when getting terrain tag when the player moves between connected maps 2022-07-10 19:05:54 +01:00
Maruno17 473d4cbb67 Fixed SystemStackError when two events on connected maps have their backs to the other map 2022-07-10 19:05:42 +01:00
Maruno17 8ae07a6d15 Fixed some Vs animations not playing for double battles against 1 trainer, fixed typo in Grassy Glide's effect 2022-07-08 13:44:04 +01:00
Maruno17 3314477f08 Made the example wild encounter modifier that scales Pokémon levels to match the player's party depend on a map metadata flag instead of a map number 2022-07-07 20:49:49 +01:00
Maruno17 b50ce948f6 Fixed battle rule "forceCatchIntoParty" being circumventable, fixed wrong message when sending a party Pokémon to storage and replacing it with a caught Pokémon 2022-07-07 20:42:23 +01:00
Maruno17 e1dc7c91bc Fixed broken Bill's PC menu options 2022-07-06 20:03:46 +01:00
Maruno17 0b65865962 Fixed error message spam in the console when editing Game Swtches via the Debug mode feature 2022-07-06 20:03:10 +01:00
Maruno17 8f73319605 Fixed evolution reviving fainted Pokémon, fixed Rare Candy not reviving a fainted Shedinja 2022-07-06 20:02:30 +01:00
Maruno17 a85f672c73 Fixed crash when the Compiler rewrites a door event 2022-07-06 18:43:52 +01:00
Maruno17 2976ee93ce Added Setting that makes trainer-owned Pokémon give more Exp, other tweaks 2022-07-03 17:39:44 +01:00
Maruno17 a2327c6280 Fixed playing the credits/changing $scene leaving a ghost image of the old map behind, fixed Pokémon icons sometimes disappearing in storage screen 2022-07-03 16:40:25 +01:00
Maruno17 6dd88e49e1 Fixed the "See ya!" option in the PC menu not working properly, fixed mispositioning of text in Debug features that edit Game
Switches/Variables
2022-07-03 15:58:37 +01:00
Maruno17 94c6b6db0c Fixed Heavy Ball's catch rate calculation being inaccurate, added Obstruct to some moves' blacklists 2022-07-03 15:22:34 +01:00
Maruno17 7e183a92aa Tidying up for v20.1 release 2022-06-20 19:17:38 +01:00
Maruno17 76639c4ba5 Fixed duplicate files listed in BGM/ME pickers in PBS file editors 2022-06-20 08:44:18 +01:00
Maruno17 03ffae6eed Fixed empty wild encounter type tables not being editable in "Edit Wild Encounters" debug function 2022-06-19 23:07:21 +01:00
Maruno17 2486fa9fe2 Fixed player being able to be stuck in running position when opening the pause/ready menu 2022-06-19 22:44:29 +01:00
Maruno17 040247536f Some improvements to map/event rendering when changing display tile width/height in map renderer 2022-06-19 22:34:22 +01:00
Maruno17 8b3d95943a Essentials no longer requires the "Plugins" folder to exist 2022-06-19 17:40:34 +01:00
Maruno17 9261851701 Fixed party order not being altered at the start of battle if there are unable Pokémon before the one(s) sent in initially 2022-06-19 17:36:35 +01:00
Maruno17 9a53ee8a0e Fixed text positioning in "Roaming Pokémon" Debug function 2022-06-19 17:35:08 +01:00
Maruno17 2e3ba2e09e Fixed Grudge and Lunar Dance not properly changing PP amounts 2022-06-19 17:04:58 +01:00
Maruno17 b367b2442b Fixed error when using Future Sight 2022-06-18 21:18:34 +01:00
Maruno17 9a03b25755 Fixed using Pursuit against a switcher preventing using the next move 2022-06-18 21:13:30 +01:00
Maruno17 79f5e5d4aa Fixed mistake in individual trainer editor 2022-06-18 20:48:27 +01:00
Maruno17 4b895e44ef Fixed the passability of the blank tile not being ignored if its priority is 0 2022-06-17 21:41:35 +01:00
Maruno17 d42e35f8c4 Fixed being unable to walk across a map connection into an event even while holding Ctrl in Debug mode 2022-06-17 21:41:22 +01:00
Maruno17 cd47b9899c Fixed some maps being loaded when they shouldn't 2022-06-16 19:50:36 +01:00
Maruno17 3d8e22690d Stopped various filenames being translatable when they don't need to be 2022-06-16 13:29:48 +01:00
Maruno17 3238ff817c Fixed the Bag lists having incorrect starting positions when choosing an item from a subset of your Bag 2022-06-15 20:03:43 +01:00
Maruno17 b8e9251fb4 More splitting of AI_Move_EffectScores 2022-06-15 19:23:52 +01:00
Maruno17 62b964adfa Split script section AI_Move_EffectScores in two and rearranged it 2022-06-15 19:15:03 +01:00
Maruno17 c0c672806d Refactored code that draws the Pokémon info box in battle 2022-06-13 23:17:09 +01:00
Maruno17 cc540b0132 Refactored code that draws party screen panels 2022-06-13 22:54:44 +01:00
Maruno17 8d4015c903 Improvement to Scent items' in-battle effects 2022-06-13 21:23:51 +01:00
Maruno17 301ecb0ac7 Scents now end Hyper Mode, Time Flute now purifies a Shadow Pokémon, Shadow Pokémon now regain 80% of the Exp they missed out on, non-Scent items can't be used on Shadow Pokémon in Hyper Mode 2022-06-13 21:09:48 +01:00
Maruno17 732c167ad5 Writing moves.txt now calls power "Power" instead of "BaseDamage", other minor tidying 2022-06-13 20:17:16 +01:00
Maruno17 aec0215442 Fixed PBS files not being recovered properly if playing in Debug mode without a PBS folder 2022-06-13 20:15:47 +01:00
Maruno17 cdc82b6e65 Fix to previous commit about trainer intro BGM persisting after skipped battles 2022-06-10 17:48:18 +01:00
Maruno17 248b0dd882 Added def GameData::Species.base_stat_total, other minor code tweaks 2022-06-09 21:06:35 +01:00
Maruno17 cb2f33d8f6 Fixed GameData::Species.icon_bitmap_from_pokemon causing a crash, fixed trainer intro music not stopping after skipping their battle 2022-06-09 21:05:22 +01:00
Maruno17 49c916e1bb Added support for the Bug Catching Contest taking place over multiple maps 2022-06-08 23:13:01 +01:00
Maruno17 101dca7a31 Fixed the Back input not being able to close a displayed message in the Poké Mart 2022-06-08 22:46:30 +01:00
Maruno17 038be447fb Fixed crash when using a Shadow Pokémon Scent or Time Flute item 2022-06-05 14:48:54 +01:00
Maruno17 d383d69cf4 Fix for tiles being invisible after a map transfer if they were on screen before it 2022-06-04 16:06:00 +01:00
Maruno17 2c65a9de7d Fix for tiles being invisible after battle until they leave the edge of the screen 2022-06-03 20:13:19 +01:00
Maruno17 ff1f9633f3 Fixed SystemStackError when loading a connected map with an event at its edge facing away from that edge 2022-06-03 14:42:04 +01:00
Maruno17 b441411b2e Fixed trainer intro BGM persisting after battles against multiple trainers 2022-06-02 18:47:24 +01:00
Maruno17 e3dbc5e690 Updated moves.txt to fix a few mistakes 2022-06-02 17:27:14 +01:00
Maruno17 17e386d33e Fixed def pbChooseItemFromList not storing the correct result in a Game Variable 2022-06-02 16:46:27 +01:00
Maruno17 0da046d2c3 Fixed memory leak caused by lots of map transfers 2022-06-02 16:43:58 +01:00
Maruno17 1532be2410 Fixed incorrect capitalisation in message when Aurora Veil wears off 2022-06-02 16:40:37 +01:00