From 282c08bf724899519312688bbd294eba99d94652 Mon Sep 17 00:00:00 2001 From: padz Date: Mon, 23 Jul 2012 01:24:37 -0400 Subject: [PATCH 1/2] fix local pointers in map headers --- main.asm | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/main.asm b/main.asm index bcf48b460..6cc283188 100644 --- a/main.asm +++ b/main.asm @@ -32872,6 +32872,9 @@ UnknownScript_0x6cfac: ; 0x6cfac closetext loadmovesprites applymovement $4, MovementData_0x6d267 +; 0x6d073 + +UnknownScript_0x6d073: ; 0x6d073 disappear $4 applymovement $0, MovementData_0x6d271 end @@ -33688,8 +33691,8 @@ TeamRocketBaseB2F_MapEventHeader: ; 0x6de44 xy_trigger 0, $d, $4, $0, UnknownScript_0x6d08b, $0, $0 xy_trigger 1, $b, $e, $0, UnknownScript_0x6cf95, $0, $0 xy_trigger 1, $b, $f, $0, UnknownScript_0x6cf9c, $0, $0 - xy_trigger 2, $c, $e, $0, $5075, $0, $0 - xy_trigger 2, $c, $f, $0, $5075, $0, $0 + xy_trigger 2, $c, $e, $0, UnknownScript_0x6d073, $0, $0 + xy_trigger 2, $c, $f, $0, UnknownScript_0x6d073, $0, $0 xy_trigger 2, $3, $c, $0, UnknownScript_0x6d07a, $0, $0 xy_trigger 2, $a, $c, $0, UnknownScript_0x6d07a, $0, $0 xy_trigger 2, $b, $c, $0, UnknownScript_0x6d07a, $0, $0 @@ -40581,6 +40584,9 @@ UnknownScript_0x751e4: ; 0x751e4 UnknownScript_0x751e7: ; 0x751e7 moveperson $5, $14, $6 +; 0x751eb + +UnknownScript_0x751eb: ; 0x751eb appear $5 applymovement $5, MovementData_0x7521b playsound $0041 @@ -40767,7 +40773,7 @@ FastShip1F_MapEventHeader: ; 0x754f1 ; xy triggers db 2 - xy_trigger 2, $6, $18, $0, $51eb, $0, $0 + xy_trigger 2, $6, $18, $0, UnknownScript_0x751eb, $0, $0 xy_trigger 2, $6, $19, $0, UnknownScript_0x751e7, $0, $0 ; signposts @@ -44716,6 +44722,9 @@ UnknownScript_0x78f0c: ; 0x78f0c UnknownScript_0x78f12: ; 0x78f12 applymovement $0, MovementData_0x78f72 +; 0x78f16 + +UnknownScript_0x78f16: ; 0x78f16 applymovement $0, MovementData_0x78f74 spriteface $7, $2 loadfont @@ -45471,7 +45480,7 @@ ElmsLab_MapEventHeader: ; 0x7a3de db 8 xy_trigger 1, $6, $4, $0, UnknownScript_0x78c65, $0, $0 xy_trigger 1, $6, $5, $0, UnknownScript_0x78c65, $0, $0 - xy_trigger 3, $5, $4, $0, $4f16, $0, $0 + xy_trigger 3, $5, $4, $0, UnknownScript_0x78f16, $0, $0 xy_trigger 3, $5, $5, $0, UnknownScript_0x78f12, $0, $0 xy_trigger 5, $8, $4, $0, UnknownScript_0x78e7f, $0, $0 xy_trigger 5, $8, $5, $0, UnknownScript_0x78e8e, $0, $0 @@ -45529,6 +45538,9 @@ UnknownScript_0x7a4d7: ; 0x7a4d7 UnknownScript_0x7a4d8: ; 0x7a4d8 setbit1 $0000 +; 0x7a4db + +UnknownScript_0x7a4db: ; 0x7a4db playmusic $004e showemote $0, $2, 15 spriteface $0, $2 @@ -45902,7 +45914,7 @@ KrissHouse1F_MapEventHeader: ; 0x7ab31 ; xy triggers db 2 xy_trigger 0, $4, $8, $0, UnknownScript_0x7a4d8, $0, $0 - xy_trigger 0, $4, $9, $0, $64db, $0, $0 + xy_trigger 0, $4, $9, $0, UnknownScript_0x7a4db, $0, $0 ; signposts db 4 @@ -95591,6 +95603,9 @@ UnknownScript_0x19c0a4: ; 0x19c0a4 UnknownScript_0x19c0aa: ; 0x19c0aa moveperson $3, $27, $7 +; 0x19c0ae + +UnknownScript_0x19c0ae: ; 0x19c0ae spriteface $0, $3 showemote $0, $0, 15 special $006a @@ -96042,7 +96057,7 @@ CherrygroveCity_MapEventHeader: ; 0x19c829 ; xy triggers db 2 - xy_trigger 1, $6, $21, $0, $40ae, $0, $0 + xy_trigger 1, $6, $21, $0, UnknownScript_0x19c0ae, $0, $0 xy_trigger 1, $7, $21, $0, UnknownScript_0x19c0aa, $0, $0 ; signposts From 2e4938e3f7a922f7c6970b41c7d727bb759ca1c0 Mon Sep 17 00:00:00 2001 From: padz Date: Mon, 23 Jul 2012 11:07:11 -0400 Subject: [PATCH 2/2] correcting previous commit --- main.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.asm b/main.asm index 6cc283188..d464a6645 100644 --- a/main.asm +++ b/main.asm @@ -32872,10 +32872,10 @@ UnknownScript_0x6cfac: ; 0x6cfac closetext loadmovesprites applymovement $4, MovementData_0x6d267 -; 0x6d073 - -UnknownScript_0x6d073: ; 0x6d073 disappear $4 +; 0x6d075 + +UnknownScript_0x6d075: ; 0x6d075 applymovement $0, MovementData_0x6d271 end ; 0x6d07a @@ -33691,8 +33691,8 @@ TeamRocketBaseB2F_MapEventHeader: ; 0x6de44 xy_trigger 0, $d, $4, $0, UnknownScript_0x6d08b, $0, $0 xy_trigger 1, $b, $e, $0, UnknownScript_0x6cf95, $0, $0 xy_trigger 1, $b, $f, $0, UnknownScript_0x6cf9c, $0, $0 - xy_trigger 2, $c, $e, $0, UnknownScript_0x6d073, $0, $0 - xy_trigger 2, $c, $f, $0, UnknownScript_0x6d073, $0, $0 + xy_trigger 2, $c, $e, $0, UnknownScript_0x6d075, $0, $0 + xy_trigger 2, $c, $f, $0, UnknownScript_0x6d075, $0, $0 xy_trigger 2, $3, $c, $0, UnknownScript_0x6d07a, $0, $0 xy_trigger 2, $a, $c, $0, UnknownScript_0x6d07a, $0, $0 xy_trigger 2, $b, $c, $0, UnknownScript_0x6d07a, $0, $0