diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2015-07-18 23:45:39 -0400 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2015-07-18 23:45:39 -0400 |
commit | 60cd04b02300c288a01a2f78a44cb39cbe6861d1 (patch) | |
tree | ef5bb2bd660a2020864c909fb5dda73f027a9e7c /engine/movement.asm | |
parent | e674869018ffe8f9be2351b2b569eb7300910e6a (diff) |
Trainer data structure and field move functions
Trainer data in map scripts is now a macro-defined structure.
Field move functions in main.asm are now nearly completely annotated, with local references.
Trailing white space deleted.
Diffstat (limited to 'engine/movement.asm')
-rw-r--r-- | engine/movement.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/movement.asm b/engine/movement.asm index 775406494..f1ab0ec77 100644 --- a/engine/movement.asm +++ b/engine/movement.asm @@ -130,7 +130,7 @@ Movement_step_wait5: ; 5145 ld hl, $000b add hl, bc ld [hl], $4 - call Function505e + call GetMovementByte ld hl, $000a add hl, bc ld [hl], a @@ -150,7 +150,7 @@ Function516a: ; 516a ld hl, $000c add hl, bc ld [hl], a - call Function505e + call GetMovementByte ld hl, $000a add hl, bc ld [hl], a @@ -174,7 +174,7 @@ Function5189: ; 5189 ; 5196 Function5196: ; 5196 - call Function505e + call GetMovementByte ld hl, $000a add hl, bc ld [hl], a @@ -228,7 +228,7 @@ Function51db: ; 51db ld hl, $001b add hl, bc ld [hl], $0 - call Function505e + call GetMovementByte ld hl, $000a add hl, bc ld [hl], a @@ -302,7 +302,7 @@ Movement_step_sleep: ; 5242 ; parameters: ; duration (DecimalParam) - call Function505e + call GetMovementByte jr Function5247 Function5247: ; 5247 @@ -411,7 +411,7 @@ Movement_step_shake: ; 52d5 ; parameters: ; displacement (DecimalParam) - call Function505e + call GetMovementByte call Function5565 jp Function5065 ; 52de |