Commit Graph

41 Commits

Author SHA1 Message Date
JappaWakka fabbc958d9 Fix Remove NPC data crash if < 4 args 2024-04-22 13:10:13 +02:00
JappaWakka 58a12e5edb Follower idle animate always 2024-04-06 19:46:05 +02:00
JappaWakka 9fe5f00e2a If the exact NPC register exists, no add to save 2024-03-28 17:58:30 +01:00
JappaWakka 3d7dbe2156 Fix Shellos HiddenGrotto form 2024-01-29 12:09:59 +01:00
JappaWakka 5c3adbcb2a Fix Walk NPC Movement...
Now an NPC with the Walk MovementType will no longer face a direction that is not in its MoveRectangles. When blocked in all directions, it will turn towards a place where it would otherwise have moved towards. Also slightly changed the chance for the NPC to walk or change direction.
2023-10-11 11:30:49 +02:00
JappaWakka 241cb8af9c Fix NPCs updating too often 2023-10-03 09:43:58 +02:00
JappaWakka eff7029411 Fix OffsetMap NPCs not updating 2023-10-02 20:26:24 +02:00
JappaWakka 04f971e8df Remove need for unnecessary register variable 2023-09-11 18:42:07 +02:00
JappaWakka 8d2eb864c1 NPCs no longer walk or turn away when paused 2023-09-10 17:39:05 +02:00
JappaWakka 5747c2f1ce Added pkmn gender constructs + fix hidden grotto 2023-09-03 18:47:15 +02:00
JappaWakka 6b4e8941d2 Fix registered trainers still do in sight check 2023-08-11 11:39:26 +02:00
JappaWakka 464c317d2f Revert "Fix registered trainers still do in sight check"
This reverts commit b7a045e37c.
2023-08-10 19:45:14 +02:00
JappaWakka b7a045e37c Fix registered trainers still do in sight check 2023-08-10 19:44:06 +02:00
JappaWakka 78cd53d745 Added <system.scripttrigger>
Returns what triggered the current script (NPCInSight, NPCInteract, ScriptBlockWalkOn, ScriptBlockInteract, Notification, PhoneReceive, PhoneCall, StartScript, ScriptCommand, StrengthTrigger, MapScript, ChatCommand).
2023-08-06 16:17:05 +02:00
JappaWakka 3c21a672c0 Stop Player from animating when game paused 2023-07-26 10:33:53 +02:00
JappaWakka 522196367a Stop NPC from dancing after done 2023-06-01 16:04:59 +02:00
JappaWakka 333873fdae Fix dancing NPCs rounding off position when done 2023-05-13 19:58:51 +02:00
JappaWakka ba2a970b11 Make it possible to spawn NPC w/ rival/playerskin 2023-05-09 18:27:27 +02:00
darkfire006 3ea6b65cac remove annoying case insenetivity 2023-01-08 01:49:10 -06:00
JappaWakka d2860b15a8 Models work better in battle now 2022-09-27 12:51:51 +02:00
JappaWakka 3d41783c71 Failsafe for Pokémon player texture 2022-08-28 14:29:09 +02:00
darkfire006 5614e05e4e replace random use age of different NPC skin names 2022-08-25 01:10:16 -05:00
darkfire006 0e32b45b6c allow white space before trainer scripts for insight detection 2022-08-23 00:08:55 -05:00
JappaWakka 6f5f992d6e Fix for softlock animations and tail whip crash 2022-07-24 15:16:16 +02:00
JappaWakka f103caa5f2 Fixed Models not being affected by lighting 2022-07-16 14:48:29 +02:00
JappaWakka 352b80db9c Any entity can have a model, model scale improved
0.1 meter in blender is now equivalent to 1/16th of a P3D unit or 1 pixel on a 16 pixels wide/tall texture. Mt Silver will need to be updated to match this scale, making the ModelEntity obsolete.

Also added Snorlax battle model
2022-07-13 00:12:16 +02:00
JappaWakka dab417e190 DiamondDive WaterFall fix and other fixes
Added @player.stopmovement before waterfall scripts to make sure the player doesn't move further than they should
Fixed spelling error in code: NotifcationTypes -> NotificationTypes
Added commands to ScriptLibrary that were missing
2022-06-14 18:12:29 +02:00
JappaWakka 7555a5e903 Battle fixes and improvements
* Fixed camera angle not changing to the Pokémon when status effects are doing something
* Fixed softlock when opponent trainer switches Pokémon
* (Hopefully) fixed initial positioning errors with spawned BattleAnimation entities related to BattleFlip functionality
* Removed the now unneccessary BattleFlip checks in the move animation of Growl
* Improved Ember move animation (fireball speed & flame delay)
* Improved Poison Sting move animation by making the stinger smaller, increasing the speed of the stinger and making it use a flipped version of the texture when the opponent uses the move
* Improved Poisoned status effect animation by making it 1 bubble for regular poison and 3 bubbles for toxic
* Repositioned the flame of the Burned status effect animation
* Trainers now display a message when sending out their Pokémon (I removed that before)
* Fixed Party Screen not appearing immediately after the player's Pokémon fainted and also made the player unable to exit the Party Screen when that happens.
* Fixed the incorrectly scaled font sizes and text alignment in the selection menu that appears when selecting a Pokémon in the Party screen
* Replaced minifont in the Pokémon level up stats box with InGameFont and fixed the offsets
* Fixed the error I made in the ceiling map code of Violet City's gym
* Removed the file MoveAnimationQueryObject.vb because AnimationQueryObject.vb also includes Move Animations
* Fixed the textbox in battles where an empty rectangle would appear before the animation finished.
* When a trainer spots the player and an exclamation mark bubble pops up above their head, a sound is played (Emote_Exclamation)
* In trainer battles, the player's Pokémon now also plays their cry.
2022-01-16 17:22:36 +01:00
JappaWakka 5b7a6fc9ab Fixed Overworld Pokémon texture animations
Pokémon textures with 3 and 4 frames work better now
When the player is running, the Pokémon animates faster
When a (network) player is standing still, the Pokémon animates slower (unless the Pokémon texture has 4 frames, then it stops at the first frame)
Cleaned up the code a little
2022-01-08 18:00:05 +01:00
JappaWakka d1fd63dafa Updated GameDevCommon submodule to use .NET 4.6 & Mo
And fixed some color errors
2021-10-21 20:49:07 +02:00
JappaWakka 904f2007a8 Fix for NetworkPokemon textures messing up 2021-10-15 19:13:25 +02:00
JappaWakka bd8f91e338 Pokémon idle animate when they have only 2 frames 2021-10-03 11:09:08 +02:00
JappaWakka 18c7f59fa0 Big Overworld Sprites Change + old NewGameI intro fix
Made it possible for Pokémon, NPCs and players to use textures that have 2 frames (1 - 2 - 1 - 2), 3 frames (1 - 2 - 1 - 3) or even 4 frames (1 - 2 - 3 - 4) with the numbers between the brackets being the order of the frames

- All default pokémon overworld sprites are now 2 frames wide

- Removed an error in the old NewGame intro

- Pokémon don't animate unless moving or when in battle
2021-10-01 17:06:41 +02:00
JappaWakka 9def5642e8 Lots of QoL changes
- You can now run up and down a slideblock.
- NPC movement type Straight is now less random and more smooth.
- When renaming the rival, the skin visible at the top changes to whatever skin is set as the rivalskin. This way, the rival is not stuck with one skin. This can be useful when the rival's skin changes based on the player's gender for example.
- Text messages that contain <token.tokenname>, where tokenname is a string from the localizations files, have the part between the <> replaced with that string now.
- Text messages that contain <button.buttonname>, where buttonname is one of the controls defined in "Saves\Keyboard.dat", will now have the part between the <> replaced with the key assigned to that control.
- Players can now be genderless instead of only either male or female in scripts.
- Which skins are available in the intro is now defined in the GameMode's definition file instead of being hard-coded
- Old New Game intro now uses the player skin data from the GameMode definition file
- The Pokémon in the old New Game now doesn't fall too far down anymore
- Scripts adjusted to match the new gender functionality
2021-10-01 15:19:04 +02:00
Jasper "JappaWakka" Speelman 073ed91356 NPCs can get on and off chairs
The Y Position of an NPC when moving is now a Single (instead of an integer), allowing for NPCs to climb on and off chairs without their Y Position being rounded down.
2021-09-25 13:32:09 +02:00
Jasper "JappaWakka" Speelman 425a336401 Typo fix in code
AnimationDelayLenght
is now
AnimationDelayLength
2021-09-25 13:28:15 +02:00
JappaWakka 9244a18653 [Overworld Pokémon Fix]
Fixed OverworldPokemon from continuing to walk infinitely when pausing the game, opening a chat window or while the current screen is any other screen than OverworldScreen
2021-01-21 10:35:51 +03:00
Daniel S. Billing d18c44ef23 Minor oprator changes 2021-01-08 22:35:33 +01:00
CaptainSegis 7b8e781dce - Added missing houses in Six and Seven Island.
- Implemented @NPC.dance and @Player.dance commands.
- Implemented the CameraDistanceDelta tag, which allows entity CD to be adjusted manually.
2018-08-28 19:34:58 -05:00
nilllzz fcdcbad6c9 fix music, always summer/day in main menu 2018-02-24 01:20:42 +01:00
nilllzz a1786d5181 literally touch every file reorganizing the solution 2018-02-21 16:34:06 +01:00