Help:Patching the motorcycle area checks: Difference between revisions
Help:Patching the motorcycle area checks (view source)
Revision as of 18:33, 25 September 2018
, 6 years ago<pre> -> armasm
imported>Leoetlino |
imported>Leoetlino m (<pre> -> armasm) |
||
Line 66: | Line 66: | ||
Same climate based check as above, but done in a different RideMgr function. Just change: | Same climate based check as above, but done in a different RideMgr function. Just change: | ||
< | <source lang="armasm">.text:0000007100679650 TBNZ W8, #0, loc_710067965C</source> | ||
to: | to: | ||
< | <source lang="armasm">.text:0000007100679650 B loc_710067965C</source> | ||
=== Refusing to spawn when in a blacklisted climate === | === Refusing to spawn when in a blacklisted climate === | ||
Line 85: | Line 85: | ||
Patch: | Patch: | ||
< | <source lang="armasm">.text:0000007100679BA8 CBZ X0, loc_7100679BD8</source> | ||
to: | to: | ||
< | <source lang="armasm">.text:0000007100679BA8 B loc_7100679BD8</source> | ||
so that the game always executes the code inside of the if block. | so that the game always executes the code inside of the if block. | ||
Line 113: | Line 113: | ||
Change: | Change: | ||
< | <source lang="armasm">.text:000000710067B5FC CBZ X0, loc_710067B62C</source> | ||
to: | to: | ||
< | <source lang="armasm">.text:000000710067B5FC B loc_710067B62C</source> | ||
to make the game always return “true”. | to make the game always return “true”. | ||