Update hardware.inc to 5.1.0
This commit is contained in:
@@ -1648,10 +1648,10 @@ Then edit `SurfStartStep` in [engine/overworld/player_object.asm](https://github
|
||||
- slow_step UP
|
||||
- slow_step LEFT
|
||||
- slow_step RIGHT
|
||||
+ db D_DOWN, 0, -1
|
||||
+ db D_UP, 0, -1
|
||||
+ db D_LEFT, 0, -1
|
||||
+ db D_RIGHT, 0, -1
|
||||
+ db PAD_DOWN, 0, -1
|
||||
+ db PAD_UP, 0, -1
|
||||
+ db PAD_LEFT, 0, -1
|
||||
+ db PAD_RIGHT, 0, -1
|
||||
```
|
||||
|
||||
This fix will make the player enter the water at a normal walking speed, not with a slow step.
|
||||
|
@@ -54,7 +54,7 @@ tools/make_patch pokecrystal11_vc.sym pokecrystal11_vc.gbc pokecrystal11.gbc vc/
|
||||
|
||||
Hooks are defined with the `vc_hook` macro, which defines a label starting with "`.VC_`" for the patch template file to use.
|
||||
|
||||
**Patches** directly modify the contents of the ROM. This is done before emulation begins. For example, the `print_forbid_1` patch modifies an "`and A_BUTTON`" instruction to "`and 0`", so pressing A will not print Unown on the Game Boy Printer.
|
||||
**Patches** directly modify the contents of the ROM. This is done before emulation begins. For example, the `print_forbid_1` patch modifies an "`and PAD_A`" instruction to "`and 0`", so pressing A will not print Unown on the Game Boy Printer.
|
||||
|
||||
Patches are defined with the `vc_patch` and `vc_patch_end` macros; `vc_patch` defines a label starting with "`.VC_`", `vc_patch_end` defines a corresponding label with "`_End`" appended. Between these two macros, the code or data is conditionally different depending on whether or not a patch file is being built.
|
||||
|
||||
|
Reference in New Issue
Block a user