Fitz24 Posted August 30, 2011 Share Posted August 30, 2011 (edited) So I'm working on some events, all are running smoothly as I programmed but when I attempt to move a character and click "wait", the character freezes, not the game, the character. Is it a ROM borkage or something aside from that like events being weird? [spoiler=Events] #define DISABLE_TUTORIALS #include EAstdlib.event #include definitions.txt EventPointerTable(0x09,Pointers) org 0x01007DC0 Pointers: POIN Turn_events POIN Character_events POIN Location_events POIN Misc_events POIN BallistaData BallistaData POIN Bad Bad Bad Bad POIN Good Good Good Good POIN Opening_event Ending_event Bad: UNIT 0x9A brigand 0x0 enemy2auto [10,5] [12,6] [ironAxe,0x0,0x0,0x0] [defend] UNIT Good: UNIT scott 0x01 0x0 player1auto [1,6] [1,6] [0x0,0x0,0x0,0x0] [noai] UNIT martin mercenary 0x0 player1 [1,6] [2,7] [ironSword,Vulnerary,0x0,0x0] [noai] UNIT brock fighter 0x0 player1 [1,6] [1,8] [ironAxe,Vulnerary,0x0,0x0] [noai] UNIT fletcher paladin 0x0 player1 [1,6] [0,7] [silverSword,SteelSpear,Elixir,0x0] [noai] UNIT Turn_events: ALIGN 4 TURN 0x1 Opening_event [1,0] 0x0 0x0 TURN 0x2 Ending_event [0,0] 0x0 0x0 CODE $00 Character_events: CHAR Location_events: ALIGN 4 Village(0x8,vulner,5,2) Village(0x4,gold,14,7) Village(0x5,npc1,1,6) Village(0x6,npc2,6,6) Village(0x7,npc3,11,11) Armory(weaponshop,5,11) CODE $00 vulner: ALIGN 4 FADI 0x24 BACG 0x01 FADU 0x24 TEX1 0x81D REMA ENUN ITGV Vulnerary ENUN ENDA gold: ALIGN 4 FADI 0x24 BACG 0x01 FADU 0x24 TEX1 0x81E REMA ENUN MONE 0x4 0x5000 ENUN ENDA npc1: ALIGN 4 FADI 0x24 BACG 0x01 FADU 0x24 TEX1 0x81F REMA ENUN ENDA npc2: ALIGN 4 FADI 0x24 BACG 0x01 FADU 0x24 TEX1 0x820 REMA ENUN ENDA npc3: ALIGN 4 FADI 0x24 BACG 0x01 FADU 0x24 TEX1 0x821 REMA ENUN ENDA weaponshop: ALIGN 4 SHLI IronSword SlimSword IronAxe HandAxe Misc_events: ALIGN 4 CauseGameOverIfLordDies DefeatAll(Ending_event) AFEV Opening_event: ALIGN 4 MUS1 0x23 CAM1 [0,0] CURF [1,6] FADI 0x24 BACG 0x01 FADU 0x24 TEX1 0x81B REMA ENUN LOU1 allied LOU1 bandits ENUN TEX1 0x81C REMA ENUN ITGC scott IronSword ENUN ENDA allied: ALIGN 4 UNIT scott 0x01 0x0 player1auto [1,6] [1,6] [0x0,0x0,0x0,0x0] [noai] UNIT martin mercenary 0x0 player1 [1,6] [2,7] [ironSword,Vulnerary,0x0,0x0] [noai] UNIT brock fighter 0x0 player1 [1,6] [1,8] [ironAxe,Vulnerary,0x0,0x0] [noai] UNIT fletcher paladin 0x0 player1 [1,6] [0,7] [silverSword,SteelSpear,Elixir,0x0] [noai] UNIT bandits: ALIGN 4 UNIT 0x9A brigand 0x0 enemy2auto [10,5] [12,6] [ironAxe,0x0,0x0,0x0] [defend] UNIT Ending_event: ALIGN 4 MNCH 0x02 STAL 1 _0x1 ENDA BallistaData: BLST MESSAGE Events end at offset currentOffset//The map for this chapter is at offset: 01007900 Edited August 30, 2011 by Fitz24 Quote Link to comment Share on other sites More sharing options...
CT075 Posted August 30, 2011 Share Posted August 30, 2011 I dunno if it would cause a problem, but the put the ALIGN 4 code before the label, not after. ALIGN 4 Location_events: Village(0x8,vulner,5,2) Village(0x4,gold,14,7) Village(0x5,npc1,1,6) Village(0x6,npc2,6,6) Village(0x7,npc3,11,11) Armory(weaponshop,5,11) CODE $00 Like that. Quote Link to comment Share on other sites More sharing options...
Fitz24 Posted August 30, 2011 Author Share Posted August 30, 2011 (edited) No, that wasn't it. The weird thing was that "Align 4" wasn't there on my events sheet. Copy & Paste Fail. lol Still not sure, should I just re-do the events? EDIT: Deleted the whole location_events altogether aaaannnnd, oh lookie! It fixed it. Weird, eh? Edited August 30, 2011 by Fitz24 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.